Skip to content

Instantly share code, notes, and snippets.

View chrismessina's full-sized avatar
:atom:
Tap tap tapping

Chris Messina chrismessina

:atom:
Tap tap tapping
View GitHub Profile
@bcardarella
bcardarella / twitter_quitter_lister.rb
Created May 30, 2011 18:29
Quickly find out who among the people you follow are not following you back
require 'twitter'
# You'll need to get this info from your Twitter Developer account
Twitter.configure do |config|
config.consumer_key = YOUR_CONSUMER_KEY
config.consumer_secret = YOUR_CONSUMER_SECRET
config.oauth_token = YOUR_OAUTH_TOKEN
config.oauth_token_secret = YOUR_OAUTH_TOKEN_SECRET
end
@pamelafox
pamelafox / email_logger.py
Created September 15, 2011 17:52
Email Logging for App Engine
#!/usr/bin/env python
#
# based on XMPPLoggingHandler, Copyright 2011 Calvin Rien,
# based on ExceptionRecordHandler, Copyright 2007 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
@PaulKinlan
PaulKinlan / dataUriForStylesheet.js
Created March 8, 2011 01:11
Add dataURI styleshhet
var toDataURI = function(datatype, data) {
return "data:" + datatype +";base64," + window.btoa(data);
};
var renderStyleSheet = function() {
var link = document.createElement("link");
link.rel = "stylesheet";
link.href = toDataUri("text/css", "body { background-color: red;}" );
document.head.appendChild(link);
};
@mreinhardt
mreinhardt / espresso_libre.css
Created September 9, 2011 20:16
Espresso Libre CSS translation for Chrome Inspector
/*
Espresso Libre by Mike Reinhardt 2011
based on Espresso Libre - by zolli -
http://www.eclipsecolorthemes.org/?view=theme&id=45
Inspired by Ben Truyman's IR_Black translation
and Darcy Clarke's blog post:
http://darcyclarke.me/design/skin-your-chrome-inspector/
*/
anonymous
anonymous / gist:67e446e0ea9899173b1416afa5efc87b
Created January 25, 2017 20:07
TRUMP EXECUTIVE ORDER - BORDER SECURITY AND IMMIGRATION ENFORCEMENT IMPROVEMENTS
THE WHITE HOUSE
Office of the Press Secretary
For Immediate Release January 25, 2017
EXECUTIVE ORDER
rm(list=ls())
library(ggplot2)
library(ggmap)
library(plotKML)
cityMap <- qmap(location = 'san francisco', extent = 'device', zoom=12, source="google", maptype="terrain")
cityMap
kinds <- c('transport', 'walking', 'cycling')
colors <- c('#FF7400', '#1240AB', '#FFD300')
@simurai
simurai / README.md
Last active November 28, 2019 05:39
Atom for minimalists

For minimalist ❤️ ers

minimalist

Just you, your code and nothing else.... :meditatingbuddha:

@kofigumbs
kofigumbs / config.json
Last active December 19, 2020 22:42
Multi internal links
{
"tabs": [
{
"title": "Substack Reader",
"url": "https://reader.substack.com",
"customJs": ["https://gist.githubusercontent.com/kofigumbs/4a9708a35807dd16f2541dc3204d6a25/raw/1579800b262aee48a3c731e0f00e3ce2d20cca01/link.js"]
}
]
}
@elaineo
elaineo / ff.py
Last active January 1, 2022 02:02
Follow Friday
# -*- coding: utf-8 -*-
from TwitterAPI import TwitterAPI
from collections import Counter
import json
import time
import logging
# Edit ff.py for your account. Go to https://apps.twitter.com/ to get your API keys.
# Don't forget to fill in your screen name (or someone else's).
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# codercase.py
#
# 2014-08-28 by Derick Fay
#
# based almost entirely on jdc0589's CaseConversion plug-in for SublimeText:
# https://github.com/jdc0589/CaseConversion/blob/master/case_conversion.py
#