(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| ## REF: http://blog.sbf5.com/?p=6 | |
| # For requests starting with a tilde, break them into three components: | |
| # 1. The username, everything after the tilde up to the first slash | |
| # 2. The file location, everything after the username up to the last slash | |
| # 3. The trailing slash(es) | |
| # Then, rewrite to go to the f~/ branch. | |
| location /~ { | |
| if ($request_uri ~ ^/~([^/]*)(/.*[^/]|)(/*)$) { | |
| set $homedir $1; | |
| set $filedir $2; |
| // This example shows how to render pages that perform AJAX calls | |
| // upon page load. | |
| // | |
| // Instead of waiting a fixed amount of time before doing the render, | |
| // we are keeping track of every resource that is loaded. | |
| // | |
| // Once all resources are loaded, we wait a small amount of time | |
| // (resourceWait) in case these resources load other resources. | |
| // | |
| // The page is rendered after a maximum amount of time (maxRenderTime) |
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |
| body:before | |
| position: absolute | |
| top: 0 | |
| left: 0 | |
| padding: 5px | |
| background-color: red | |
| +opacity(0.5) | |
| +respond-to(handhelds) | |
| content: "Handheld" | |
| +respond-to(wide-handhelds) |
| require "rubygems" | |
| require "twitter" | |
| require "json" | |
| # things you must configure | |
| TWITTER_USER = "your_username" | |
| MAX_AGE_IN_DAYS = 1 # anything older than this is deleted | |
| # get these from dev.twitter.com | |
| CONSUMER_KEY = "your_consumer_key" |
Put test1.js and test2.js into a tests/ directory, then run the suite:
$ casperjs test tests/ --pre=pre.js --includes=inc.js --post=post.js
Test file: /Users/nperriault/tmp/pre-inc/pre.js
Hey, I'm executed before the suite.
Test file: /Users/nperriault/tmp/pre-inc/tests/test1.js
# this is test 1
Hi, I've been included.
PASS Subject is strictly true
| #!/usr/bin/perl -T | |
| #Postomatic is a script that will allow you to post blosxom entries from the web. | |
| #Author: Brett O'Connor - bretto AT blimpsgo90.com | |
| #INSTALLATION: | |
| #Configure the variables below and put this in a place where it is accesable from the | |
| #web. Make sure it is executable and also that it can write to your blosxom directory. | |
| #REVISION HISTORY: |
Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.