I hereby claim:
- I am evanemolo on github.
- I am evanemolo (https://keybase.io/evanemolo) on keybase.
- I have a public key ASBziQXp_jHesm2CgC_mSF-e2XADdM4wtiptuwkJZ_x8KQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/* global require process */ | |
const readline = require('readline'); | |
const log = console.log; | |
class TicTacToe { | |
static get combos() { | |
return [ | |
// rows |
import sublime | |
import sublime_plugin | |
status_key = 'AlwaysShowFilenameOnStatusBar' | |
class AlwaysShowFilenameOnStatusBar(sublime_plugin.EventListener): | |
def on_activated(self, view): | |
global status_key | |
filePath = view.file_name() |
# Customer Check-in Script | |
import requests | |
def init(): | |
checkin_type = raw_input('Enter 1 for "points" or 2 for "punches": ') | |
new_customer_data = create_customer() | |
if checkin_type == '1': | |
checkin_customer('points', new_customer_data) |
Install Python
$ brew install readline sqlite gdbm --universal
$ brew install python --universal --framework
$ python --version
Python 2.7
Symlinks...
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Blue Component</key> | |
<real>0.19370138645172119</real> | |
<key>Green Component</key> | |
<real>0.15575926005840302</real> |
#!/bin/zsh | |
# Rubygems | |
sudo gem update | |
sudo gem update --system | |
gem cleanup | |
# Node Package Manager | |
sudo npm update -g | |
sudo npm update npm -g |
# Scrape a series of webpages for a given URL. Add the URL at the CLI while | |
# running the _scrape.py file. | |
from sys import argv | |
import requests | |
import os | |
exercises = range(0, 53) | |
# Scrape the page |
[user] | |
name = Evan Emolo | |
email = i_am@evanemolo.com | |
[core] | |
excludesfile = ~/.gitignore_global | |
editor = sublime -n -w | |
[color] | |
branch = auto | |
diff = auto |
# EE Prompt | |
function git_prompt_info() { | |
ref=$(git symbolic-ref HEAD 2> /dev/null) || return | |
echo "$(parse_git_dirty)$ZSH_THEME_GIT_PROMPT_PREFIX$(current_branch)$ZSH_THEME_GIT_PROMPT_SUFFIX" | |
} | |
function get_pwd() { | |
print -D $PWD | |
} |