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
// cURL: http://php.net/manual/en/book.curl.php | |
// cURL Options: http://www.php.net/manual/en/function.curl-setopt.php | |
// @param $url URL of the request, e.g. https://www.sandbox.paypal.com/cgi-bin/webscr | |
// @param $data URL encoded request data as array, e.g. $data = array('cmd' => '_notify-validate'); | |
function urlopen($url, $data) | |
{ | |
$curl_handler = curl_init(); | |
$options = array(CURLOPT_URL => $url, | |
CURLOPT_FAILONERROR => true, | |
CURLOPT_RETURNTRANSFER => true, |
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
/* | |
* Title Caps | |
* | |
* Ported to JavaScript By John Resig - http://ejohn.org/ - 21 May 2008 | |
* Original by John Gruber - http://daringfireball.net/ - 10 May 2008 | |
* License: http://www.opensource.org/licenses/mit-license.php | |
*/ | |
(function(){ | |
var small = "(a|an|and|as|at|but|by|en|for|if|in|of|on|or|the|to|v[.]?|via|vs[.]?)"; |
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
// Author: http://getsatisfaction.com/people/natxopedreira | |
// Source: http://getsatisfaction.com/openzoom/topics/implementing_gesture_controller | |
package org.openzoom.flash.viewport.controllers | |
{ | |
import flash.display.Graphics; | |
import flash.display.Sprite; | |
import flash.events.Event; | |
import flash.events.MouseEvent; |
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
Original | |
[ { id: 1, created: 300 }, | |
{ id: 2, created: 200 }, | |
{ id: 3, created: 500 }, | |
{ id: 4 }, | |
{ id: 5, created: 400 }, | |
{ id: 6, created: 100 }, | |
{ id: 7 } ] | |
Naive |
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
//////////////////////////////////////////////////////////////////////////////// | |
// | |
// OpenZoom SDK | |
// | |
// Version: MPL 1.1/GPL 3/LGPL 3 | |
// | |
// The contents of this file are subject to the Mozilla Public License Version | |
// 1.1 (the "License"); you may not use this file except in compliance with | |
// the License. You may obtain a copy of the License at | |
// http://www.mozilla.org/MPL/ |
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
#!/bin/sh | |
# | |
# Track Twitter Unfollowers | |
# | |
# Run script daily using crontab and TextMate as follows: | |
# $ mate -w | crontab | |
# …paste `* */6 * * * /path/to/twitter-changes.sh` | |
# | |
# Adapted to Mac OS X from original script by Samuel Alba: |
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 request = require('request'); | |
var settings = { | |
AKAMAI_USER: 'test', | |
AKAMAI_PASSWORD: '...', | |
AKAMAI_NOTIFICATION_EMAIL: '' | |
}; | |
var akamai = exports; | |
var SOAP_URL = 'https://ccuapi.akamai.com:443/soap/servlet/soap/purge'; |
- black (frame only): $49.00
- black + print: $85.50
- bamboo + print: $105.50
OlderNewer