Quotes that resonate with me

Quotes that resonate with me

It is impossible for a man to learn what he thinks he already knows. — Epictetus

One often meets his destiny in the road he takes to avoid it. — Siddhartha

Nothing in the world is more dangerous than sincere ignorance and conscientious stupidity. — Martin Luther King, Jr.

The more one does and sees and feels, the more one is able to do. — Amelia Earhart

Continue reading “Quotes that resonate with me”

Advertisements

Create self-signed certificate to use with Azure PowerShell cmdlets

Create self-signed certificate to use with Azure PowerShell cmdlets

For those who are trying to figure out how to create a self-signed certificate for the purpose of running Powershell scripts to manage Azure account, check out Raph’s article on how to create certificate to use with Azure. Raph is a driven Readify consultant and a good mate, currently working with me at Barnardos on MyStory project.

If you are going to be running the Powershell script from any other machine than the one you created the cert from, you will need to install the certificate on those machines. To install it, you need to first export the cert as a pfx with a strong password and import it in the  machine that you want to run the script from.

How are Azure VM and Cloud Services related?

How are Azure VM and Cloud Services related?

Recently, I was experimenting with moving local TeamCity Build Server and Agents to the Azure. Every time I created a VM, I was faced with the question of creating a new cloud service or using an existing one. I simply went with creating a new one, until I needed to perform Azure Scaling. Then i came to know, it is easier to do that when VM’s are part of the same cloud service.

The question that kept bugging me was, how does the traditional cloud service (the one with worker and web role and 2 instances) relate to a cloud service that has many VM’s for the purpose of scaling and load balancing? Ultimately, aren’t cloud services and VM’s separate things?

The article by Planky at MSDN Blogs answers these two questions it in detail.

Neo4J 2 – Understanding Collections

Neo4J 2 – Understanding Collections

In Cypher, to fetch a Person with their email addresses and phone numbers, you might write a straight forward query like this:

MATCH (person:Person)
MATCH person-[:HAS_EMAIL]->email
MATCH person-[:HAS_PHONE]->phone
RETURN person,
       collect(distinct email),
       collect(distinct phone)

In this article, we will try to get a better understanding of collections in Cypher. At first, we will look under the hood to see how this query is run, understand why it is an expensive job and finally, how we can optimise it and avoid this undesired behaviour in the future.

Continue reading “Neo4J 2 – Understanding Collections”