I hereby claim:
- I am thomasrag on github.
- I am thomasrag (https://keybase.io/thomasrag) on keybase.
- I have a public key ASCRwo_gWvY16Uhm5__nVgjLnM6ay6GZ61ddNp6RzYs3iQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
$compose = function($f, $g){ | |
return function($x) use ($f,$g) { | |
return $f($g($x)); | |
}; | |
}; | |
$toUpperCase = function($x) { | |
return strtoupper($x); | |
}; |
download and install Solr from http://lucene.apache.org/solr/.
you can access Solr admin from your browser: http://localhost:8983/solr/
use the port number used in installation.
<?php | |
$image = imagecreatefromjpeg($_GET['src']); | |
$filename = 'images/cropped_whatever.jpg'; | |
$thumb_width = 200; | |
$thumb_height = 150; | |
$width = imagesx($image); | |
$height = imagesy($image); |