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
<form method='post' action="http://localhost:3000/api/images/new" enctype="multipart/form-data"> | |
<input type="file" name="image" /> | |
<input type="submit" /> | |
</form> |
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
ld: warning: in /usr/lib/haxe/lib/nme/1,0,2/ndll/iPhone/libNME.iphoneos.a, file was built for unsupported file format which is not the architecture being linked (i386) | |
ld: warning: in /Users/alec/Documents/haxe/static-sdl/sdl-static-read-only/libfreetype.iphoneos.a, file was built for unsupported file format which is not the architecture being linked (i386) | |
ld: warning: in /Users/alec/Documents/haxe/static-sdl/sdl-static-read-only/libjpeg.iphoneos.a, file was built for unsupported file format which is not the architecture being linked (i386) | |
ld: warning: in /Users/alec/Documents/haxe/static-sdl/sdl-static-read-only/libogg.iphoneos.a, file was built for unsupported file format which is not the architecture being linked (i386) | |
ld: warning: in /Users/alec/Documents/haxe/static-sdl/sdl-static-read-only/libpng.iphoneos.a, file was built for unsupported file format which is not the architecture being linked (i386) | |
ld: warning: in /Users/alec/Documents/haxe/static-sdl/sdl-static-read-only/libSDL.iphoneos.a, file was |
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
function calcMostCommonDiff($orig, $files) { | |
$mismatches = array(); | |
$inRow = 0; | |
$firstLength = strlen(reset($orig)); | |
$firstFile = reset($orig); | |
foreach($files as $file) { | |
$inRow = 0; | |
for($i = 0; $i < $firstLength; $i++) { |
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
<pre><?php | |
function array_insert($array,$pos,$val) { | |
$array2 = array_splice($array,$pos); | |
$array[] = $val; | |
$array = array_merge($array,$array2); | |
return $array; | |
} |
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
function num_exchange ($int) { | |
$arr = array('W','x','J','y','5','v','l','0','R','M'); | |
return $arr[$int]; | |
} | |
function num_rev_exchange ($let) { | |
$arr = array('W','x','J','y','5','v','l','0','R','M'); | |
return array_search($let, $arr); | |
} | |
function rand_char_for_n ($n) { | |
while($c <= $n) { |
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
function range ( low, high, step ) { | |
// http://kevin.vanzonneveld.net | |
// + original by: Waldo Malqui Silva | |
// * example 1: range ( 0, 12 ); | |
// * returns 1: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12] | |
// * example 2: range( 0, 100, 10 ); | |
// * returns 2: [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100] | |
// * example 3: range( 'a', 'i' ); | |
// * returns 3: ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i'] | |
// * example 4: range( 'c', 'a' ); |
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 | |
class WebService extends Attribute { | |
public $baseURI = ""; | |
public $name = ""; | |
public $desc = ""; | |
public function __construct ($baseURI, $name, $desc) { | |
$this->baseURI = $baseURI; | |
$this->name = $name; |
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
2011-02-27 13:58:48 [INFO] alecgorge [/127.0.0.1:57726] logged in with entity id | |
249 | |
java.lang.NoSuchMethodError: OPlayerManager.a(LOPlayerManager;)Lnet/minecraft/se | |
rver/MinecraftServer; | |
at OPlayerInstance.<init>(SourceFile:31) | |
at OPlayerManager.a(OPlayerManager.java:29) | |
at OPlayerManager.a(OPlayerManager.java:56) | |
at OServerConfigurationManager.a(OServerConfigurationManager.java:78) | |
at ONetLoginHandler.b(SourceFile:114) | |
at ONetLoginHandler.a(SourceFile:37) |
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
{ | |
"as_of": "Wed, 18 May 2011 22:35:04 +0000", | |
"trends": [{ | |
"url": "http:\/\/search.twitter.com\/search?q=%23itshardwhen", | |
"name": "#itshardwhen" | |
}, { | |
"url": "http:\/\/search.twitter.com\/search?q=%23myfavoriteartist", | |
"name": "#myfavoriteartist" | |
}, { | |
"url": "http:\/\/search.twitter.com\/search?q=%23thatstheone", |
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
[alec@server node-v0.6.3]# npm | |
npm ERR! Error: ENOENT, no such file or directory '/usr/local/lib/node_modules/npm/man/man1/' | |
npm ERR! Report this *entire* log at: | |
npm ERR! <http://github.com/isaacs/npm/issues> | |
npm ERR! or email it to: | |
npm ERR! <npm-@googlegroups.com> | |
npm ERR! | |
npm ERR! System Linux 2.6.18-194.17.1.el5.028stab070.7 | |
npm ERR! command "node" "/usr/local/bin/npm" | |
npm ERR! cwd /tmp/node-v0.6.3 |
OlderNewer