To install a client product key, open an administrative command prompt on the client, and run the following command and then press Enter:
slmgr /ipk <product key>
git config --global user.name "Angelfirenze" | |
git config --global user.email "[email protected]" | |
git config --global core.autocrlf true | |
git config --global push.default simple | |
git config --global pull.rebase true | |
git config --global rerere.enabled true | |
git config --global color.ui true | |
git config --global alias.s "status -s" | |
git config --global alias.lg "log --oneline --decorate --all --graph" | |
git config --global credential.helper wincred |
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.
amn() { | |
if [ $# -ge 1 -a ! -f $1 ]; then | |
input=$(cat -) | |
temp=$(mktemp) | |
echo $input > $temp | |
curl -sF "file=@$temp;filename=xyz.$1" https://amnesia.im | |
rm $temp | |
elif [ $# -ge 1 -a -f $1 ]; then | |
curl -sF "file=@$1" https://amnesia.im | |
else |
Make sure you have installed Homebrew and (Homebrew-Cask)[http://caskroom.io/].
# Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install Homebrew-cask
brew install caskroom/cask/brew-cask
Let's use Terraform to easily get a CoreOS cluster up on Digital Ocean. In this example we will get a 5 node CoreOS cluster up and running on the Digital Ocean 8GB size.
Grab a copy of Terraform for your platform from http://www.terraform.io/downloads.html. Follow the instructions at http://www.terraform.io/intro/getting-started/install.html by getting Terraform in your PATH
and testing that it works.
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
interactive = auto | |
ui = true | |
pager = true | |
[color "branch"] | |
current = yellow reverse |
#!/bin/bash | |
while : | |
do | |
clear | |
git --no-pager log --graph --pretty=oneline --abbrev-commit --decorate --all $* | |
sleep 1 | |
done |