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
<?php | |
/** | |
* Comment block | |
* @author: Ross Masters <[email protected]> | |
* @build 1 | |
*/ | |
final class Dog extends Quadroped { | |
public $name; | |
private $breed; |
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
// Load the feeds library, version 1 | |
google.load("feeds", "1"); | |
// Callback function | |
function initialize() { | |
// The feed we want to load | |
var feed = new google.feeds.Feed("http://www.digg.com/rss/index.xml"); | |
// Load the feed | |
feed.load(function(result) { | |
if (!result.error) { |
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
google.load("feeds", "1"); | |
function initialize() { | |
var feedControl = new google.feeds.FeedControl(); | |
feedControl.addFeed("http://twitter.com/statuses/user_timeline/14399435.atom", "Tweets"); | |
feedControl.addFeed("http://stackoverflow.com/feeds/user/2025", "StackOverflow"); | |
feedControl.addFeed("http://www.google.com/reader/public/atom/user%2F04968712295736668054%2Fstate%2Fcom.google%2Fbroadcast", "Shared Items"); | |
feedControl.addFeed("http://feeds.delicious.com/v2/rss/rossmasters?count=15", "Shared Bookmarks"); | |
feedControl.draw(document.getElementById("feedControl")); | |
} |
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
/** | |
* Suppress everything except for title | |
*/ | |
#feedControl .gf-snippet, | |
#feedControl .gf-author, | |
#feedControl .gf-spacer, | |
#feedControl .gf-relativePublishedDate { | |
display: none; | |
} | |
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
<?php | |
/** | |
* Anti-block proxy | |
* @author Ross Masters <[email protected]> | |
* @package antiblock | |
* @version 0.1 | |
*/ | |
// Bail on empty/unset url | |
if (!isset($_GET['url']) || empty($_GET['url'])) { |
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
<?php | |
class FourChanPoster | |
{ | |
const VERSION = "1.0"; | |
public $name; | |
public $email; | |
public $password; | |
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
<?php | |
namespace Tuxxedo { | |
/** | |
* The class autoloader | |
*/ | |
class Loader | |
{ | |
/** |
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
function closeIt() | |
{ | |
return "Are you sure you want to leave this page?"; | |
} | |
window.onbeforeunload = closeIt; |
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
Itsy-bitsy spider decided to have a laugh, | |
So itsy-spider crept into a bath, | |
But along came Ross who didn't want to share his shower with a 5 inch spider so he blasted it down the plug hole. |
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
Minecraft has crashed! | |
---------------------- | |
Minecraft has stopped running because it encountered a problem. | |
If you wish to report this, please copy this entire text and email it to [email protected]. | |
Please include a description of what you did when the error occured. | |
Note: Occurred during loading newly generated world - showed horizon, no blocks then crashed. |
OlderNewer