Send iMessages from the Command Line
Just run the following in your shell:
| ######################### | |
| # .gitignore file for Xcode4 / OS X Source projects | |
| # | |
| # Version 2.1 | |
| # For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects | |
| # | |
| # 2013 updates: | |
| # - fixed the broken "save personal Schemes" | |
| # - added line-by-line explanations for EVERYTHING (some were missing) | |
| # |
| git remote add --track master upstream git://github.com/upstreamname/projectname.git |
| # configuration for osx clipboard support | |
| set-option -g default-command "reattach-to-user-namespace -l sh" |
| #!/bin/bash | |
| # Description of script | |
| # Required program(s) | |
| req_progs=(prog1 prog2) | |
| for p in ${req_progs[@]}; do | |
| hash "$p" 2>&- || \ | |
| { echo >&2 " Required program \"$p\" not installed."; exit 1; } | |
| done |
| #!/bin/bash | |
| # Description of script | |
| # Display usage if no parameters given | |
| if [[ -z "$@" ]]; then | |
| echo " ${0##*/} <input> - description" | |
| exit | |
| fi | |
| # Required program(s) |
| /** | |
| * Small PSR-0 compliant autloader | |
| */ | |
| <?php | |
| set_include_path(get_include_path().PATH_SEPARATOR.__DIR__); | |
| spl_autoload_register( | |
| function ($c) { | |
| @include preg_replace('#\\\|_(?!.*\\\)#','/',$c).'.php'; | |
| } | |
| ); |
| <?php | |
| namespace Renoir\AggregationBundle; | |
| /** | |
| * Abstract client to use for each Client | |
| * | |
| * Example location: src/Renoir/AggregationBundle/AbstractClient.php | |
| **/ |
| <?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. |