(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:
| # Download Sublime Text 2 from http://www.sublimetext.com/2 | |
| # If you aren't root, sudo su | |
| tar -xvjf Sublime\ Text\ 2*.tar.bz2 | |
| mv Sublime\ Text\ 2/ /opt/sublime-text-2/ | |
| ln -s /opt/sublime-text-2 /usr/local/sublime-text-2 | |
| ln -s /usr/local/sublime-text-2/sublime_text /usr/local/bin/sublime_text | |
| rm Sublime\ Text\ 2*.tar.bz2 | |
| # Sublime Text 2 can now be run as normal user with command "sublime_text" |
| 1.8.7 :001 > %w(matheus juliana tarcisi jessica tiago guila andre sergio diana wandinho thais).shuffle | |
| => ["matheus", "guila", "wandinho", "andre", "juliana", "thais", "tarcisi", "tiago", "diana", "sergio", "jessica"] |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" | |
| content="text/html; charset=utf-8" /> | |
| <script src="jquery-1.7.2.min.js" ></script> | |
| <script src="handlebars-1.0.0.beta.6.js" ></script> | |
| <script src="underscore-min.js" ></script> | |
| <script src="backbone-min.js" ></script> |
| # The only setting we feel strongly about is the fail_timeout=0 | |
| # directive in the "upstream" block. max_fails=0 also has the same | |
| # effect as fail_timeout=0 for current versions of nginx and may be | |
| # used in its place. | |
| # you generally only need one nginx worker unless you're serving | |
| # large amounts of static files which require blocking disk reads | |
| worker_processes 1; | |
| # # drop privileges, root is needed on most systems for binding to port 80 |
| module AuthApp | |
| class CustomAuthentication < Devise::Strategies::Authenticatable | |
| # This check is run before +authenticate!+ is called to determine if this | |
| # authentication strategy is applicable. In this case we only try to authenticate | |
| # if the login and password are present | |
| # | |
| def valid? | |
| login && password | |
| end |
| $ mvn verify | |
| [INFO] Scanning for projects... | |
| [INFO] | |
| [INFO] ------------------------------------------------------------------------ | |
| [INFO] Building maven-tests-config 1.0-SNAPSHOT | |
| [INFO] ------------------------------------------------------------------------ | |
| [INFO] | |
| [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ maven-tests-config --- | |
| [debug] execute contextualize | |
| [INFO] Using 'UTF-8' encoding to copy filtered resources. |
| #!/bin/bash | |
| mkdir -p ~/.ssh | |
| # generate new personal ed25519 ssh keys | |
| ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "rob thijssen <rthijssen@gmail.com>" | |
| ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_robtn -C "rob thijssen <rob@rob.tn>" | |
| # generate new host cert authority (host_ca) ed25519 ssh key | |
| # used for signing host keys and creating host certs |