Skip to content

Instantly share code, notes, and snippets.

# Bullet Train theme for iTerm 2 install
$ git clone https://github.com/powerline/fonts.git
$ cd fonts
$ ./install.sh
$ cd ~/.oh-my-zsh/custom/themes
$ curl -O https://raw.githubusercontent.com/caiogondim/bullet-train-oh-my-zsh-theme/master/bullet-train.zsh-theme
$ vim ~/.zshrc
@Jestre
Jestre / keybase.md
Created February 5, 2016 13:23
Keybase Proof of Identity

Keybase proof

I hereby claim:

  • I am jestre on github.
  • I am scottschulz (https://keybase.io/scottschulz) on keybase.
  • I have a public key ASBsq26Q6AdVnoLxGFxM-0myfG8jgycDPZTmkHUrZCxu7wo

To claim this, I am signing this object:

@Jestre
Jestre / gist:ca0d93e139d2a7d7ae1f
Last active August 29, 2015 14:01
Public Counters for the Numerous App
use Term::ANSIColor;
#Open a text file with a list of users to highlight
open our $handle, '<', "/home/<your username>/tweetersToHighlight.txt";
chomp(our @customConsole = <$handle>);
#Convert array to hash/dictionary
our %users = map { $_ => 1 } @customConsole;
close $handle;
#Setup ttytter hook
$handle = sub {
@Jestre
Jestre / gist:6443965
Created September 4, 2013 23:00
Take 2 on lucpet's function
def shit_happens(num):
""" (num)
Take 2 on lucpet's function.
This one takes a num, adds it to itself, and then compares
it to various static numbers.
>>> shit_happens(3)
woo hoo
@Jestre
Jestre / s_h.py
Created September 4, 2013 22:49
lucpet's function
def shit_happens():
if 2 + 2 >= 5:
#if shit happens, do this
print('woo hoo')
elif 2 + 2 >= 4:
#if that last didn't happen, do this
print('yay')
else:
"""
If none of that happened, do this