(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:
| find ~/public_html/php-sql-sandbox -type d -exec chmod 755 {} \; | |
| find ~/public_html/php-sql-sandbox -type f -exec chmod 644 {} \; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>UEK</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <!-- CSS --> | |
| <link rel="stylesheet" type="text/css" href="css/jquery.mobile-1.4.2.min.css"> | |
| <link rel="stylesheet" href="css/themes/purple-rainbow.min.css" /> |
| { | |
| "folders": | |
| [ | |
| { | |
| "follow_symlinks": true, | |
| "path": ".", | |
| "folder_exclude_patterns": | |
| [ | |
| "bin", | |
| "include", |
| # NetBeans | |
| nbproject/private/ | |
| build/ | |
| nbbuild/ | |
| dist/ | |
| nbdist/ | |
| nbactions.xml | |
| nb-configuration.xml |
| # Update System | |
| sudo apt-get update && sudo apt-get dist-upgrade | |
| # Install prerequisites | |
| sudo apt-get install autoconf bison build-essential libssl-dev libyaml-dev libreadline6 libreadline6-dev libncurses5-dev zlib1g zlib1g-dev sqlite3 libxslt-dev libxml2-dev libsqlite3-dev python-software-properties postfix curl libcurl3 libcurl3-gnutls libcurl4-openssl-dev | |
| # Misc Utilities | |
| sudo apt-get install ssh tmux vim git-core wget zip unzip mcrypt imagemagick libmagickwand-dev htop whois dnsutils powertop gparted zenmap terminator | |
| # Set up git config |
| o.......Open files, directories and bookmarks....................|NERDTree-o| | |
| go......Open selected file, but leave cursor in the NERDTree.....|NERDTree-go| | |
| t.......Open selected node/bookmark in a new tab.................|NERDTree-t| | |
| T.......Same as 't' but keep the focus on the current tab........|NERDTree-T| | |
| i.......Open selected file in a split window.....................|NERDTree-i| | |
| gi......Same as i, but leave the cursor on the NERDTree..........|NERDTree-gi| | |
| s.......Open selected file in a new vsplit.......................|NERDTree-s| | |
| gs......Same as s, but leave the cursor on the NERDTree..........|NERDTree-gs| | |
| O.......Recursively open the selected directory..................|NERDTree-O| | |
| x.......Close the current nodes parent...........................|NERDTree-x| |
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| import sublime_plugin | |
| import subprocess | |
| from time import sleep | |
| import sys | |
| cl = lambda line: subprocess.Popen(line, shell=True, stdout=subprocess.PIPE).communicate()[0].strip() | |
| log = lambda message: sys.stderr.write("Log: %s\n" % message) |
| #!/bin/bash | |
| # General colors | |
| black='\x1B[0;30m' | |
| red='\x1B[0;31m' | |
| green='\x1B[0;32m' # '\x1B[1;32m' is too bright for white bg. | |
| blue='\x1B[1;34m' | |
| yellow='\x1B[0;33m' | |
| purple='\x1B[1;35m' | |
| cyan='\x1B[0;36m' |
| sudo add-apt-repository -y ppa:moka/daily | |
| sudo add-apt-repository -y ppa:docky-core/ppa # docky repo (not stable but, not close when sleep >2.2.1) | |
| sudo add-apt-repository -y ppa:numix/ppa | |
| sudo apt-get update | |
| sudo apt-get install docky moka-icon-theme moka-desktop moka-desktop-extras numix-gtk-theme |