Skip to content

Instantly share code, notes, and snippets.

View imajes's full-sized avatar

James Cox imajes

View GitHub Profile
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<Document xmlns=\"http://www.apple.com/itms/\" browsePath=\"/36\" genreId=\"36\">\n\n\n \n\n \n \n \n <Protocol>\n <plist version=\"1.0\">\n <dict>\n \n \n \n \n \n \n <key>ping</key><string>http://metrics.apple.com/b/ss/applesuperglobal/1/G.6--NS?pageName=Genre-US-Mobile+Software+Applications-36&amp;pccr=true&amp;h5=appleitmsna%2Cappleitmsus&amp;ch=Mobile+Software+Applications-main&amp;g=http%3A%2F%2Fax.itunes.apple.com%2FWebObjects%2FMZStore.woa%2Fwa%2FviewGenre%3Fid%3D36%26mt%3D8</string>\n\n \n \n \n \n \n\n\n\n\n \n \n \n \n \n\t\t\n \n \n \n \n \n \n <key>set-prefs</key>\n <dict>\n <key>preferred-audio-format</key><string>256</string>\n </dict>\n \n </dict>\n </plist>\n </Protocol>\n \n <Path>\n \n <PathElement displayName=\"App Store\" inhi
#<Net::HTTPOK 200 OK readbody=true>
76494
58271
#<Hpricot::Doc
{xmldecl "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>"}
{elem
<Document
artistId="294773239"
browsePath="/36/6018"
genreId="6018"
speed_in_seconds do
faster_than 0.5 do
rv = Model.new(attribs)
end
faster_than 0.03 do
@rv.save!
end
end
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Document xmlns="http://www.apple.com/itms/" artistId="294773239" browsePath="/36/6018" genreId="6018">
<iTunes> Classics </iTunes>
<Protocol>
<plist version="1.0">
<dict>
<key>ping</key>
<string>http://metrics.apple.com/b/ss/applesuperglobal/1/G.6--NS?pageName=Software+Page-US-Classics-294773236&amp;pccr=true&amp;h5=appleitmsna%2Cappleitmsus&amp;ch=Software&amp;g=http%3A%2F%2Fax.itunes.apple.com%2FWebObjects%2FMZStore.woa%2Fwa%2FviewSoftware%3Fid%3D294773236%26mt%3D8</string>
<key>set-prefs</key>
<dict>
IMAGE ami-ba4eaad3 /aws-quickstart/phpquickstart.manifest.xml amazon available public i386 machine
IMAGE ami-b44bafdd /aws-quickstart/rubyquickstart.manifest.xml amazon available public i386 machine aki-a71cf9ce ari-a51cf9cc
IMAGE ami-1c54b075 /aws-quickstart/tomcatquickstart.manifest.xml amazon available public i386 machine aki-a71cf9ce ari-a51cf9cc
IMAGE ami-2c5fba45 ec2-public-images/demo-paid-AMI-v1.07.manifest.xml amazon available public A79EC0DB i386 machine
IMAGE ami-bd9d78d4 ec2-public-images/demo-paid-AMI.manifest.xml amazon available public A79EC0DB i386 machine
IMAGE ami-2f5fba46 ec2-public-images/developer-image-i386-v1.07.manifest.xml amazon available public i386 machine
IMAGE ami-26b6534f ec2-public-images/developer-image.manifest.xml amazon available public i386 machine
IMAGE ami-f51aff9c ec2-public-images/fedora-8-i386-base-v1.06.manifest.xml amazon available public i386 machine aki-a71cf9ce ari-a51cf9cc
IMAGE ami-2b5fba42 ec2-public-images/fedora-8-i386-base-v1
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 0
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
@imajes
imajes / gist:49764
Created January 21, 2009 00:13 — forked from peterc/gist:33337
see http://github.com/imajes/rails-template/tree/master
var since_url = "q=@ntoip"
$(document).ready(function(){
$.getJSON("http://search.twitter.com/search.json?callback=?" + since_url,
function(data){
since_url = data.since_url
$.each(data.results, function(i,item){
line = item.text.replace("@ntoip:", "") + "<br><span>- <a href='http://twitter.com/" + item.from_user + "'>" + item.from_user + "</a></span>"
$("<p>").html(line).appendTo("#latest");
//if ( i == 4 ) return false;
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Document xmlns="http://www.apple.com/itms/" artistId="284962371" browsePath="/36/6011" genreId="6011">
<iTunes> GuitarToolkit </iTunes>
<Protocol>
<plist version="1.0">
<dict>
<key>ping</key>
<string>http://metrics.apple.com/b/ss/applesuperglobal/1/G.6--NS?pageName=Software%20Page-US-GuitarToolkit-284962368&amp;pccr=true&amp;h5=appleitmsna%2Cappleitmsus&amp;ch=Software&amp;g=http%3A%2F%2Fax.itunes.apple.com%2FWebObjects%2FMZStore.woa%2Fwa%2FviewSoftware%3Fid%3D284962368%26mt%3D8</string>
<key>set-prefs</key>
<dict>
function XHConn()
{
var xmlhttp, bComplete = false;
try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); }
catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); }
catch (e) { try { xmlhttp = new XMLHttpRequest(); }
catch (e) { xmlhttp = false; }}}
if (!xmlhttp) return null;
this.connect = function(sURL, sMethod, sVars, fnDone)
{