- Extend your class with Debugable trait
- (optional) write initialCommands in build.sbt
- run sbt REPL on file chage
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 | |
| $a = [1,2]; | |
| function f($b) { | |
| xdebug_debug_zval('b'); | |
| return [$b[1], $b[0]]; | |
| } | |
| xdebug_debug_zval('a'); | |
| $c = f($a); | |
| xdebug_debug_zval('c'); |
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
| #!/bin/sh | |
| # About: | |
| # Execute command when file is changed. | |
| # | |
| # Usage: | |
| # ./iocron.sh filt/to/watch "echo 'command'" | |
| # | |
| # Dependencies | |
| # sudo apt-get install inotify-tools |
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
| #!/bin/sh | |
| # Adds new virtual host to Apache and hosts file. | |
| if [ "$#" -ne 2 ] | |
| then | |
| echo "Usage: addVHost.sh directory domain" | |
| echo "Example: www/myProject myproject.local" | |
| exit 1 | |
| fi |
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
| ~run |
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
| -- clientkeys = | |
| awful.key({ modkey, "Shift" }, "Left", | |
| function (c) | |
| local curidx = awful.tag.getidx() | |
| local screen = mouse.screen | |
| if curidx == 1 then curidx = 9 else curidx = curidx - 1 end | |
| awful.client.movetotag(tags[client.focus.screen][curidx]) | |
| awful.tag.viewonly(tags[screen][curidx]) | |
| end), |
NewerOlder