Montag, 21. Dezember 2015

JS Console auf Smartphone

https://github.com/bahmutov/console-log-div

Mittwoch, 13. Mai 2015

Force Java 7 on OSX

export JAVA_HOME=`/usr/libexec/java_home -v 1.7`

Donnerstag, 18. September 2014

Debug PHP-Cli with PHPStorm, Zend Debugger, Vagrant

Debug start

export PHP_IDE_CONFIG="serverName=vagrant"

export QUERY_STRING="start_debug=1&debug_port=10137&debug_host=10.0.2.2&debug_stop=1"

Debug stop

export QUERY_STRING="stop_debug=1&debug_port=10137&debug_host=10.0.2.2&debug_stop=1"
And don't forget to actually make a server config "vagrant" in PHPStorm

Donnerstag, 10. Oktober 2013

ZendOptimizer and MAMP on OSX

http://www.cbeier.net/blog/weblog/zend-optimizer-unter-mamp-2-x

Montag, 27. Mai 2013

How to list all network connections (including which app they belong to)
lsof -i -nP
from http://ananthchellathurai.blogspot.de/2013/05/collection-of-very-interesting-unix.html

Donnerstag, 16. Mai 2013

Mittwoch, 16. November 2011

Home / End OSX Terminal

In order to get page up and page down to work properly under Mac OSX Terminal, as well as the home and end of line, you need to go to Terminal Preferences and then Keyboard and configure the right escape key sequences: Key Escape Sequence Home \033OH End \033OF The O's are captital 'O's as in Omaha not 0/zero.