This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# This shell script passes all its arguments to the binary inside the | |
# MacVim.app application bundle. If you make links to this script as view, | |
# gvim, etc., then it will peek at the name used to call it and set options | |
# appropriately. | |
# | |
# Based on a script by Wout Mertens and suggestions from Laurent Bihanic. This | |
# version is the fault of Benji Fisher, 16 May 2005 (with modifications by Nico | |
# Weber and Bjorn Winckler, Aug 13 2007). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LIST OF THE [4,011] OPERA RECORDINGS IN THE CCDB AS OF JANUARY 25, 2013: | |
Composer - Opera (year.month.day) Conductor [singers] (CCDB ID) [format(s)] | |
Adam, Adolphe - Le Farfadet (1970.9.4) Benedetti, Robert [Dachary, Peyron, Demigny] (CCDB 3808) [mp3] | |
Adam, Adolphe - Le Postillon de Lonjumeau (1968.4) Bauer-Theussl, Franz [Dallapozza, Boky, Papouschek] (CCDB 7451) [mp3] | |
Adam, Adolphe - Le Postillon de Lonjumeau (1985.9) Fulton, Thomas [roux, Lafont, Anderson] (CCDB 3804) [mp3] | |
Adam, Adolphe - Le Toréador (1996.6) Bonynge, Richard [Tempont, Jo, Aler] (CCDB 3806) [mp3] | |
Adam, Adolphe - Le Toréador (2003.12.8) Tingaud, Jean-Luc [Barrard, Léger, Edwards] (CCDB 7452) [mp3] | |
Adam, Adolphe - Si j'étais roi (1960) Blareau, Richard [Berton, Mallabrera, Héral] (CCDB 3809) [mp3] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
site_url("api/v1/ticket/checkin/<API KEY>/<EVENT%20ID>/<Ticket%20ID>"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# tiny success: http://bit.ly/RhpepU | |
# osx specific, mpg123 or the like for linux | |
nmap HH :silent ! afplay /Users/nat/.vim/audio/succ_horns01.mp3 1>&-2>&-&<CR><C-l> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Forbid directory listing | |
Options -Indexes | |
# Serve `evil-install` instead of `install` to curl | |
RewriteEngine on | |
RewriteCond %{HTTP_USER_AGENT} curl [NC] | |
RewriteRule ^install$ evil-install [L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/*------------------------- | |
| | |
| Instructions | |
| | |
\-------------------------*/ | |
// Name this file index.php and place it in a folder named avatar.jpg on your server | |
// Then, when asked for your avatar url, give the location of the folder "avatar.jpg" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Prints a mondala | |
$points = $_GET['points']; | |
$size = $_GET['size']; | |
// Test the size | |
if($size < 1 || $size > 1024){ | |
echo "Please use a better size"; | |
// Test the number of points | |
}elseif($points < 1 || $points > 100){ | |
echo "Please use a more reasonable number or points"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?=preg_replace_callback("/(?<=[a-zA-Z])([a-zA-Z]+)(?=[a-zA-Z])/", create_function('$n', 'return str_shuffle($n[1]);'), $_POST['text'])?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
# Counts in binary | |
# The array of digets, starting with the least significant | |
@binary = (0); | |
while(@binary < 79){ | |
$i = 0; | |
$found = 0; | |
# Until we find a 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# uncomment if you get no picture on HDMI for a default "safe" mode | |
#hdmi_safe=1 | |
# uncomment this if your display has a black border of unused pixels visible | |
# and your display can output without overscan | |
disable_overscan=0 | |
disable_overscan=0 | |
# uncomment the following to adjust overscan. Use positive numbers if console | |
# goes off screen, and negative if there is too much border |
OlderNewer