This file contains hidden or 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
| # Personal | |
| alias p="pwd" | |
| alias vm="cd /Users/bertillon/Sites/developmentVM && vagrant" | |
| alias vmssh="vm ssh" | |
| alias pg="ping 8.8.8.8" | |
| alias hacksensio="sudo ifconfig en0 lladdr #taCruLustucru" | |
| alias t="multitail" | |
| alias mo='meteor' | |
| alias gremot='git remote show origin' | |
| alias fig='docker-compose' |
This file contains hidden or 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 | |
| register_tick_function(function() { | |
| $bt = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 1); | |
| $last = reset($bt); | |
| $info = sprintf("%s +%d\n", $last['file'], $last['line']); | |
| file_put_contents('/tmp/segfault.txt', $info, FILE_APPEND); | |
| // or | |
| // file_put_contents('php://output', $info, FILE_APPEND); | |
| }); |