I hereby claim:
- I am geopet on github.
- I am geopet (https://keybase.io/geopet) on keybase.
- I have a public key whose fingerprint is BAED EA4E 1DC0 3FB9 4DDF B97B 91AF 0D55 C8D6 57DC
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
const axios = require('axios'); | |
const yargs = require('yargs'); | |
const argv = yargs | |
.options({ | |
a: { | |
demand: true, | |
alias: 'address', | |
describe: 'Address to fetch weather for.', | |
string: true |
console.log('Starting app.'); | |
const fs = require('fs'); | |
const os = require('os'); | |
const user = os.userInfo(); | |
fs.appendFile('greetings.txt', `Hello, ${user.username}.`, function(err) { | |
if (err) { | |
console.log('Unable to write to file'); |
#!/usr/bin/env bash | |
cd | |
# remove current vim directories | |
rm -rf ~/.vim | |
rm -rf ~/.vimrc | |
rm -rf ~/.gvimrc |
#!/usr/bin/env bash | |
cd | |
sudo rm -rf /usr/local/bin/ruby | |
wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.3.tar.gz | |
tar -xzvf ruby-2.1.3.tar.gz | |
cd ruby-2.1.3 | |
./configure | |
make | |
sudo make install |
#!/usr/bin/env bash | |
cd | |
rm -rf ~/.vim | |
rm -rf ~/.vimrc | |
rm -rf ~/.gvimrc | |
git clone [email protected]:geopet/dotvim.git ~/.vim | |
ln -s ~/.vim/vimrc ~/.vimrc | |
ln -s ~/.vim/gvimrc ~/.gvimrc | |
cd ~/.vim |
require 'rubygems' | |
require 'interactive_editor' | |
require 'awesome_print' | |
AwesomePrint.irb! | |
IRB.conf[:PROMPT_MODE] = :SIMPLE | |
IRB.conf[:EVAL_HISTORY] = 1000 | |
IRB.conf[:SAVE_HISTORY] = 1000 |
[alias] | |
ff = merge --ff-only | |
[user] | |
email = [email protected] | |
name = Geoff Petrie | |
[color] | |
ui = true | |
[core] | |
editor = vim | |
[push] |
ZSH=$HOME/.oh-my-zsh | |
ZSH_THEME="geopet" | |
DISABLE_AUTO_TITLE="true" | |
plugins=( | |
git | |
colored-man | |
tmux | |
) |
#!/usr/bin/env bash | |
cd | |
git clone https://gist.github.com/8797857.git gitconfig | |
ln -s ~/gitconfig/.gitconfig ~/.gitconfig |