| ⌘T | go to file |
| ⌘⌃P | go to project |
| ⌘R | go to methods |
| ⌃G | go to line |
| ⌘KB | toggle side bar |
| ⌘⇧P | command prompt |
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/bash | |
| # Simple logging function that adds a timestamp, the script name and the script PID to | |
| # the message and writes the output to both STDOUT and to a log file. | |
| # | |
| # Usage: | |
| # 1. Either source this file in your script or copy-paste the log function in it. | |
| # 2. Invoke the log function: | |
| # | |
| # log "message" | |
| # |