Skip to content

Instantly share code, notes, and snippets.

View englishm's full-sized avatar
🦀
Media over QUIC enthusiast, Rustacean

Mike English englishm

🦀
Media over QUIC enthusiast, Rustacean
View GitHub Profile
@englishm
englishm / APPLE-SA-2014-11-17-1_iOS_8.1.1
Last active August 29, 2015 14:09
APPLE-SA-2014-11-17-*
From: Apple Product Security <[email protected]>
Date: Mon, 17 Nov 2014 11:22:23 -0800
Subject: APPLE-SA-2014-11-17-1 iOS 8.1.1
To: [email protected]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
APPLE-SA-2014-11-17-1 iOS 8.1.1
@englishm
englishm / 0_reuse_code.js
Created May 7, 2014 18:18
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console

Keybase proof

I hereby claim:

  • I am englishm on github.
  • I am englishm (https://keybase.io/englishm) on keybase.
  • I have a public key whose fingerprint is F834 B67E C8A6 C959 A99D 5DBB 1CC4 DD0D BEA0 E1BE

To claim this, I am signing this object:

# Configuration options
config defaultToCurrentScreen true
config modalEscapeKey esc
config nudgePercentOf screenSize
config resizePercentOf screenSize
config windowHintsShowIcons true
config windowHintsIgnoreHiddenWindows false
config windowHintsSpread true
config windowHintsSpreadSearchWidth 200
config windowHintsSpreadSearchHeight 200
@englishm
englishm / diff
Last active December 27, 2015 04:58
Add 'ignorewhitesnake' to ~/.gitconfig.
diff --git a/home/.gitconfig b/home/.gitconfig
index 4420cbe..d4bc6e4 100644
--- a/home/.gitconfig
+++ b/home/.gitconfig
@@ -17,6 +17,9 @@
[merge]
conflictstyle = diff3
+[rock]
+ ignorewhitesnake = true
#!/bin/bash
# This snippet should hypothetically allow a totally unattended
# download of Apple's Xcode. After sourcing credentials from ENV,
# the script simulates a login, and downloads the XCode DMG.
# Based on: https://gist.github.com/cdata/817672
source /vagrant/apple_creds.sh
login="$ADC_LOGIN"
password="$ADC_PASSWORD"
#!/bin/bash
# This snippet should hypothetically allow a totally unattended
# installation of Apple's XCode. After prompting for credentials,
# the script simulates a login, begins a download and subsequently
# mounts the disk image and installs XCode to the default location.
echo -n "ADC login: "
read login
echo -n "ADC password: "
@englishm
englishm / gist:5746016
Created June 10, 2013 01:36
mfeathers' tweet
tweet=: (($:@(<#[), (=#[), $:@(>#[)) ({~ ?@#)) ^: (1<#)
load'~/user/trace.ijs'
trace'(($:@(<#[), (=#[), $:@(>#[)) ({~ ?@#)) ^: (1<#) 1 2 5 3 4 0'
--------------- 5 Trident ----
1
<
#
1 < #
--------------- 8 Paren ------
require 'yard'
require 'active_support'
require 'set'
class ModelHandler < YARD::Handlers::Ruby::Base
handles :class
def process
return unless statement[1]
sclass = statement[1].source