I hereby claim:
- I am sbruggmann on github.
- I am sbruggmann (https://keybase.io/sbruggmann) on keybase.
- I have a public key ASDvZgElLnPTF7Au6zberEncb-qrKN9mCD-YGsNeU5Kyygo
To claim this, I am signing this object:
START TRANSACTION; | |
SET NAMES utf8 COLLATE utf8_unicode_ci; | |
alter database YOUR_DATABASE default character set utf8; | |
alter database YOUR_DATABASE default collate utf8_unicode_ci; | |
SET @whereLikePath = '%node-57fe3793425c0%'; | |
SET @oldPath = '/sites/theme/node-57fe3793425c0'; | |
SET @newPath = '/sites/theme/node-nm3vs6pu3hzod/node-57fe3793425c0'; | |
SET @oldParentpath = '/sites/theme'; | |
SET @newParentpath = '/sites/theme/node-nm3vs6pu3hzod'; |
prototype(Vendor.Package:WrapSvg) < prototype(Fusion:Tag) { | |
sizes = ${String.pregMatch(value, '/viewBox="(\d+) (\d+) (\d+) (\d+)"/i')} | |
width = ${this.sizes[3] - this.sizes[1]} | |
height = ${this.sizes[4] - this.sizes[2]} | |
ratio = ${this.height / this.width * 100} | |
@context.ratio = ${this.ratio} | |
tagName = 'div' | |
attributes { | |
class = 'svg-wrap' |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
if [ -z "$1" ]; then | |
echo "please add a target repository" | |
exit | |
fi; | |
rm -rf .git | |
hg checkout tip --clean |
TYPO3: | |
Flow: | |
core: | |
phpBinaryPathAndFilename: '/home/username/php70ml512' |
# add "source ~/.bash_ssh" to your .bash_profile | |
# execute ssh-add-shortcut | |
ssh-add-shortcut() { | |
if [ -z "$1" ]; then | |
echo "" | |
echo "add and open:" | |
echo "# ssh-add-shortcut MyShortname user@server.com" | |
echo "" | |
echo "open:" |
# EditorConfig is awesome: http://EditorConfig.org | |
# top-most EditorConfig file | |
root = true | |
# 4 tab; default | |
# html, css, scss, js, .. | |
[*] |
# add to your .bash_profile, copy android-backup-files.sh & android-restore-files.sh to /Users/YOUR_USERNAME/ and reload the terminal to use the shortcuts.. | |
# important, not all apps and data can backed up | |
alias android-backup-apps='echo "enter sudo password:"; /Applications/Android\ Studio.app/sdk/platform-tools/adb backup -apk -shared -all -f "/Users/YOUR_USERNAME/Documents/privat/backups/android-backup-full-$(date +%Y%m%d).ab"' | |
# to restore call (change the date): | |
# /Applications/Android\ Studio.app/sdk/platform-tools/adb restore /Users/YOUR_USERNAME/Documents/privat/backups/android-backup-full-YYY-MM-DD.ab | |
# important, add the paths to backup in both files | |
alias android-backup-files='echo "enter sudo password:"; ~/android-backup-files.sh;' | |
alias android-restore-files='echo "enter sudo password:"; ~/android-restore-files.sh;' |
<?php | |
namespace My\Package\Controller; | |
class PersonsController extends ActionController { | |
/** | |
* @return void | |
*/ | |
public function personsAction() { |
<?php | |
namespace My\Custom\Controller; | |
use TYPO3\Flow\Annotations as Flow; | |
class StandardController extends \TYPO3\Flow\Mvc\Controller\ActionController { | |
/** | |
* @Flow\Inject | |
* @var \TYPO3\Flow\I18n\Service |