Instructor: Jeffrey Way
To get up and running quickly on Ubuntu 12.04, try XAMPP for Linux.
| data:text/html, <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;font-size:16px}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/php");</script> |
| [ | |
| { | |
| "class": "sidebar_container", | |
| "layer0.tint": [60, 60, 60], | |
| "layer0.opacity": 1.0, | |
| "layer0.draw_center": false, | |
| "layer0.inner_margin": [0, 0, 1, 0], | |
| "content_margin": [0, 0, 1, 0] | |
| }, | |
| { |
| h1. Sublime Text 2 - Useful Shortcuts (PC) | |
| Loosely ordered with the commands I use most towards the top. Sublime also offer "full documentation":http://www.sublimetext.com/docs/2/. | |
| h2. Editing | |
| | *Ctrl+C* | copy current line (if no selection) | | |
| | *Ctrl+X* | cut current line (if no selection) | | |
| | *Ctrl+⇧+K*| delete line | | |
| | *Ctrl+↩* | insert line after | |
Instructor: Jeffrey Way
To get up and running quickly on Ubuntu 12.04, try XAMPP for Linux.
$ brew install https://raw.github.com/paulnicholson/homebrew/master/Library/Formula/stud.rb$ curl https://raw.github.com/gist/2050941/3ea59efe8c7e9013c265313045a9fdda5c653963/powssl > ~/bin/powssl
$ chmod +x ~/bin/powssl$ powsslA list of amazingly awesome PHP libraries, resources and shiny things.
| <?php | |
| $env = $app->detectEnvironment(function() { | |
| return getenv('[APPNAME]_ENV') ?: 'development'; | |
| }); | |
| { | |
| "name": "phpunit", | |
| "description": "PHPUnit Composer Package", | |
| "require": { | |
| "phpunit/phpunit": "3.7.*" | |
| }, | |
| "config": { | |
| "bin-dir": "/usr/local/bin/" | |
| } | |
| } |
| alias gundo='git reset HEAD~ && git clean -df' |
| #!/bin/bash | |
| # | |
| # Display usage info | |
| vhost-usage() { | |
| cat <<"USAGE" | |
| Usage: vhost [OPTIONS] <name> | |
| -h|--help this screen | |
| -pub to create the webhost root in ~/www/name/public/ | |
| -url to specify a local address, default is http://name.local |