Skip to content

Instantly share code, notes, and snippets.

View salicio's full-sized avatar

Roberto Salicio salicio

  • Linube
  • Barakaldo, Spain
View GitHub Profile
@salicio
salicio / lemario.txt
Created November 24, 2020 17:56
Lemario de la RAE
This file has been truncated, but you can view the full file.
"-able", "06VsTFX"
"-acha", "0PIrrVu"
"-acho, cha", "0RmNxEl"
"-achuelo, la", "0SQc5ML"
"-achón", "0SBXoGb"
"-ación", "0UA3ZBx"
"-aco, ca", "0V3Knxa"
"-aco, ca", "0V3n0PM"
"-ada", "0gYeQoM"
"-adero, ra", "0jP2F4J"
@salicio
salicio / sunrise.php
Last active May 4, 2016 08:32 — forked from badfeather/sunrise.php
Allow nested folder paths in WordPress Multisite with subdirectories
<?php
/**
* Allow nested folder paths in WordPress Multisite with subdirectories
* Updated from http://maisonbisson.com/post/14052/wordpress-hacks-nested-paths-for-wpmu-blogs/ to account for latest WordPress code
* .htaccess rules also need to be changed to:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
/*
As of version 1.1.2, Propane will load and execute the contents of
~Library/Application Support/Propane/unsupported/caveatPatchor.js
immediately following the execution of its own enhancer.js file.
You can use this mechanism to add your own customizations to Campfire
in Propane.
Below you'll find two customization examples.
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
G="\033[1;32m"
R="\033[1;31m"
B="\033[1;34m"
N="\033[0m"
if [ $# -ne 1 ]
then
echo "Usage: `basename $0` app_name"