I hereby claim:
- I am wolffc on github.
- I am cwolff (https://keybase.io/cwolff) on keybase.
- I have a public key ASBDkkbdq0oQ8k4tf3-DRI7lZRLDrHUDcgMFXZm_pcn4jAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
namespace Aerticket\delay; | |
/** | |
* Script for Delaying Content Delivery for certain Resources | |
*/ | |
/** | |
* Created by PhpStorm. | |
* User: cwolff | |
* Date: 05.12.2017 |
<?php | |
$testruns = 10000000; | |
$controllruns = 3; | |
$var = 12; | |
$var2 = 'bar'; | |
$var3 = 'foo'; | |
echo 'PHP Version: ' . phpversion() . PHP_EOL; | |
echo 'Operating System: ' . php_uname() . PHP_EOL; |
<?php | |
$data = array(); | |
$directoryHandle = dir(__DIR__); | |
$path = $directoryHandle->path .'/'; | |
while (false !== ($entry = $directoryHandle->read())) { | |
if(is_file($path.$entry) && substr($entry, 0) !== '.'){ | |
$hash = md5_file($path.$entry); | |
$data[$hash][] = $path.$entry; | |
} |
<?php | |
class foo { | |
/** | |
* keep trac if we have created a custom error. | |
* @var boolean | |
*/ | |
protected $hasCustomError = false; |
#!/bin/bash | |
## This script Converts the Typo3 Database to the Correct encoding | |
## by Exporting the database converting it and importing it agaion; | |
## CONFIGURATION: | |
DATE=$(date +"%Y%m%d%H%M") | |
FILENAME="temp_mysqldump_for_utf8conversion_$DATE.sql" | |
if [ -n "$1" ] || [-n "$2"] | |
then | |
echo "Create dump" |
#!/bin/bash | |
# | |
# Creates a backup of a database in mirgrates every table to UTF-8 Including Collation | |
# written by christian Wolff [email protected] | |
## Configuration | |
DB_USER=$1 | |
DB_PASS=$2 | |
DB_NAME=$3 |
[gui] | |
[user] | |
name = Christian Wolff | |
email = [email protected] | |
[gui] | |
encoding = utf-8 | |
[core] | |
excludesfile = ~/.gitignore_global | |
[alias] |
fetch package control install: http://wbond.net/sublime_packages/package_control/installation#ST3
<?php | |
/** | |
* SQL Splitter class | |
* for splitting SQL dumps into multiple files for better upload to webfrontends like | |
* phpMyAdmin | |
* author: christian Wolff | |
*/ | |
class sqlSplit{ | |
/** | |
* The preg Condtion used vor detecting splitable lines. we dont want to split between an multilien STatement |