Skip to content

Instantly share code, notes, and snippets.

View lucasgonze's full-sized avatar

Lucas Gonze lucasgonze

View GitHub Profile
Playdar is special because it is scalable, cheap, and unbundled.
---
It is *scalable* because it is capable of supporting the entire internet.
No single music service can say the same, no matter how big. Every service has its own strengths and weaknesses, with the strengths of one counterbalancing the weaknesses of another.
Spotify is only in Europe, Rhapsody is only in the US. YouTube is the only place for a large pool of amateur content. File sharing networks are the only source for orphaned works that are out of print but still in copyright. Web search is the only way to locate recordings hosted solely by the creators on their own servers. Chinese pop is readily available in businesses that cater to Chinese customers, spanish-language pop is readily available from Latin American companies, and so on for every cultural group on earth, but no business serves all of these customers.
@lucasgonze
lucasgonze / spotifytext2xspf.rb
Created August 10, 2011 21:28
convert Spotify playlist to XSPF, semi-manual
# -*- coding: utf-8 -*-
# Quickie to convert a Spotify playlist into XSPF.
# In Spotify open your playlist, select all tracks, copy.
# Open a text editor and paste.
# You'll have a list of lines formatted as
@lucasgonze
lucasgonze / copbuddymovie.xspf
Created August 27, 2011 00:20
Cop Buddy Movie playlist
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<title>Cop Buddy Movie</title>
<trackList>
<track><creator>Booker T. &amp; The MG's</creator><title>Green Onions</title><album>Green Onions</album></track>
<track><creator>Thin Lizzy</creator><title>Jailbreak</title><album>Jailbreak</album></track>
<track><creator>Bill Carlisle</creator><title>No Help Wanted</title><album>Jumpin' Bill Carlisle</album></track>
<track><creator>John Lee Hooker</creator><title>One Bourbon, One Scotch, One Beer</title><album>20th Century Masters - The Millennium Collection: The Best Of John Lee Hooker</album></track>
<track><creator>David Soul</creator><title>Landlord</title><album>David Soul</album></track>
<track><creator>Sissy Bar</creator><title>Cop &amp; Friend</title><album>Songs For Peeps</album></track>
@lucasgonze
lucasgonze / pompeyranaway.ly
Created November 18, 2011 08:31
Lilypond code for "Pompey Ran Away"
\version "2.14.2"
\header {
copyright = "public domain"
title = "Pompey Ran Away"
subtitle = "from \"A SELECTION of Scotch, Englith, Irith, and Foreign AIRS\"... 1782"
enteredby = "Lucas Gonze <lucas@gonze.com>"
source = "http://soupgreens.com/2011/08/11/legible-sheet-music-for-pompey-ran-away/"
}
Kicking the tires on this here gist.io
--------------------------------------
Checking out http://gist.io.
@lucasgonze
lucasgonze / dmca.txt
Last active December 14, 2015 00:29 — forked from boogah/changelog.md
Template for a DMCA takedown request. Forked from https://gist.github.com/boogah/4439159 See http://jasoncosper.com/dmca-takedown for the back story. See http://www.plagiarismtoday.com/stock-letters/ for another template.
Hello,
I am the copyright holder of content that is currently being hosted without permission on your servers. The infringing content can be found at:
http://infringingurl.com/post-location-1/
http://infringingurl.com/post-location-2/
&c.
This content is a direct copy of my original work at:
@lucasgonze
lucasgonze / gist:7252837
Created October 31, 2013 16:37
Kevin Prichard's account of YouTube DJing at a party.

I've got an old friend living in Seoul now, she says karaoke clubs are still very popular there, that Friday night after work binge drinking usually happens to karaoke.

The YT thing: I used to go to a first Fridays party in NYC with some 2600ers at a geek couple's west vill apt, and YT was the thing. Two monitors, one mirrored to the flat panel TV, with one YT vid playing on-deck, the next getting cued on the second monitor; swap windows when the track ends.

Sometimes it was music, live in concert tracks too, but more often it became viral funny stuff like cat videos, Russian dash cam footage of car wrecks, plane crashes, Ron Paul speeches (popular with that crowd but what a buzz kill) -whatever was on ppl's minds at the time. Audience participation in vid selection was a thing.

$ npm install crater
npm http GET https://registry.npmjs.org/crater
npm http GET https://registry.npmjs.org/crater
npm http GET https://registry.npmjs.org/crater
npm ERR! Error: SSL Error: CERT_UNTRUSTED
npm ERR! at ClientRequest.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/main.js:409:26)
npm ERR! at ClientRequest.g (events.js:185:14)
npm ERR! at ClientRequest.EventEmitter.emit (events.js:88:17)
npm ERR! at HTTPParser.parserOnIncomingClient [as onIncoming] (http.js:1445:7)
npm ERR! at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:111:23)
@lucasgonze
lucasgonze / keybase.md
Created April 11, 2014 22:07
proof gist for keybase

Keybase proof

I hereby claim:

  • I am lucasgonze on github.
  • I am lucasgonze (https://keybase.io/lucasgonze) on keybase.
  • I have a public key whose fingerprint is 20C5 5241 F079 0321 E543 115E 074B 4948 A743 7F4F

To claim this, I am signing this object:

@lucasgonze
lucasgonze / humanians.md
Last active August 29, 2015 13:59
The Humanian Explosion

It's 250,000 years from now and people are moving back to the sea.

The land is crowded with a human population of two trillion. Humans have reached the Malthusian limits of what the land can support. Enough real estate for a bed is too precious for many, and the homeless are in the billions.

Living outdoors from one generation to the next, breeding among themselves on the streets, the homeless have begun to diverge physically. They are becoming a new species.

And nowhere more clearly than among the homeless living on the shore. To compete with commercial fishing and one another, a fringe spends its time literally in the water, as close as possible to edible fish and plants.

Competing for food means getting there first, and getting there first means swimming right up to your catch. Webbed toes help, especially for those too poor to buy fins. The ability to hold your breath longer follows quickly. Larger eyes to see in dark water. New digestive enzymes to process seaweed and kelp. Faster reflexes to catc