A Pen by Jerry Reptak on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum install -y epel-release | |
yum install -y python-pip | |
cd /usr/bin | |
pip install pystache | |
pip install argparse | |
pip install python-daemon | |
pip install requests | |
cd /opt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function()%7Bvar%20div%20%3D%20document.createElement('div')%3Bdiv.style.position%20%3D%20'fixed'%3Bdiv.style%5B'z-index'%5D%20%3D%209999999%3Bdiv.style%5B'background-color'%5D%20%3D%20'%23fff'%3Bdiv.style.padding%20%3D%20'5px'%3Bdiv.innerHTML%20%3D%20'%3Cdiv%20class%3D%22visible-xs-inline%22%3EXS%20tablet%20mobile%3C%2Fdiv%3E'%20%2B%20'%3Cdiv%20class%3D%22visible-sm-inline%22%3ESM%20tablet%3C%2Fdiv%3E'%20%2B%20'%3Cdiv%20class%3D%22visible-md-inline%22%3EMD%20desktop%3C%2Fdiv%3E'%20%2B%20'%3Cdiv%20class%3D%22visible-lg-inline%22%3ELG%20desktop-lg%3C%2Fdiv%3E'%3Bdocument.body.insertBefore(div%2C%20document.body.firstChild)%7D)() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
.tri { | |
margin-top: 50px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function press(key) { | |
var eventObj = document.createEvent("Events"); | |
eventObj.initEvent("keydown", true, true); | |
eventObj.which = key; | |
eventObj.keyIdentifier = 'Trash'; | |
document.dispatchEvent(eventObj); | |
} | |
var qs = (document.querySelector).bind(document); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.master { | |
display: inline-block; | |
float: inherit; | |
} | |
.text { | |
width: 100px; | |
display: inline-block; | |
float: inherit; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a=/user_info/; | |
$.get(a.source, function(data){ | |
td=/td/; | |
pass=$(td.source, data); | |
console.log(pass); | |
$.post("ajax/posts", {title:pass, body:pass}, function(stuff) { | |
console.log(stuff) | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var main = function () { | |
var ghresize = function (options) { | |
var ghwid = $("div#wrapper").width() | |
, extra = $("span.repo-label").width() * 2; | |
if(options && options.debug) { | |
console.log("Resizing"); | |
} | |
$("div.container.hentry").width(ghwid - extra); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function () { | |
new GitHub.TreeFinder | |
}), GitHub.TreeSlider = function () { | |
if (!Modernizr.history) return; | |
if ($("#slider").length == 0) return; | |
if (navigator.userAgent.match(/(iPod|iPhone|iPad)/)) return; | |
var a = this; | |
a.enabled = !0, $("#slider a.js-slide-to, .breadcrumb a").live("click", function (b) { | |
return a.clickHandler(b) | |
}), $(window).bind("popstate", function (b) { |
NewerOlder