Skip to content

Instantly share code, notes, and snippets.

308 <13>1 2013-04-12T16:21:26.944395+00:00 app web.1 - - ** [NewRelic][04/12/13 16:21:26 +0000 (9)] ERROR : Error running task in Agent Worker Loop 'end of file reached': /usr/local/lib/ruby/1.9.1/net/protocol.rb:135:in `read_nonblock'
<!-- Credport -->
<li class="about-timeline-entry flippable" data-importance='2'>
<div class="about-timeline-entry-card">
<img src="<%= image_path 'credport.png' %>" style='height:150px;' alt="">
<h5>Credport</h5>
<p>Co-Founded my first company with Connor, my roommate from college. Rollercoaster would be an understatement.</p>
<footer>
<div class="location">
Boston, MA and Berlin, Germany
</span>
require 'json'
# Parse CMD Args
template_file = ARGV.first
data_json = ARGV[1]
output_file = ARGV.last
# Read Files
data = JSON.parse open(data_json).read()
template = open(template_file).read()
import numpy as numpy
import scipy.sparse as sps
import scipy.linalg as linalg
import scipy.cluster.vq as vq
data = numpy.genfromtxt('matrix.txt', dtype=[('from', numpy.intp), ('to', numpy.intp)])
data['from'] = [i - 1 for i in data['from']]
# Fetch pins
while true
Bookmark.first.destroy
while Pin.count < 10000
c = Pin.count
puts c
Pin.fetch_pins
break if Pin.count == c
end
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Nam subscriptions in feedly Cloud</title>
</head>
<body>
<outline text="Inspiring Stuff" title="Inspiring Stuff">
<outline type="rss" text="Hank Bought A Bus" title="Hank Bought A Bus" xmlUrl="http://www.hankboughtabus.com/feed" htmlUrl="http://www.hankboughtabus.com"/>
</outline>
<?xml version="1.0" encoding="UTF-8"?>
<osm version="0.6" generator="CGImap 0.3.3 (25325 thorn-01.openstreetmap.org)" copyright="OpenStreetMap and contributors" attribution="http://www.openstreetmap.org/copyright" license="http://opendatacommons.org/licenses/odbl/1-0/">
<bounds minlat="-15.8711000" minlon="49.0616000" maxlat="-15.8419000" maxlon="49.1083000"/>
<node id="355502902" visible="true" version="1" changeset="734089" timestamp="2009-03-04T07:45:02Z" user="katpatuka" uid="17497" lat="-15.3453369" lon="48.9974785"/>
<node id="355502903" visible="true" version="1" changeset="734089" timestamp="2009-03-04T07:45:02Z" user="katpatuka" uid="17497" lat="-15.3528233" lon="48.9925232"/>
<node id="355502905" visible="true" version="1" changeset="734089" timestamp="2009-03-04T07:45:03Z" user="katpatuka" uid="17497" lat="-15.3671474" lon="48.9900093"/>
<node id="355502907" visible="true" version="1" changeset="734089" timestamp="2009-03-04T07:45:03Z" user="katpatuka" uid="17497" lat="-15.3803511" lon="48.985
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<?xml version="1.0" encoding="UTF-8"?>
<osm version="0.6" generator="Overpass API">
<note>The data included in this document is from www.openstreetmap.org. The data is made available under ODbL.</note>
<meta osm_base="2014-04-11T03:45:02Z"/>
<relation id="2186658">
<member type="way" ref="254655854" role="outer"/>
<member type="way" ref="254655852" role="outer"/>
<member type="way" ref="254682902" role="outer"/>
<member type="way" ref="254682901" role="outer"/>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.