(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:
| #Install necessary things | |
| apt-get update | |
| apt-get install kernel-package libncurses5-dev fakeroot wget bzip2 build-essential -y | |
| #Get the kernel | |
| cd /usr/src | |
| wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.13.tar.xz | |
| wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.13.tar.sign | |
| gpg --verify linux-3.13.tar.sign | |
| tar xpvf linux-3.13.tar.xz |
| import socket | |
| from BaseHTTPServer import HTTPServer | |
| from SimpleHTTPServer import SimpleHTTPRequestHandler | |
| class MyHandler(SimpleHTTPRequestHandler): | |
| def do_GET(self): | |
| if self.path == '/ip': | |
| self.send_response(200) | |
| self.send_header('Content-type', 'text/html') | |
| self.end_headers() |
| ; Autohotkey Capslock Remapping Script | |
| ; Danik | |
| ; More info at http://danikgames.com/blog/?p=714 | |
| ; danikgames.com | |
| ; | |
| ; Functionality: | |
| ; - Deactivates capslock for normal (accidental) use. | |
| ; - Hold Capslock and drag anywhere in a window to move it (not just the title bar). | |
| ; - Access the following functions when pressing Capslock: | |
| ; Cursor keys - J, K, L, I |
| import BaseHTTPServer | |
| from SimpleHTTPServer import SimpleHTTPRequestHandler | |
| import sys | |
| import base64 | |
| key = "" | |
| class AuthHandler(SimpleHTTPRequestHandler): | |
| ''' Main class to present webpages and authentication. ''' | |
| def do_HEAD(self): |
| ; Global settings | |
| [redshift] | |
| temp-day=6500K | |
| temp-night=5000 | |
| transition=1 | |
| ;gamma=0.8:0.7:0.8 | |
| gamma=1.000:1.000:1.000 | |
| location-provider=geoclue | |
| ;location-provider=manual | |
| adjustment-method=vidmode |
| # source : http://code.google.com/p/natvpn/source/browse/trunk/stun_server_list | |
| # A list of available STUN server. | |
| stun.l.google.com:19302 | |
| stun1.l.google.com:19302 | |
| stun2.l.google.com:19302 | |
| stun3.l.google.com:19302 | |
| stun4.l.google.com:19302 | |
| stun01.sipphone.com | |
| stun.ekiga.net |
| # | |
| # nginx configuration example for CakePHP 2.x | |
| # | |
| server { | |
| listen 80; | |
| server_name cakephp2.example; | |
| root /var/www/cakephp2/app/webroot; | |
| access_log /var/log/nginx/cakephp2.access.log; | |
| error_log /var/log/nginx/cakephp2.error.log; |
| -- Lua Cheat Sheet for Programmers, by Al Sweigart http://coffeeghost.net | |
| -- This cheat sheet is an executable Lua program. | |
| --[[ This is | |
| a multline comment]] | |
| ---[[ This is a neat trick. The first -- makes -[[ not a multiline comment. | |
| print("This line executes.") | |
| --]] The rest of this line is also a comment. | |
| print("Here is a string" .. ' concatenated with ' .. 2 .. ' other strings.') |
| ּ_בּ | |
| בּ_בּ | |
| טּ_טּ | |
| כּ‗כּ | |
| לּ_לּ | |
| מּ_מּ | |
| סּ_סּ | |
| תּ_תּ | |
| ٩(×̯×)۶ | |
| ٩(̾●̮̮̃̾•̃̾)۶ |