# init dict
stuff = {
'name': 'Zed',
'age': 39
}
stuff['city'] = "San Francisco" # inserts are constant time
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git clone $myrepo.git | |
| # bring repo up to date | |
| git checkout master | |
| git pull | |
| # change to PR branch | |
| git checkout reorg_issues_dir | |
| # move test out of the "new folder" created in PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| class Ghost | |
| attr_accessor :haunted | |
| def initialize (loc = "house") | |
| @locations = loc | |
| @haunted = 1 | |
| end | |
Here's the order that I'd suggest (feel free to jump around as best for you)
Ref: https://gist.github.com/jctosta/af918e1618682638aa82
apt-get install screen
(optional) For Azure, use az cli to write a local SSH configfor your user to use SSO creds
az ssh config --ip 1.2.3.4 --file az_ssh_config
This will automatically use your (ephemeral) Azure keypair generated above for SSH connections. You will have to regenerate those based on their expiry