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 | |
/**** | |
* Little PHP script to hit Craigslist RSS feeds, check new posts, and shoot you an email with them. | |
* Good for finding things ;) | |
* REQUIRES http://code.google.com/p/phpquery/ | |
****/ | |
function resultsSort($a, $b) { | |
if ( count($a["posts"]) == count($b["posts"]) ) { return 0; } |
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
jQuery.confirm = function(options){ | |
var opts = jQuery.extend( { message: "", ok: function(){}, cancel: function(){ } }, options ); | |
jQuery("<div class=\"span-10\"> | |
<div class=\"ui-confirm-message\">" | |
+ opts.message + "<img class=\"loader\" style=\"padding-left: 10px\" src=\"/images/loader.gif">\"</div></div>").dialog({ | |
autoOpen: true, | |
modal: true, | |
autoOpen: false, |
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
Content-Type: application/x-www-form-urlencoded | |
Content-Length: 295 | |
data=%7B%22first_name%22%3A%22Joe%22%2C%22last_name%22%3A%22Sixpack%22%2C%22email%22%3A%22joesixpack%40tru.ly%22%2C%22birthday%22%3A%221%5C%2F1%5C%2F1990%22%2C%22zip_code%22%3A%2202139%22%2C%22truly_verified%22%3Atrue%7D&signature=45bbd5c59e59400c59b820857cbfe0118365b769cfa3ecf91663dbf9cfc0158a |
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
parameters: | |
twilio_app_id: MY_ID | |
twilio_token: MY_TOKEN | |
twilio_number: MY_REGISTERED_NUMBER | |
services: | |
twilio: | |
class: Services_Twilio | |
arguments: [%twilio_app_id%, %twilio_token%, "2010-04-01", NULL, %twilio_number%] |
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
<div id="board"></div> | |
<style> | |
#board { | |
width: 150px; | |
font-size: 28px; | |
font-family: Arial; | |
margin: auto; | |
padding-top: 25px; | |
} |
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 | |
if( $_REQUEST["Digits"] == "1234" ){ | |
if( file_exists(dirname(__FILE__) . "/hasExceptionNotification.lock") ){ | |
unlink( dirname(__FILE__) . "/hasExceptionNotification.lock" ); | |
} | |
touch( dirname(__FILE__) . "/pauseNotification.lock" ); | |
$str = <<<EOF |
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 | |
$userData = array( | |
"api[key]" => "YOUR_KEY", | |
"user[email]" => "[email protected]", | |
"user[first_name]" => "Dave", | |
"user[last_name]" => "Smith", | |
"user[zip_code]" => "02139", | |
"user[street_address]" => "222 3rd st.", | |
"user[birthday_month]" => "1", | |
"user[birthday_day]" => "1", |
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
/* | |
Copyright (C) 2012 Robert Cayouette <[email protected]> | |
This program is free software; you can redistribute it and/or | |
modify it under the terms of the GNU General Public License | |
as published by the Free Software Foundation; either version 2 | |
of the License, or (at your option) any later version. | |
This program is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
OlderNewer