(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:
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Box Shadow</title> | |
| <style> | |
| .box { | |
| height: 150px; | |
| width: 300px; | |
| margin: 20px; |
| # | |
| # my zsh theme with iTerm titlebar manip. | |
| # see video to see the bug I have.. any help would be HUGELY appreciated :) | |
| # http://youtu.be/U-h9XCCq0q4 | |
| # | |
| # also | |
| # https://github.com/sjl/oh-my-zsh/ | |
| # http://sage.ucsc.edu/xtal/iterm_tab_customization.html |
| export http_proxy= | |
| export https_proxy= | |
| curl -XDELETE 'http://localhost:9200/test/' | |
| echo "Creating the mapping" | |
| curl -XPUT 'http://localhost:9200/test/?pretty=1' -d ' | |
| { | |
| "mappings" : { | |
| "member" : { |
| -- show running queries (pre 9.2) | |
| SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
| FROM pg_stat_activity | |
| WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
| ORDER BY query_start desc; | |
| -- show running queries (9.2) | |
| SELECT pid, age(clock_timestamp(), query_start), usename, query | |
| FROM pg_stat_activity | |
| WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
| #! /usr/bin/node | |
| var MongoClient = require('mongodb').MongoClient | |
| var Server = require('mongodb').Server; | |
| var async = require('async'); | |
| var util = require('util'); | |
| // A simple linear congruence random number generator. | |
| // This is anticipating doing a comparable test with the aggregation pipeline. | |
| var randMod = 2 << 24; |
| # github.com/rafi i3status config | |
| # i3status configuration file | |
| # see "man i3status" for documentation. | |
| # It is important that this file is edited as UTF-8. | |
| # The following line should contain a sharp s: | |
| # ß | |
| # If the above line is not correctly displayed, fix your editor first! |
When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.
Raw Attribute Strings
<div my-directive="some string" another-param="another string"></div>https://github.com/djvirgen/virgen-acl Simple and elegant, create your own checks. No middleware?
https://github.com/OptimalBits/node_acl Use as middleware, create your own roles and access. Great choice.
https://github.com/tschaub/authorized Similar to connect roles... but a bit more robust? you can create roles and action, and associate many roles with that action