I hereby claim:
- I am rquigley on github.
- I am rquigley (https://keybase.io/rquigley) on keybase.
- I have a public key whose fingerprint is D01F DBDE 3501 2B9C B08F FB89 8F2B 85FD D1C2 0A84
To claim this, I am signing this object:
#!/bin/bash | |
set -e | |
set -o pipefail | |
BIN="/usr/bin/whois" | |
DOMAIN=$1 | |
echo "Fetching domain's whois server..." | |
RES=$($BIN $DOMAIN) |
/* global document, require, setTimeout, phantom, console */ | |
var jsPerfTest = "for-loops-with-caching"; | |
var page = require("webpage").create(); | |
page.open("http://jsperf.com/" + jsPerfTest, function() { | |
"use strict"; | |
setTimeout(function() { | |
page.evaluate(function() { | |
var ev = document.createEvent("MouseEvents"); |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python2 | |
# Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford (jspenguin@jspenguin.org) | |
# The author disclaims copyright to this source code. | |
import sys | |
import struct | |
import socket | |
import time | |
import select |
/** | |
* Scrolling can become janky when elements are rolled over. This | |
* adds a class to the body that disables all hover-states when | |
* scrolling is occurring. | |
*/ | |
disableHoverOnScroll: function() { | |
var timerInt; | |
var ticking; | |
var $body = $('body'); |
set nocompatible | |
set number | |
set ruler | |
syntax on | |
" Set encoding | |
set encoding=utf-8 nobomb | |
set showmode |
/*! | |
* equalizeHeights | |
* Force a number of elements to acquire the height of the tallest element | |
* Recalculate all heights on page resize | |
* Author: @rquigley | |
* Licensed under the MIT license | |
*/ | |
(function (factory) { | |
if (typeof define === 'function' && define.amd) { | |
// AMD. Register as an anonymous module. |
deleteMessageThreads: function(threadUrls) { | |
var csrfToken = $('#csrf').find('[name=csrfmiddlewaretoken]').get(0).value; | |
var messagePks = []; | |
var asyncEvent = function() { | |
var dfd = new jQuery.Deferred(); | |
var numDone = 0; | |
var numTotal = threadUrls.length; | |
var ajaxCalls = _.map(threadUrls, function(url) { |
/** | |
* overlaySlideshow | |
* | |
* Copyright 2011 Ryan Quigley | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is |
<?php | |
/** | |
* Extract any valid emails from a string | |
* | |
* @param string $str | |
* @return array matched email addresses | |
*/ | |
function extractEmails($str) | |
{ |