Skip to content

Instantly share code, notes, and snippets.

View varjmes's full-sized avatar
🏳️‍🌈

James varjmes

🏳️‍🌈
View GitHub Profile
@kamaljoshi
kamaljoshi / check_cloudflare.rb
Last active May 27, 2017 21:57
This script collects domains from your Chrome history for the default profile and checks to see if they are being proxied through Cloudflare by checking presence of a header.
# Except sqlite3 all the libraries are standard that should be present with a Ruby installation.
# If you don't have sqlite3 installed. Use `gem install sqlite3`
require 'fileutils'
require 'sqlite3'
require 'uri'
require 'net/http'
require 'set'
require 'thread'
@zmagg
zmagg / leaving.md
Last active May 5, 2016 08:30
strategies i've used to leave projects without quitting

I consider myself reasonably OK at leaving projects without quitting, at Etsy. That's an important qualifier, as Etsy as an organization is very comfortable with diving deep to understand code and systems and co-debugging and generally what Julia would call, "becoming wizards together". Because of that, I've not found a lot of organizational pressure to stay on a project as the solo expert when you're ready to leave.

Some strategies I've used that have worked to wrap up work on a project and move onto a new one.

  • Go on a vacation. One week is frequently sufficient. Create the bus factor for yourself. Observe the things you do leading up to being gone for a week: probably you're meeting with coworkers to sync knowledge, or writing more documentation, or possibly even presenting exceptionally gnarly part of the system that you worked on. You can preemptively do these things even if you don't go on vacation, but I find being entirely disconnected an important part of demonstrating your trust in other peo
# Change your settings file to this:
SECRET_KEY = os.environ.get('SECRET_KEY', 'MY_DEFAULT_KEY')
# Export the SECRET_KEY variable like in the terminal like so:
$ export SECRET_KEY=my_secret_key_here
@andrew
andrew / confkick.md
Last active December 16, 2015 19:28

ConfKick

A community funded event sponsor

Description

ConfKick makes it possible for individuals to sponsor confernces and meetups focused, to begin with, on developer events.

A user can pledge an amount towards a conference/meetup/hackday as a token sponsorship, often a lot less than the price of a ticket to attend the event.