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 | |
dd if=/dev/zero of=./test.10G bs=100M count=100 | |
fio --rw=randrw --name=iops-randrw --bs=4k --direct=1 --filename=./test.10G --numjobs=4 --ioengine=libaio --iodepth=32 --refill_buffers --group_reporting --runtime=60 --time_based | |
rm -f test.10G | |
exit 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
<?php | |
// database config | |
$dbhost="localhost"; | |
$dbname="invoiceninja"; | |
$dbuser="invoiceninja"; | |
$dbpass="changeme"; | |
// obtain this by creating an app on https://developer.zettle.com/ | |
// lol | |
$clientid="changeme-izettle-clientid"; | |
$clientsecret="changeme-izettle-clientsecret"; |
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
//ABC JAZZ | |
//mp3: "http://listen.radionomy.com/abc-jazz" | |
//FRISKY FM | |
//mp3: "http://scfire-mtc-aa02.stream.aol.com:80/stream/1015" | |
http://stream2.friskyradio.com:8000/frisky_mp3_hi | |
http://chill.friskyradio.com/friskychill_mp3_high | |
//WWOZ | |
//mp3: "http://wwoz-sc.streamguys.com/wwoz-hi.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
<?php | |
/* | |
purpose: | |
file_get_contents some url, and echo it back to the caller. | |
usage: phproxy.php&url=blah | |
where blah is a urlencoded string, e.g.: |