Skip to content

Instantly share code, notes, and snippets.

View keepjhonnying's full-sized avatar
🎛️
Jhonnying...

B. JIF keepjhonnying

🎛️
Jhonnying...
View GitHub Profile
@keepjhonnying
keepjhonnying / gist:3f23c743bbb9d6731ec4
Created October 15, 2015 17:43 — forked from saetia/gist:1623487
Clean Install – OS X 10.11 El Capitan

OS X Preferences


most of these require logout/restart to take effect

# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false

# Set a shorter Delay until key repeat
@keepjhonnying
keepjhonnying / 1millinn-pi-oneline-dot.txt
Last active October 7, 2015 01:51
Million Digits π (Pi) Φ
3.14159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706798214808651328230664709384460955058223172535940812848111745028410270193852110555964462294895493038196442881097566593344612847564823378678316527120190914564856692346034861045432664821339360726024914127372458700660631558817488152092096282925409171536436789259036001133053054882046652138414695194151160943305727036575959195309218611738193261179310511854807446237996274956735188575272489122793818301194912983367336244065664308602139494639522473719070217986094370277053921717629317675238467481846766940513200056812714526356082778577134275778960917363717872146844090122495343014654958537105079227968925892354201995611212902196086403441815981362977477130996051870721134999999837297804995105973173281609631859502445945534690830264252230825334468503526193118817101000313783875288658753320838142061717766914730359825349042875546873115956286388235378759375195778185778053217122680661300192787661119590921642019893809525720106548586327
@keepjhonnying
keepjhonnying / Font-Awesome-4.3-font_list.txt
Created October 4, 2015 21:38
Font-Awesome 4.3 font alias list
## Created by James Donnelly (http://stackoverflow.com/users/1317805/james-donnelly)
## @ http://stackoverflow.com/a/28029687/3259363
fa-adjust
fa-adn
fa-align-center
fa-align-justify
fa-align-left
fa-align-right

Sublime Text 2 - Useful Shortcuts

Tested in Mac OS X: super == command

Open/Goto


  • super+t: go to file
  • super+ctrl+p: go to project
  • super+r: go to methods
doctype html
/[if lt IE 7]
| <html class="ie6">
/[if IE 7]
| <html class="ie7">
/[if IE 8]
| <html class="ie8">
/[if IE 9]
| <html class="ie9">
| <!--[if (gte IE 9)|!(IE)]<!--> <html> <!--<![endif]-->
#!/bin/bash
#
# Script which handles the routing issues as necessary for pppd.
# When the ppp link comes up, this script is called with the following
# parameters:
# $1 the interface name used by pppd (e.g. ppp3)
# $2 the codey device name
# $3 the codey device speed
# $4 the local IP address for the interface
# $5 the remote IP address