Instantly share code, notes, and snippets.

Kerry Snyder krry

View GitHub Profile
View kamadhenu
# Kamadhenu
# https://www.wikiwand.com/en/Kamadhenu
#
# the holy cow speaketh
#
# for OSX, possible to port to Linux
brew install figlet cowsay lolcat fortune
git clone https://github.com/krry/cowsay-files
View global-preset.css
* {
/* de-pixelates light text on dark backgrounds */
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: subpixel-antialiased;
text-rendering: geometricPrecision;
/* optimizeSpeed turns kerning & ligatures off, optimizeLegibility turns them on */
/* geometricPrecision prevents browsers from rounding partial font sizes */
}
View path-to-arrival.css
@import url('https://fonts.googleapis.com/css?family=Montserrat');
.tl-embedded-timeline {
overflow: hidden;
width: 100%;
height: 100vh;
}
.tl-font, .tl-font-head, .tl-font-body {
font-family: "Montserrat", "Futura", "Trebuchet MS", sans-serif !important;
View tweet_dumper.py
# Grap multiple user's user_timeline from twitter API and save to Excel
# Code will be save user's tweet ID, created Time, Coordinates-x, Coordinates-y, source, text. Can be modified at line 48 and so on
# Original code from https://gist.github.com/yanofsky/5436496 "A script to download all of a user's tweets into a csv"
import xlsxwriter
import tweepy
#https://github.com/tweepy/tweepy
consumer_key = "Your_consumer_key"
View gist:4d658898cee73caee9fd
/* Random Boolean */
var randomNumber = Math.random() >= 0.5;
console.log(randomNumber);
View .gitignore_global
.DS_Store
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz
pids
View config.json
{
"vars": {
"@gray-darker": "#333333",
"@gray-dark": "#5f5f5f",
"@gray": "#808080",
"@gray-light": "#d9d9d9",
"@gray-lighter": "#e6e6e6",
"@brand-primary": "#008752",
"@brand-success": "#13ab4a",
"@brand-info": "#59b0e0",
View Piperita.terminal
<?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>ANSIBlackColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPECcw
LjI5OTE1MzMyNzkgMC4yOTkyNTI0NTA1IDAuMjk5MTAwMzY5MgAQAYAC0hAREhNaJGNs
YXNzbmFtZVgkY2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hp
View Preferences.sublime-settings
{
"auto_complete_commit_on_tab": false,
"bold_folder_labels": true,
"caret_extra_bottom": 0,
"caret_extra_top": 2,
"caret_extra_width": 1,
"caret_style": "phase",
"close_windows_when_empty": true,
"draw_centered": false,
"draw_white_space": "all",
View Canseco: A Juiced-up Bash Profile
###########################################################
#
# CANSECO
# a World Series-class .bashrc file
#
# Canseco draws from a few others' shell profiles, namely:
# killfall's ===> https://github.com/killfall/terminal-piperita
# and another couple I can't place at the moment
#
###########################################################