This file contains 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 | |
/* | |
* Log a PHP variable to javascript console. Relies on getDump(), below. | |
* | |
* @access public | |
* @param mixed $var The variable to dump. | |
* @param string $prefix A short note to print before the output to make identifying output easier. | |
* @param string $file The value of __FILE__. | |
* @param string $line The value of __LINE__. | |
* @return null |
This file contains 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 | |
usage () { | |
echo "Usage: $(basename $0) FILENAME"; | |
echo "You will be prompted for title, desc, and tags."; | |
exit 1; | |
} | |
[[ -z "$@" ]] && usage; |