Monday 28 May 2012

Samba change password

To change your network password, use Samba:

smbpassword -r -U

NB:  There are spaces between the arguments and the values.

Tuesday 22 May 2012

Delete remote branch

To delete a branch, you must remove it locally and remotely.

Locally:

git branch -d   (this ensures the branch is fully merged elsewhere)

or

git branch -D   (this deletes the branch regardless of its merged status)

To delete the remote branch, use:

git push origin : 



Agent admitted failure to sign using the key.

After creating a new SSH key I found I needed to run: ssh-add ~/.ssh/id_rsa before I could authenticate using the key.

How to find out your SSH Fingerprint

The SSH fingerprint it a hash of your ssh key.  You can use it as a superficial method of comparing two SSH keys to check that they are (very probably) the same.

The command is: ssh-keygen -lf ~/.ssh/id_rsa.pub

Tuesday 14 February 2012

The version of Angular in the tutorials is 0.9.12, which doesn not support the select tag.

The line:

<script src="http://code.angularjs.org/angular-0.9.12.js" ng:autobind></script>

Needs to be:

<script src="http://code.angularjs.org/angular-0.9.19.js" ng:autobind></script>