start new:
tmux
start new with session name:
tmux new -s myname
| while read p; do | |
| curl -I $p | |
| done <file_with_urls.txt |
| # Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. | |
| # | |
| # This program is free software; you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation; version 2 of the License. | |
| # | |
| # This program is distributed in the hope that it will be useful, | |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| # GNU General Public License for more details. |
| server { | |
| http { | |
| location / { | |
| # try to serve file directly, fallback to rewrite | |
| try_files $uri @rewriteapp; | |
| } | |
| location @rewriteapp { | |
| # rewrite all to index.php | |
| rewrite ^(.*)$ /index.php?p=$1 last; | |
| } |
| # INSTALLATION | |
| # 1. gem install compass-notify | |
| # 2. bower install | |
| # 3. compass watch -e production // or developement | |
| # Require any additional compass plugins here. | |
| require 'compass-notify' | |
| add_import_path "resources/bower_components/foundation/scss" |
| vmup() | |
| { | |
| cd ~/Homestead; | |
| vagrant up; | |
| cd ~/Code; | |
| } | |
| vmssh() { | |
| cd ~/Homestead && vagrant ssh; | |
| } |
| <?php | |
| /** | |
| * Register site routes. | |
| * | |
| * @return array | |
| */ | |
| public function registerSiteRoutes() | |
| { | |
| return array( |
| { | |
| "require": { | |
| "php": "~5.6.9", | |
| "ext-gd": "*", | |
| "ext-iconv": "*", | |
| "ext-imagick": "*", | |
| "ext-mbstring": "*", | |
| "ext-newrelic": "*", | |
| "ext-redis": "*" | |
| } |
| mv ~/.ssh/known_hosts ~/.ssh/old_hosts && touch ~/.ssh/known_hosts |
| /vendor | |
| .env | |
| gulpfile.js | |
| package.json |