Posts

Showing posts from July, 2017

Open Git Bash with default path

Image
Problem: Every-time I launch git bash I need to traverse to the work-space directory that I am working on.

Solution:

There are different ways you could do this:

the easiest is to Right click on the Windows shortcut that you use to launch git bash, and click Properties. Change the value of "Start In" to your desired workspace path


Or use ConEmu where you have a task for starting Git Bash like
Note the button "Startup dir..." in the bottom. It adds a -new_console:d: to the startup command of the Git Bash. Make it point to wherever you like
Or Add the line to the .bashrc file in the home directory (create the file if it doesn't exist):
cd ~ touch .bashrc echo "cd ~/Desktop/repos/">>.bashrc

Microsoft releases fuzz testing service for public use

What is it?

Fuzz testing (i.e. fuzzing) is a software testing technique that consists of inputing invalid, unexpected, or random data into to a computer program, to check whether it will crash, show memory leaks, etc. In short, it’s a shortcut for finding bugs that, if missed, could result in serious problems down the development road, as well as security problems for users.

What did Microsoft release?
Earlier called Project Springfield Microsoft Security Risk Detection Security Risk Detection is Microsoft's unique fuzz testing service for finding security critical bugs in software. Security Risk Detection helps customers quickly adopt practices and technology battle-tested over the last 15 years at Microsoft. READ SUCCESS STORIES How does Microsoft Security Risk Detection work?
How does it work?

Built on Azure and powered by artificial intellingence, Microsoft Security Risk Detection aims to uncover bugs and vulnerabilities in software before it is released or before it is used.
What…

Intriguing micro-services testing from Thoughtworks

One of the best ways to explain micro-services testing - Thoughtworks Testing Strategies in a Microservice Architecture There has been a shift in service based architectures over the last few years towards smaller, more focussed "micro" services. There are many benefits with this approach such as the ability to independently deploy, scale and maintain each component and parallelize development across multiple teams. However, once these additional network partitions have been introduced, the testing strategies that applied for monolithic in process applications need to be reconsidered.

The Bigger Picture - Agile Landscape

Image

From Delegates to Anonymous Delegates to Lambda

Image
"Delegate" is actually the name for a variable that holds a reference to a method
A delegate is comparable to a function-pointer; a "method handle" as an object, if you like, i.e.
Func<int,int,int> add =(a,b)=> a+b; is a way of writing a delegate that I can then call. Delegates also underpin eventing and other callback approaches.
Anonymous methods are the 2.0 short-hand for creating delegate instances, for example:someObj.SomeEvent

.gitignore templates for all programming languages

Image