-
Open a browser
# start an instance of firefox with selenium-webdriver $browser_type = 'firefox' $host = 'http://localhost:4444/wd/hub'
$capabilities = array(\WebDriverCapabilityType::BROWSER_NAME => $browser_type);
| # With this nginx configuration, you will be able to serve a Symfony app in a subdirectory | |
| # of a wordpress (or any other PHP application). | |
| server { | |
| listen 80; | |
| listen [::]:80; | |
| server_name mysite.com; | |
| root /var/www/wordpress; | |
| index index.php app.php index.html; |
| # Via @srynearson tweet https://twitter.com/Srynearson/status/534421250261942272 #kudos Bill Mullady | |
| # Re: http://community.arubanetworks.com/t5/Unified-Wired-Wireless-Access/Mac-OS-X-Lion-MacBook-Air-issue/m-p/113885#M24396 | |
| sudo defaults read /Library/Preferences/com.apple.airport.opproam | |
| Password: | |
| { | |
| deltaRSSI = 10; | |
| disabled = 0; | |
| useBonjour = 0; | |
| useBroadcastBSSID = 1; |
| # Capistrano Laravel 4 Deployment Tasks | |
| # Watts Martin (layotl at gmail com) | |
| # https://gist.github.com/chipotle/5506641 | |
| # updated 14-Aug-2013 | |
| # Assumptions: | |
| # | |
| # - You are using a .gitignore similar to Laravel's default, so your | |
| # vendor directory and composer(.phar) are *not* under version control | |
| # - Composer is installed as an executable at /usr/local/bin/composer |
| #!/bin/bash | |
| for arg; do [[ $arg = /* ]] || arg=$PWD/$arg; absargs+=("$arg"); done; | |
| /Applications/P4Merge.app/Contents/Resources/launchp4merge "${absargs[@]}" | |