journal
all ![]() | Rob is 20,134 days old today. |
Feb 2015 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
Apr 2015 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 2014 jan feb mar apr may jun jul aug sep oct nov dec
2016 jan feb mar apr may jun jul aug sep oct nov dec |< << more >> >| |
Entries this day: netlify-now-does-git-clone---recursive set-up-new.robnugen.com-on-dh netlify now does git clone recursive ##07:16 Saturday 07 March 2015 JST## As of yesterday, I noticed that Netlify added --recursive to their clone process. Yay! I like to think it was because of my suggestion that they do it. If not, it's pretty amazing timing! Thanks, Mathias! permalinkset up new.robnugen.com on dh ##21:02 Friday 06 March 2015 JST## How I set up new sites on Dreamhost (shared hosting, not their new Dreamcompute)From their panel -> Domains -> Manage Domains -> Add Hosting to a Domain / Sub-domain fill in the blanks, including create a new user Make sure the new user is a shell user at https://panel.dreamhost.com/index.cgi?tree=users.users Create a new ssh key for the new site ssh-keygen Enter the domain as the key filename Move the keypair to scp the public key to the new machine ssh into the new machine and move the key to ~/.ssh mkdir ~/.ssh chmod 700 ~/.ssh Move the public key to ~/.ssh/authorized_keys chmod 400 ~/.ssh/authorized_keys Make alias ls='ls --color=auto' alias gitd='git diff -b' alias gitl='git log --oneline --graph --decorate --all' alias gits='git status' Append this to ~/.bash_profile` if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases fi EDITOR=/usr/bin/emacs export EDITOR Edit *~ .cache logs/ .ssh/ .bash_history example.com Set up git: git config --global core.excludesfile ~/.gitignore git config --global user.name "Rob Nugen" git config --global user.email rob@example.com Log out of the new machine On local machine: Append something like the following to Host example HostName example.com User example IdentityFile ~/.ssh/example.com Now ssh into the site: ssh example Enter password for the ssh key and you should be in. Fri Mar 6 22:32:43 2015 +0900commit 5a081754d37deaccc79ebb26144ebdc4a63f32e5 Author: Rob Nugen Date: Fri Mar 6 22:32:43 2015 +0900 Can now use 'middleman deploy' to deploy to new.robnugen.com And they say there will never be a hash collision on git, so I could just write "woohoo! check out the meta data at git hash 5a081754d37deaccc79ebb26144ebdc4a63f32e5!" if there ever ends up being a master list of all git hashes created. permalinkprev day next day |