Skip to content

Instantly share code, notes, and snippets.

View julien51's full-sized avatar

Julien Genestoux julien51

View GitHub Profile
<entry xmlns='http://www.w3.org/2005/Atom'>
<title>Yahoo Is Looking For A Few Good Yodelers (Or Really, Any Good Ones)</title>
<summary>&lt;img src=&quot;http://www.techcrunch.com/wp-content/uploads/2009/10/Screen-shot-2009-10-13-at-2.15.17-AM-215x184.png&quot; width=&quot;215&quot; height=&quot;184&quot; /&gt;Do you like sounding like an idiot? Does the thought of doing so in front of millions of people appeal to you? Then Yahoo has just the thing for you (or, rather, Y!ou).
Yahoo has just launched &lt;a href=&quot;http://yodelstudio.yahoo.com/us/index.php&quot;&gt;Yodel Studio&lt;/a&gt;, a site for you to yes, record yourself yodeling. The idea is for Yahoo users to remix the service&apos;s signature sound for a chance at recognition, most notably, on Yahoo&apos;s homepage which is visited by tens of millions of people each month. Yahoo is also &lt;a href=&quot;http://ycorpblog.com/2009/10/13/yodel-like-you-mean-it/&quot;&gt;pledging&lt;/a&gt; up to $130,000 for local and global charities on behalf of
# Allow the metal piece to run in isolation
require(File.dirname(__FILE__) + "/../../config/environment") unless defined?(Rails)
class ExtractHubVerifyParams
def self.call(env)
request = Rack::Request.new(env)
params = request.params
if hub_verify = env["rack.input"].read.match(/hub.verify=(.*)&hub.verify=(.*)/)
params['hub.verify'] = ""
params['hub.verify'] = "#{hub_verify[1]},#{hub_verify[2]}"
buildNode = function(tag, attrs){
var node = document.createElement(tag);
for(var k in attrs) {
node.setAttribute(k, attrs[k])
}
return node;
};
text = function(text) {
return document.createTextNode(text);
<iq type="set" to="[email protected]/skates_client_2522939" id="pub-481">
<feed id="">
<url>http://news.google.com/news?ned=us&amp;hl=en&amp;q=UC+Irvine&amp;output=atom</url>
<http_code>200</http_code>
<etag></etag>
<number_of_new_entries>10</number_of_new_entries>
<last_error_message>34621 bytes fetched in 0.540405s</last_error_message>
<last_fetch>2009-11-22T05:38:04Z</last_fetch>
<last_parse>2009-11-22T05:38:04Z</last_parse>
<feed_size>10</feed_size>
1)
'HubbubController extart_hubs_uri_for_feed_uri when the feed doesn't have any hub should return an empty array' FAILED
expected: [],
got: [] (using ==)
1)
'HubbubController extart_hubs_uri_for_feed_uri when the feed doesn't have any hub should return an empty array' FAILED
expected: [],
got: [] (using ==)
1)
'HubbubController extart_hubs_uri_for_feed_uri when the feed doesn't have any hub should return an empty array' FAILED
expected: [],
got: [] (using ==)
<item>
<title>test 333</title>
<link>http://hugohallqvist.wordpress.com/2010/03/23/test-333/</link>
<comments>http://hugohallqvist.wordpress.com/2010/03/23/test-333/#comments</comments>
<pubDate>Tue, 23 Mar 2010 10:41:50 +0000</pubDate>
<dc:creator>hugohallqvist</dc:creator>
<category><![CDATA[Uncategorized]]></category>
<guid isPermaLink="false">http://hugohallqvist.wordpress.com/?p=76</guid>
<description><![CDATA[test333 Man kan också fråga sig hur interna länkar fungerar.
user www-data;
worker_processes 4;
error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;
events {
accept_mutex on;
worker_connections 1024;
# multi_accept on;
# Use at least one worker per core
worker_processes 16
# Help ensure your application will always spawn in the symlinked "current" directory that Capistrano sets up
working_directory "/var/www/apps/superfeedr.com/current"
# Listen on a Unix domain socket, use the default backlog size
listen "/tmp/unicorn.sock", :backlog => 1024
# Nuke workers after 30 seconds instead of 60 seconds (the default)