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 | |
/** | |
* @name Mutlidimensional Array Sorter. | |
* @author Tufan Barış YILDIRIM | |
* @link http://www.tufanbarisyildirim.com | |
* @github http://github.com/tufanbarisyildirim | |
* | |
* This function can be used for sorting a multidimensional array by sql like order by clause | |
* | |
* @param mixed $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
#!/bin/bash | |
## FORSTWOOF UBUNTU PRESEED :: BUILD SCRIPT | |
# Quit on first error | |
set -e | |
# Temporary directory for the build | |
TMP="/var/tmp/ubuntu-build" |
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
// origin: http://www.google.com/support/forum/p/Chrome/thread?tid=1a37ccbdde5902fd&hl=en | |
javascript: | |
timeout=prompt("Set timeout [s]"); | |
current=location.href; | |
if(timeout>0) | |
setTimeout('reload()',1000*timeout); | |
else | |
location.replace(current); | |
function reload(){ |