Skip to content

Instantly share code, notes, and snippets.

View jakemcgraw's full-sized avatar
📈
start up cash in sell out bro down

Jake McGraw jakemcgraw

📈
start up cash in sell out bro down
View GitHub Profile
@jakemcgraw
jakemcgraw / authors.txt
Created November 6, 2018 22:01
ATTN: Archive Author Pages
https://archive.attn.com/authors/102/danielle-belton
https://archive.attn.com/authors/110/sandra-korn
https://archive.attn.com/authors/113/cantare-davunt
https://archive.attn.com/authors/114/trevor-reece
https://archive.attn.com/authors/116/jessica-glassberg
https://archive.attn.com/authors/118/karen-jordan
https://archive.attn.com/authors/119/alex-braun
https://archive.attn.com/authors/120/joseph-mayton
https://archive.attn.com/authors/122/andrew-tint
https://archive.attn.com/authors/129/erin-greenawald
@jakemcgraw
jakemcgraw / module.js
Last active February 24, 2016 20:18
Pattern for blue compatible modules
modules.export = (function(){
var Promise = require('bluebird');
var fs = Promise.promisifyAll(require('fs'));
return function(params, cb) {
return fs.doSomeStuffAsync(params)
.then(function(result){
return someOtherAsync(result);
})
.then(function(moreResults){
return someMoreAsync(moreResults);
Domain Name: here-and-now.com
Registry Domain ID:
Registrar WHOIS Server: whois.onlinenic.com
Registrar URL: http://www.onlinenic.com
Updated Date: 2014-07-18 12:45:09
Creation Date: 1995-08-28
Registrar Registration Expiration Date: 2018-08-28
Registrar: Onlinenic Inc
Registrar IANA ID: 82
Registrar Abuse Contact Email: onlinenic-enduser@onlinenic.com
<?php
/**
* BaconQrCode
*
* @link http://github.com/Bacon/BaconQrCode For the canonical source repository
* @copyright 2014 Jake McGraw
* @license http://opensource.org/licenses/BSD-2-Clause Simplified BSD License
*/
namespace BaconQrCode\Renderer\Image\Decorator;
PING google.com (173.194.43.4): 56 data bytes
64 bytes from 173.194.43.4: icmp_seq=0 ttl=56 time=48.330 ms
64 bytes from 173.194.43.4: icmp_seq=1 ttl=56 time=18.159 ms
64 bytes from 173.194.43.4: icmp_seq=2 ttl=56 time=75.967 ms
64 bytes from 173.194.43.4: icmp_seq=3 ttl=56 time=208.059 ms
64 bytes from 173.194.43.4: icmp_seq=4 ttl=56 time=24.090 ms
64 bytes from 173.194.43.4: icmp_seq=5 ttl=56 time=25.048 ms
64 bytes from 173.194.43.4: icmp_seq=6 ttl=56 time=26.026 ms
64 bytes from 173.194.43.4: icmp_seq=7 ttl=56 time=21.874 ms
64 bytes from 173.194.43.4: icmp_seq=8 ttl=56 time=31.522 ms
@jakemcgraw
jakemcgraw / gist:4226547
Created December 6, 2012 17:57
The Trenches take down
Minimum Wage
12/06/2012 - Anonymous
I am really sick of hearing about testers whining about making a dollar above minimum wage and having to work 50+ hours a week. QQ More.
You think you deserve more than that because you had to sign a contract saying you won’t tell anyone about the game details because you’re some kind of spy? $10.50 an hour x50 a week is too low for you? Let me tell you my story. I’m a Pilot. I have a Masters in Aviation Education and flight school was another 2 years. I made $8.75 an hour working as a pilot. 75 cents LESS than minimum wage.
How is that legal? Because my wage is $17.50/hr but I only get paid for time when the engine is running. If I’m doing paperwork, flight planning, pre-flight checking the plane, or refueling, I’m not getting paid. On a good day, I work 8am to midnight and get paid for 8 hours.
On a bad day, if weather is bad and a flight is delayed, I work 8am to 6pm and get paid for an hour or two. $8.75 is the best case, where my schedule is booked and I
@jakemcgraw
jakemcgraw / gist:4171130
Created November 29, 2012 19:00
MY GOD, IT'S FULL OF array_* calls
<?php
return array_combine(array_keys($resp), array_map(function($children, $category_id) {
return array_filter($children, function($category) use ($category_id) {
return ($category_id == $category['parent_id'] &&
strpos($category['name'], 'In Nav') === false);
});
}, $resp, array_keys($resp)));
@jakemcgraw
jakemcgraw / geocode.php
Created October 2, 2011 02:03
DOTGO Geocoding Engine
<?php
header("Content-type: text/xml");
if (empty($_POST) || !isset($_POST["sys_query"])) {
echo "<message><content>Invalid request. Try again.<br/>Reply:<br/><a query=\"crbspt loc\" /> Geocode (1 address)</content></message>";
exit;
}
$address = preg_replace('/^(crbspt\s+loc|loc\s+|1\s+)/', '', trim(strtolower($_POST["sys_query"])));
@jakemcgraw
jakemcgraw / facebook_gallery_downloader.js
Created June 7, 2011 23:52
Facebook Gallery Downloader
@jakemcgraw
jakemcgraw / interrupt.js
Created May 27, 2011 17:45
How to interrupt a timeout
var pollInterval = 10000,
pollTimeout = null;
function pollSpots() {
printDXSpots();
pollTimeout = window.setTimeout(pollSpots, pollInterval);
}
// ... later ...