Aug 30

I've been seeing a lot of buzz about Yahoo! Pipes, so I decided to hack something up to get some of my favorite RSS feeds. The code is somewhat messy, and there ARE bugs, but it should serve as a pretty good guide to using JS with Pipes. This is nice because it's 100% client-side - no downloading RSS feeds from your server.

Yahoo Pipes Javascript RSS Grabber

Enjoy :)

Edit: This example uses someone else's premade pipe, so I can't take credit for that.

Aug 27

Well, I'm back in school… Updates will probably be even more spaced out than they have been lately. The combination of a lack of ideas and increased load means I'll be stretched pretty thin.

Aug 19

The other day I posted a link to Slavehack, the online hacking game, and I've been pretty much addicted to it since then. I wrote a little script to edit logs so that it replaces digits with x's. This useful because it cuts down your log editing time by a lot. You need FireFox and GreaseMonkey for this to work. Just install the script, go to a log, and you're ready to go.

Install

Aug 17

My friend showed me a cool "hacking" game called SlaveHack. It's sort of fun, even if it's not realistic. Go check it out. :)

Aug 15

PHP Version:

function toascii($s){
	$tmp = "";
	for($i=0;$i<strlen($s);$i++){
		$tmp .= "&#" .hexdec(bin2hex($s[$i])) . ";";
	}
	return htmlentities($tmp);
}

Python Version:

import urllib
def encodeDork(s):
	tmp = ""
	for i in xrange(0,len(s)): tmp += "&#" + str(int(binascii.b2a_hex(s[i]), 16)) + ";"
	return urllib.quote(tmp)

Something quick I did.. Very useful for blocked Google queries ;)

« Previous Entries