fetch package control install: http://wbond.net/sublime_packages/package_control/installation#ST3
- Package Control -- packet installer
- ApacheConf.tmLanguage -- syntax highliting für apache conf language
### this is the Global Git Ignore file | |
# OS generated files # | |
###################### | |
.DS_Store | |
.DS_Store? | |
._* | |
.Spotlight-V100 | |
.Trashes | |
Icon? |
// jQuery Module Pattern | |
(function($) { | |
// The jQuery function | |
$.MyModuleName = function(options) { | |
var mod = { | |
options: $.extend( | |
// Default Options | |
{ | |
'optionaName1': 'defaultValue', | |
'optionaName2': 'defaultValue2', |
<?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 |
fetch package control install: http://wbond.net/sublime_packages/package_control/installation#ST3
[gui] | |
[user] | |
name = Christian Wolff | |
email = [email protected] | |
[gui] | |
encoding = utf-8 | |
[core] | |
excludesfile = ~/.gitignore_global | |
[alias] |
#!/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 |
#!/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" |
<?php | |
class foo { | |
/** | |
* keep trac if we have created a custom error. | |
* @var boolean | |
*/ | |
protected $hasCustomError = false; |
<?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 | |
$testruns = 10000000; | |
$controllruns = 3; | |
$var = 12; | |
$var2 = 'bar'; | |
$var3 = 'foo'; | |
echo 'PHP Version: ' . phpversion() . PHP_EOL; | |
echo 'Operating System: ' . php_uname() . PHP_EOL; |