Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
#
# Deploy SSH Wrapper
# App: <%= @id %>
#
# Rendered by Chef - local changes will be replaced
/usr/bin/env ssh -o "StrictHostKeyChecking=no" -i "/opt/my_app/id_deploy" $1 $2
@gnip
gnip / FriendFeed User Feed - Activity Streams format sample.xml
Created May 20, 2011 19:26
FriendFeed User Feed - Activity Streams format sample
<entry xmlns:gnip="http://www.gnip.com/schemas/2010" xmlns="http://www.w3.org/2005/Atom">
<id>e/d36cfa627b3f37030cd694a387193435</id>
<published>2011-05-20T19:17:30Z</published>
<updated>2011-05-20T19:17:30Z</updated>
<title>Howard Rheingold posted an note on Twitter (via FriendFeed)</title>
<category term="NotePosted" label="Note Posted"/>
<link rel="alternate" type="text/html" href="http://friendfeed.com/howardrheingold/d36cfa62/planning-summer-rheingold-u-course-on"/>
<source>
<link rel="self" type="text/xml" href="http://friendfeed-api.com/v2/feed/howardrheingold?format=xml"/>
<title>FriendFeed - Actor - Posts - howardrheingold</title>
@gnip
gnip / FriendFeed Keyword Feed - Activity Streams sample.xml
Created May 20, 2011 19:19
FriendFeed Keyword Feed - Activity Streams sample
<entry xmlns:gnip="http://www.gnip.com/schemas/2010" xmlns="http://www.w3.org/2005/Atom">
<id>e/d36cfa627b3f37030cd694a387193435</id>
<published>2011-05-20T19:17:30Z</published>
<updated>2011-05-20T19:17:30Z</updated>
<title>Howard Rheingold posted an note on Twitter (via FriendFeed)</title>
<category term="NotePosted" label="Note Posted"/>
<link rel="alternate" type="text/html" href="http://friendfeed.com/howardrheingold/d36cfa62/planning-summer-rheingold-u-course-on"/>
<source>
<link rel="self" type="text/xml" href="http://friendfeed-api.com/v2/search?q=summer&format=xml"/>
<title>FriendFeed - Keyword - Search - summer</title>
@gnip
gnip / Newsgator firehose - original format.xml
Created May 19, 2011 21:04
Newsgator firehose - original format sample
<item xmlns:ng="http://newsgator.com/schema/extensions" ng:state="new">
<title>Johnson loves facing the Fish</title>
<link>http://feeds.cbssports.com/click.phdo?i=fa7c9bd31643cda09021d6f785951170</link>
<description>MLB.com reports that not a single player in the major leagues has a better track record against the Marlins than Cubs outfielder <a class="playerLink" href="http://www.cbssports.com/mlb/players/playerpage/225381/reed-johnson">Reed Johnson</a>. He was batting .410 in his career against Florida entering Wednesday's series opener in Miami, and got the first crack at a pinch-hit as a result. He entered the game with four doubles, a triple and a home run with five RBI in 14 games against the Marlins and he added to the numbers in his only chance to. "I think the fields with short grass always play a little to my advantage," Johnson said. "You hit line drives and a lot of balls on the ground, and they can squeeze through the infield. Our park, when the grass gets long in the summer, it can be k
<entry xmlns:mood="http://activitystrea.ms/context/" xmlns:geo="http://www.georss.org/georss" xmlns="http://www.w3.org/2005/Atom" xmlns:re="http://purl.org/atompub/rank/1.0" xmlns:msp="http://activities.myspace.com/schema/1.0/" xmlns:sx="http://feedsync.org/2007/feedsync" xmlns:activity="http://activitystrea.ms/spec/1.0/" xmlns:poco="http://portablecontacts.net/spec/1.0">
<id>tag:myspace.com,2009:/activity/564168849/StatusMoodUpdate/353173297/353173297</id>
<title type="text">Ezmeralda Swenney has joined Myspace!</title>
<published>2011-03-11T23:41:37Z</published>
<updated>2011-03-11T23:41:37Z</updated>
<author>
<name>Ezmeralda Swenney</name>
<uri>http://www.myspace.com/564168849</uri>
</author>
<link rel="icon" type="image/gif" href="http://x.myspacecdn.com/modules/common/static/img/statusmoood.gif"/>
<entry xmlns:mood="http://activitystrea.ms/context/" xmlns:geo="http://www.georss.org/georss" xmlns="http://www.w3.org/2005/Atom" xmlns:re="http://purl.org/atompub/rank/1.0" xmlns:sx="http://feedsync.org/2007/feedsync" xmlns:activity="http://activitystrea.ms/spec/1.0/" xmlns:poco="http://portablecontacts.net/spec/1.0">
<id>tag:myspace.com,2009:/activity/459198320/AddSongToPlaylist/1622075/54991960</id>
<title type="text">Danyell Myers added song Just Might Change Your Life by artist Sidewalk Prophets to playlist Mashup</title>
<published>2011-03-11T22:49:53Z</published>
<updated>2011-03-11T22:49:53Z</updated>
<author>
<name>Danyell Myers</name>
<uri>http://www.myspace.com/crazydanny89</uri>
</author>
<link rel="icon" type="image/gif" href="http://x.myspacecdn.com/modules/common/static/img/profileSong.gif"/>
<item xmlns:ng="http://newsgator.com/schema/extensions" ng:state="new">
<title>Report: Brazilian journalist to be freed in Libya</title>
<link>http://hosted.ap.org/dynamic/stories/L/LIBYA_MEDIA?SITE=MAQUI&SECTION=HOME&TEMPLATE=DEFAULT</link>
<description>SAO PAULO (AP) -- A Brazilian newspaper reported Thursday that a correspondent who has been missing in Libya for a week had been jailed outside the North African country's capital but was about to be released....</description>
<ng:text/>
<pubDate>Thu, 10 Mar 2011 16:45:16 GMT</pubDate>
<guid isPermaLink="false">http://hosted.ap.org/dynamic/stories/L/LIBYA_MEDIA?SITE=MAQUI&SECTION=HOME&TEMPLATE=DEFAULT</guid>
<author>By STAN LEHMAN</author>
<ng:postId>12795756269</ng:postId>
<ng:feedId>487714</ng:feedId>
<entry xmlns="http://www.w3.org/2005/Atom">
<id>http://www.mercurynews.com/travel/ci_17462962?source=rss</id>
<published>Sun, 27 Feb 2011 14:00:07 GMT</published>
<updated>Thu, 10 Mar 2011 10:07:28 GMT</updated>
<title><p class="bylinejb">By Joe Stiglich<br /></p><p class="bylineaffiliation"><a href='mailto:jstiglich@bayareanewsgroup.com'>jstiglich@bayareanewsgroup.com</a> posted an article on Newsgator</title>
<summary type="html">A's offer intimate stadium setting, new faces on the field</summary>
<category term="ArticlePosted" label="Acticle Posted"/>
<source>
<link rel="self" type="application/atom+xml" href="https://head-collector.gnip.com/data_collectors/3/activities.xml?max=3000&since_date=20110310171108"/>
<title>Newsgator - Firehose</title>
<item xmlns:ng="http://newsgator.com/schema/extensions">
<title>AOL: Friday, Bloody Friday</title>
<link>http://feedproxy.google.com/~r/JaneGenova/~3/adTrcsNL9Tc/aol-friday-bloody-friday.html</link>
<description><p>This Fridays the <a href="http://blogs.forbes.com/jeffbercovici/2011/03/08/huffpo-enabled-layoffs-expected-by-friday-at-aol/" target="_self">layoffs </a>will begin at the merged entity AOL-HuffingtonPost.com.&#0160; Yeah, it will Bloody Friday.</p>
<p><a href="http://speechwriting-ghostwriting.typepad.com/.a/6a00d8341c53ec53ef014e869ae1a3970d-pi" style="display: inline;"><img alt="MH900434407_edited-1" border="0" class="asset asset-image at-xid-6a00d8341c53ec53ef014e869ae1a3970d" src="http://speechwriting-ghostwriting.typepad.com/.a/6a00d8341c53ec53ef014e869ae1a3970d-800wi" title="MH900434407_edited-1" /></a>&#0160;</p>
<p>Anyone who follows both sites knows there are many areas of redundancies.&#0160; For example, the department in which I was a contract blogger for 13 weeks - AOL Jobs -
<entry xmlns:gnip="http://www.gnip.com/schemas/2010" xmlns="http://www.w3.org/2005/Atom">
<id>http://speechwriting-ghostwriting.typepad.com/speechwriting_ghostwritin/2011/03/aol-friday-bloody-friday.html</id>
<published>2011-03-09T18:47:27+00:00</published>
<updated>Wed, 09 Mar 2011 16:25:24 GMT</updated>
<title>Jane Genova posted an article on Newsgator</title>
<summary type="html">AOL: Friday, Bloody Friday</summary>
<category term="ArticlePosted" label="Acticle Posted"/>
<link rel="alternate" type="text/html" href="http://feeds.feedburner.com/JaneGenova"/>
<source>
<link rel="self" type="application/atom+xml" href="https://services.newsgator.com/ngws/svc/search.aspx?type=posts&t=friday"/>