Skip to content

Instantly share code, notes, and snippets.

Jesse Dearing jessedearing

Block or report user

Report or block jessedearing

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@detiber
detiber / README.md
Last active Dec 21, 2018
Cluster API Provider AWS Demo
View README.md

Cluster API Provider AWS Demo script

Pre-demo Prep

Build and install the artifacts

make clean
export DEV_DOCKER_REPO=gcr.io/$(gcloud config get-value project)
make clusterctl clusterawsadm docker-build-dev docker-push-dev
@yanofsky
yanofsky / tweet_dumper.py
Last active Feb 24, 2020
A script to download all of a user's tweets into a csv
View tweet_dumper.py
#!/usr/bin/env python
# encoding: utf-8
import tweepy #https://github.com/tweepy/tweepy
import csv
#Twitter API credentials
consumer_key = ""
consumer_secret = ""
access_key = ""
View id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA4n/M/hGnsDZgrJ6acSstQ0+HuhF/iZziU/nXR35vZn4tWFU/3UgDS2/7kQM1KMFVdkbzUv2VmoHPEI3XWGIBn6a8aBDwoJvXDfuepXvBnhERkRair/53uD8qseG9djxpbkudO2eJPSyR9678aTjb5jkzErM1cwFdT126JnrzlnYpl79lscTMfbzjY1gGtW/2UC5qgqS4+nQHgVFi9d9EmWFnUM4hPQV3SQtqsA76uqtChjrTCGFJ/FqSg2fO+SWpqE8BKoROa1Ad0CVPSBqpO7UdDNadIyzR3G0ZTyLLqb7E25qDs9eGg1ZyaARmZmtsOAEKQUVy6Hdy7wcYDy+9kw== jesse.dearing@gmail.com
@erikh
erikh / hack.sh
Created Mar 31, 2012 — forked from DAddYE/hack.sh
OSX For Hackers
View hack.sh
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@bryanveloso
bryanveloso / brew-services.rb
Created Dec 8, 2011 — forked from lwe/brew-services.rb
External script for homebrew to simplify starting services via launchctl, out of the box support for any formula which implements #startup_plist. (This version fixes the deprecation warning raised on Formula.resolve_alias.)
View brew-services.rb
#!/usr/bin/env ruby -w
# brew-services(1) - Easily start and stop formulas via launchctl
# ===============================================================
#
# ## SYNOPSIS
#
# [<sudo>] `brew services` `list`<br>
# [<sudo>] `brew services` `restart` <formula><br>
# [<sudo>] `brew services` `start` <formula> [<plist>]<br>
View vim cheatsheet.md

#Vim Cheat Sheet

  • gqip - Reformats paragraph to textwidth
  • gq - Reformats selection
  • :Tab /= - Equally spaces based on the = symbol (requires Tabular vim plugin)
  • :setf language - Changes current language
  • :set language=language - Changes current language
  • <C-a> - Increments the number under the cursor
  • <C-x> - Decrements the number under the cursor
  • ~ - Toggles case and moves to next character in normal mode
View campfire-emoji.txt
Surround these with : e.g. :calling:
+1
-1
bulb
calling
clap
cop
email
feet
@dnagir
dnagir / rspec-syntax-cheat-sheet.rb
Created Nov 5, 2010
RSpec 2 syntax cheat sheet by example
View rspec-syntax-cheat-sheet.rb
# RSpec 2.0 syntax Cheet Sheet by http://ApproachE.com
# defining spec within a module will automatically pick Player::MovieList as a 'subject' (see below)
module Player
describe MovieList, "with optional description" do
it "is pending example, so that you can write ones quickly"
it "is already working example that we want to suspend from failing temporarily" do
pending("working on another feature that temporarily breaks this one")
View gist:206253
# unicorn_rails -c /data/github/current/config/unicorn.rb -E production -D
rails_env = ENV['RAILS_ENV'] || 'production'
# 16 workers and 1 master
worker_processes (rails_env == 'production' ? 16 : 4)
# Load rails+github.git into the master before forking workers
# for super-fast worker spawn times
preload_app true
You can’t perform that action at this time.