Skip to content

Instantly share code, notes, and snippets.

everyauth.debug = true;
everyauth.openid
.myHostname('http://local.host:3000')
.simpleRegistration({
"nickname" : true
, "email" : true
, "fullname" : true
, "dob" : true
, "gender" : true
get '/?', (page, model) ->
model.subscribe
where:
songname: 'Reba'
skip: 10
limit: 5
, (err, video) ->
videos = model.get 'videos'
page.render
query = model.query('videos').where('songname').equals('Reba')
model.subscribe query, (err, video) ->
console.log video
if err
console.log err
[{
"showid": "1318359495",
"showdate": "2011-12-31",
"showyear": "2011",
"city": "New York",
"state": "NY",
"country": "USA",
"venue": "Madison Square Garden",
"setlistnotes": "Fluffhead contained an Auld Lang Syne tease from Trey. Light featured Page on theremin. Prior to Steam, a steam kettle and hot plate went off on stage, with Trey acting like he was attempting to put out the steam. Shortly after the song began, steam also came from the floor near the soundboard area. An amp (with the steam kettle on it), a keytar, a bass, a vacuum, and a few lights were then lifted off the stage. A woman in the front of the stage tossed a “Steam” sign into the front row, then rose with a barricade and security guard before eventually being lifted up over the band. Several other aerialists (clothed in various casual attire, equipped with black backpacks emitting smoke and lights on their backs) subsequently rose up from the crowd and ascended and descended several times. The fi
@switz
switz / 2011.json
Created May 16, 2012 02:52
Phish Shows in 2011
{
"year": 2011,
"shows": [
{
"month": 1,
"day": 1,
"venue": "Madison Square Garden",
"showid": 1285281186
},
{
{
"setlist": [
[
{
"title": "Free",
"url": "http://phish.net/song/free",
"segue": "",
"number": 1
},
{
#<Hashie::Mash filename="circle.jpg" head="Content-Disposition: form-data; name=\"icon\"; filename=\"circle.jpg\"\r\nContent-Type: image/jpg\r\nContent-Length: 3269\r\n" name="icon" tempfile=#<File:/var/folders/0y/8n9zxyp529s5nqx9cr1vkdzc0000gn/T/RackMultipart20120705-19430-ukgjx5> type="image/jpg">
#!/bin/bash
function synth {
play -n synth 3 $(
for note in $(echo "$1"); do
echo square $note
done
) tempo "$2"
}
<div id="year-list-container">
<ul>
<li><a class="year blue 2012" href=/2012>2012</a></li>
<li><a class="year blue 2011" href=/2011>2011</a></li>
<li><a class="year blue 2010" href=/2010>2010</a></li>
<li><a class="year blue 2009" href=/2009>2009</a></li>
<li><a class="year blue 2004" href=/2004>2004</a></li>
<li><a class="year blue 2003" href=/2003>2003</a></li>
<li><a class="year blue 2000" href=/2000>2000</a></li>
<li><a class="year blue 1999" href=/1999>1999</a></li>
prompt: Is this ok?: (yes) yes
info: Creating snapshot 0.0.0-4
info Uploading: [ ] 0%
info: Updating app PhishVids
info: Activating snapshot 0.0.0-4 for PhishVids
info: Starting app PhishVids
error: Error running command deploy
error: socket hang up
info:
jitsu's client request timed out before the server could respond