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
@ECHO OFF | |
::mysql | |
pushd C:\WebServer\mariadb\bin | |
START /b mysqld.exe | |
ECHO Starting mysql ...... | |
:: apache2 | |
pushd C:\WebServer\apache\bin | |
START /b httpd.exe |
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
# create a ts3 user | |
adduser --disabled-login ts3 | |
# Get the latest TeamSpeak 3 server files for 64-bit Linux. | |
wget http://dl.4players.de/ts/releases/3.1.1/teamspeak3-server_linux_amd64-3.2.3.tar.bz2 | |
# Extract the archive. | |
cd /opt |
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
#!/usr/bin/env php | |
<?php | |
$sock = socket_create(AF_INET, SOCK_STREAM, 0); | |
$bind = socket_bind($sock, "127.0.0.1", "9000"); | |
$listen = socket_listen($sock); | |
echo "\n starting server 127.0.0.1:9000\n\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
<?php | |
class Event | |
{ | |
public function fire($event, $params = NULL) | |
{ | |
return call_user_func($this->{"on".ucfirst($event)}); | |
} | |
} |
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
0-mail.com | |
0815.ru | |
0clickemail.com | |
0wnd.net | |
0wnd.org | |
10minutemail.com | |
20minutemail.com | |
2prong.com | |
30minutemail.com | |
3d-painting.com |
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
class Router | |
{ | |
private $methods = array( | |
"GET", "POST", "PUT", | |
"PURGE", "DELETE" | |
); | |
private $routes; | |
public function __call($name, $arguments) |
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
$phinxApp = new \Phinx\Console\PhinxApplication(); | |
$phinxTextWrapper = new \Phinx\Wrapper\TextWrapper($phinxApp); | |
$phinxTextWrapper->setOption('configuration', 'phinx.yml'); | |
$phinxTextWrapper->setOption('parser', 'YAML'); | |
$phinxTextWrapper->setOption('environment', 'development'); | |
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
#include <iostream> | |
// dowload sqlite-amalgamation | |
// include header and link with sqlite3.o after creating object file from sqlite3.c | |
#include "../sqlite3/sqlite3.h" | |
static int callback(void *NotUsed, int argc, char **argv, char **azColName) { | |
return 0; | |
} | |
class Sqlite |