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 | |
/* twipple.php | |
* Yahoo! Pipes + Twitter + Wordle | |
* | |
* Usage: php twipple.php | pbcopy | |
* ...then paste into wordle.net | |
*/ | |
$pipe_url = 'http://pipes.yahoo.com/pipes/pipe.run?_id=0Dd3hqOG3RGDdbrnbLsjiw&_render=php'; |
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 | |
$notice = $_SERVER['argv'][1] == '-notice'; | |
$input = ''; | |
if (STDIN) while (!feof(STDIN)) $input .= fgets(STDIN, 4096); | |
foreach (explode("\n", $input) as $text) { | |
$a = explode('<', $text); | |
if (count($a) > 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
<!-- | |
A sample YAP 1.0 ready OpenSocial application. | |
Adapted from http://code.google.com/apis/opensocial/articles/tutorial/tutorial-0.7.html | |
Updated for OpenSocial 0.8 and the Yahoo! Application Platform by Reid Burke 5 Sep 2008 | |
YAP or 0.8 specific comments are annotated with YAPNOTE | |
Updated 10 Nov 2008 | |
--> | |
<script type="text/javascript"> |
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
// Deletes all feed posts from a tumblelog | |
process.mixin(GLOBAL, require("sys")); | |
var http = require("http"), | |
query = require("querystring"); | |
var hostname, email, password; | |
function fail (message) { |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Awesome Hack</title> | |
</head> | |
<body> | |
</body> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<array> | |
<dict> | |
<key>UpdateScript</key> | |
<string>http://atv-xbmc-launcher.googlecode.com/svn/tags/ul-info/additional-scripts/FirefoxInstaller.sh</string> | |
<key>URL</key> | |
<string>ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/latest/mac/en-US/Firefox 3.6.3.dmg</string> | |
<key>Type</key> |
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
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd"> | |
<meta> | |
<author>Paul Tarjan</author> | |
<description>Facebook Graph API</description> | |
<documentationURL>http://graph.facebook.com</documentationURL> | |
<documentationURL>http://developers.facebook.com/docs/reference/api/page</documentationURL> | |
<sampleQuery>SELECT * FROM facebook.graph WHERE id='paul.tarjan'</sampleQuery> | |
<sampleQuery>SELECT * FROM facebook.graph WHERE id='facebook' AND connection='posts'</sampleQuery> | |
<sampleQuery>SELECT * FROM facebook.graph WHERE ids='4,6'</sampleQuery> | |
<sampleQuery>SELECT * FROM facebook.graph WHERE search='conference' AND type='event'</sampleQuery> |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd"> | |
<meta> | |
<author>Reid Burke</author> | |
<sampleQuery>select * from {table}</sampleQuery> | |
</meta> | |
<bindings> | |
<select itemPath="" produces="XML"> | |
<urls> | |
<url></url> |
OlderNewer