Skip to content

Instantly share code, notes, and snippets.

Building something new

Michael iMerica

Building something new
  • Austin, LA & NYC.
Block or report user

Report or block iMerica

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
iMerica / mikesFbSidebarRemover.user.js
Created Sep 22, 2011
Michael's Scrolling Sidebar Remover
View mikesFbSidebarRemover.user.js
// ==UserScript==
// @name Michael's Badass Facebook Sidebar Remover
// @namespace
// @description Removes that "annoying" side bar you've been complaining about.
// @include http://**
// @include https://**
// @match http://**
// @match https://**
// @version 0.0.1
// ==/UserScript==
iMerica / .vimrc
Created May 23, 2012
Michael's ViM RC
View .vimrc
" .vimrc
" Vim configuration resource file. Specifies desired
" behavior for the vim editor. Place this file at
" ~/.vimrc
:set showmode " Tell us when we're in insert mode.
:set expandtab " Convert tabs to number of spaces
View pretty_git_log
git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
iMerica / .vimrc
Created May 18, 2013
Michael's VimRC
View .vimrc
filetype off
call pathogen#incubate()
call pathogen#helptags()
filetype plugin indent on
set runtimepath^=~/.vim/bundle/ctrlp.vim
syntax enable
set background=light
autocmd VimEnter * NERDTree
set smartindent
set nohlsearch
iMerica /
Created Feb 11, 2014
Identify which app or process is stealing focus on OSX
from AppKit import NSWorkspace
import time
t = range(1,100)
for i in t:
activeAppName = NSWorkspace.sharedWorkspace().activeApplication()['NSApplicationName']
print activeAppName
View birthday_liker.rb
require 'date'
require 'koala'
class BirthdayLiker
BIRTHDAY_WORDS = %w(birthday bday birfday birth born)
THANKS_OPTIONS = ['Thank you!', 'Thanks!', 'Appreciate it!']
def initialize(birthdate, opts={})
iMerica /
Last active Aug 29, 2015
Perfect French press coffee

How I brew coffee with a French Press

This is the French press routine I've arrived at after experimenting for a while and talking to other coffee aficionados. Am I missing something? Comments welcome!


  • French press. I use a Frieling 23oz stainless, but any will do.
  • Measuring cup or food scale.
  • Coarse grain coffee.
  • Food thermometer. I use an infrared thermometer, but a kettle with a built-in thermometer will work too.
iMerica / viscosity-to-ios-connect.rb
Last active Oct 21, 2018 — forked from chrisboulton/viscosity-to-ios-connect.rb
Quickly convert all of your Viscosity connections into OVPN configuration files for OpenVPN for iOS (bundles certificates and keys in the files too)
View viscosity-to-ios-connect.rb
Dir.glob("#{ENV['HOME']}/Library/Application Support/Viscosity/OpenVPN/*/config.conf").each do |file|
certificate_files = ['ca', 'cert', 'key', 'tls-auth']
config_dir = File.dirname(file)
connection_name = nil
new_config = [] do |line|
if line.start_with?('#viscosity name')
View facebook_filter.user.js
// ==UserScript==
// @name Facebook filter
// @namespace iMerica
// @description Hides Facebook posts you don't want to see.
// @include*
// @include*
// ==/UserScript==
// Install:
// Step 1: Install TamperMonkey
iMerica / gcache.js
Created May 16, 2016
View current page from Google Cache
View gcache.js
You can’t perform that action at this time.