I hereby claim:
- I am millsoft on github.
- I am milmike (https://keybase.io/milmike) on keybase.
- I have a public key ASDb35tN7W9gVrG253oeQ_AIp8LZI3bqywgDDIrAAT_5Xgo
To claim this, I am signing this object:
This is just a friendly hello world. | |
sincerely. | |
Michael. |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
Globale Git Einstellungen bearbeiten: | |
git config --global -e | |
Git credentials für 1 Stunde zwischenspeichern: | |
git config --global credential.helper 'cache --timeout 3600' |
https://github.com/marcj/php-rest-service |
I hereby claim:
To claim this, I am signing this object:
<?php | |
$cmd = 'nohup nice -n 10 php -f longprocess.php > log_from_caller.txt & printf "%u" $!'; | |
$pid = shell_exec($cmd); |
<?php | |
/** | |
* Configuration | |
*/ | |
class Conf{ | |
public static $configFile = "config.json"; | |
private static $currentConfig = array(); |
<?php | |
$d = new Db($conf); | |
$sql = <<<sql | |
SELECT id,name_de, id_events__parent, start | |
FROM events | |
WHERE isArchived != 1 | |
ORDER BY id_events__parent,id,start |
#!/bin/sh | |
exec /opt/sublime_text/sublime_text "$@" | |
wmctrl -ia `wmctrl -l | tail -n 1 | awk '{print $1}'` |
<?php | |
//Alternativer Merger der mit Linux Funktionen die Chunks zusammenfügt. | |
//Wegen Domainfactory - denn dort kann man mit den Standard-Funktionen von fineuploader nur max. 2 GB große Dateien erstellen... | |
error_reporting(E_ALL); | |
ini_set('display_errors', 1); | |
set_time_limit(0); |