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
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); |
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
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: [email protected] |
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
<?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; |
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
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 |
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
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 |
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
<?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))); |
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
<?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"]))); |
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
// This has only been tested on Chrome | |
// A message for Facebook: I'm just automating something any user could waste an afternoon doing... | |
// 1) Open up Chrome. | |
// 2) Navigate to a Facebook friend's photo gallery. | |
// 3) Right click (Control+click on Mac) anywhere on the page and select "Inspect Element". | |
// 4) In the debugger that pops up, click on the "Console" tab. | |
// 5) Copy and paste this code into the Console window and hit "Enter" on your keyboard. | |
// 6) The page will fill up with photos, this may take a couple of minutes. |
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 pollInterval = 10000, | |
pollTimeout = null; | |
function pollSpots() { | |
printDXSpots(); | |
pollTimeout = window.setTimeout(pollSpots, pollInterval); | |
} | |
// ... later ... |
NewerOlder