This is a local copy of the commands from:
- http://www.jmknoble.net/keys/#master-key
- http://www.macfreek.nl/mindmaster/Convert_GPG_keys_to_subkeys
- Bootable offline cd with gpg: http://tails.boum.org
This is a local copy of the commands from:
This is a PHP (5.3+) microframework based on anonymous functions.
$priority| function cd { | |
| if (("$#" > 0)); then | |
| if [ "$1" == "-" ]; then | |
| builtin popd >/dev/null | |
| elif [ "$1" == "--" ]; then | |
| dirs -v | |
| return $? | |
| elif [ "$1" == "." ]; then | |
| # break out of symlinked dir (cd into realpath) | |
| builtin pushd "`pwd -P`" >/dev/null |
| #!/bin/bash | |
| # | |
| # Steam installer for Debian wheezy (32- and 64-bit) | |
| # | |
| # Place into empty directory and run. | |
| # | |
| download() { | |
| local url="$1" | |
| local filename="$(basename "$url")" |
| <?php | |
| /* From: http://www.php.net/manual/en/function.str-getcsv.php#88773 and http://www.php.net/manual/en/function.str-getcsv.php#91170 */ | |
| if(!function_exists('str_putcsv')) | |
| { | |
| function str_putcsv($input, $delimiter = ',', $enclosure = '"') | |
| { | |
| // Open a memory "file" for read/write... | |
| $fp = fopen('php://temp', 'r+'); | |
| // ... write the $input array to the "file" using fputcsv()... | |
| fputcsv($fp, $input, $delimiter, $enclosure); |
A list of amazingly awesome PHP libraries, resources and shiny things.
| <?php | |
| /** | |
| * SplClassLoader implementation that implements the technical interoperability | |
| * standards for PHP 5.3 namespaces and class names. | |
| * | |
| * http://groups.google.com/group/php-standards/web/final-proposal | |
| * | |
| * // Example which loads classes for the Doctrine Common package in the | |
| * // Doctrine\Common namespace. |