Skip to content

Instantly share code, notes, and snippets.

View therobot's full-sized avatar

Jacobo García López de Araujo therobot

View GitHub Profile
@therobot
therobot / gist:7059925
Last active December 25, 2015 23:49 — forked from anonymous/gist:7059898
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<meta content="0" http-equiv="Expires"></meta>
<meta content="no-cache" http-equiv="Cache-Control"></meta>
<meta content="no-cache/cache" http-equiv="Pragma"></meta>
<title> … </title>
<meta name="description" content="Love & Hate"></meta>
<link media="screen" type="text/css" href="css/estilo.css" rel="StyleSheet"></link>
@therobot
therobot / gist:3314395
Created August 10, 2012 13:59 — forked from ferblape/gist:3314376
La mejor hamburguesa de Madrid™
1. Alfredos
2. New York Burger
3. Homeburger
4. Tate's
5. La vaca picada
@therobot
therobot / lets
Created December 23, 2010 14:46 — forked from afgomez/lets.sh
#!/bin/bash
# lets. A productivity booster
# based on ideas from https://gist.github.com/605292
#
# Copy your /etc/hosts to /etc/hosts.play and create a new one called /etc/hosts.work with a list of blocked sites
# Usage: sudo lets [play|work]
if [ $# = 0 ]
then
A backup of http://sites.google.com/site/redcodenl/creating-shazam-in-java-1 just in case
Why is this necessary? Read http://sites.google.com/site/redcodenl/patent-infringement
Please fork, tweet about, etc.
----
Creating Shazam in Java
A couple of days ago I encountered this article: How Shazam Works
This got me interested in how a program like Shazam works… And more importantly, how hard is it to program something similar in Java?
#!/usr/bin/env bash
# By: Ernesto Jiménez <erjica@gmail.com>
#
# This script will generate aliases for all your applications
# in your /Applications folder in OS X allowing you to easily
# open applications from your command line.
# Examples:
# safari http://ernesto-jimenez.com
# finder ~
# quicktime-player /path/to/video.mov