Skip to content

Instantly share code, notes, and snippets.


Keybase proof

I hereby claim:

  • I am jakesyl on github.
  • I am jakesyl ( on keybase.
  • I have a public key ASBwTfamkouqBepd-VvL6aLrwd9F_HO-AkS6wOxXh-P15Qo

To claim this, I am signing this object:

View gist:bedeb91ed4301c6776f8dbe40661419d
lsof -nti:NumberOfPort | xargs kill -9
View .html
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="">
<script src=""></script>
<script src=""></script>
import ConfigParser
import os
def ConfigSectionMap(section, Config):
dict1 = {}
options = Config.options(section)
for option in options:
dict1[option] = Config.get(section, option)
View gist:1dce0fea587fe979a0ce
git filter-branch --tree-filter "find . -name '*.php' -exec sed -i -e \
's/originalpassword/newpassword/g' {} \;"
import threading
import time
class theThread(threading.Thread):
def __init__(self, threadId): # From my understanding this is the only thing that runs when I call thread1 = myThread()
self.threadId = threadId
def run(self):
print "running task"
View jquery.themepunch.revolution.min.js
* jquery.themepunch.revolution.js - jQuery Plugin for Revolution Slider
* @version: 4.5.0 (23.04.2013)
* @requires jQuery v1.7 or later (tested on 1.9)
* @author ThemePunch
function revslider_showDoubleJqueryError(e){var t="Revolution Slider Error: You have some jquery.js library include that comes after the revolution files js include.";t+="<br> This includes make eliminates the revolution slider libraries, and make it not work.";t+="<br><br> To fix it you can:<br>&nbsp;&nbsp;&nbsp; 1. In the Slider Settings -> Troubleshooting set option: <strong><b>Put JS Includes To Body</b></strong> option to true.";t+="<br>&nbsp;&nbsp;&nbsp; 2. Find the double jquery.js include and remove it.";t="<span style='font-size:16px;color:#BC0C06;'>"+t+"</span>";jQuery(e).show().html(t)}(function(e,t){function n(e){var t=[],n;var r=window.location.href.slice(window.location.