$ sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/mynewsite
-
Change the line
DocumentRoot /var/www/
toDocumentRoot /var/www/mynewsite
-
Create an alias in
/etc/apache2/sites-enabled
:
# | |
# bash_completion - programmable completion functions for bash 3.2+ | |
# | |
# Copyright © 2006-2008, Ian Macdonald <ian@caliban.org> | |
# © 2009-2011, Bash Completion Maintainers | |
# <bash-completion-devel@lists.alioth.debian.org> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2, or (at your option) |
I, Bao Pham, have read and do accept the MuleSoft Contributor Agreement | |
at http://www.mulesoft.org/legal/contributor-agreement.html | |
Accepted on Thu Nov 26 2015 11:55:06 GMT-0800 (PST) |
I, Bao Pham, have read and do accept the MuleSoft Contributor Agreement | |
at http://www.mulesoft.org/legal/contributor-agreement.html | |
Accepted on Mon Nov 23 2015 12:29:53 GMT-0800 (PST) |
# GistId: f5e29984c42dc4067979 | |
# First remove *all* keybindings | |
unbind-key -a | |
# Now reinsert all the regular tmux keys | |
bind-key C-b send-prefix | |
bind-key C-o rotate-window | |
bind-key C-z suspend-client | |
bind-key Space next-layout | |
bind-key ! break-pane |
# GistID: 11072193 | |
source-file ~/.tmux.reset.conf | |
set -g default-terminal "screen-256color" | |
set-option -g xterm-keys | |
# Change prefix key to ` | |
set-option -g prefix ` |
# | |
# Based on sorin theme | |
# | |
# Authors: | |
# Bao Pham <gbaopham@gmail.com> | |
# | |
# Screenshots: | |
# http://cl.ly/image/0O3y120B0T1z | |
# http://cl.ly/image/111H2O170z0Q | |
# |
registerGrowl() | |
using terms from application "Quicksilver" | |
on process text im_text | |
set im_command to parseCommand(im_text) | |
runCommand(command of im_command, message of im_command) | |
end process text | |
end using terms from | |
on parseCommand(im_text) | |
repeat with im_delimiter_position from 1 to (length of im_text) |
diff --git a/autoload/Powerline/Matches.vim b/autoload/Powerline/Matches.vim | |
index 5cce475..3218228 100644 | |
--- a/autoload/Powerline/Matches.vim | |
+++ b/autoload/Powerline/Matches.vim | |
@@ -10,4 +10,6 @@ let g:Powerline#Matches#matches = { | |
\ 'minibufexplorer' : Pl#Match#Add('bufname("%")', '\-MiniBufExplorer\-'), | |
\ 'tagbar' : Pl#Match#Add('&ft' , 'tagbar'), | |
\ 'nerdtree' : Pl#Match#Add('&ft' , 'nerdtree'), | |
+ \ 'undotree' : Pl#Match#Add('bufname("%")', 'undotree'), | |
+ \ 'diffpanel' : Pl#Match#Add('bufname("%")', 'diffpanel'), |
using terms from application "Quicksilver" | |
on process text im_text | |
set im_command to parseCommand(im_text) | |
runCommand(contact of im_command, message of im_command) | |
end process text | |
end using terms from | |
on parseCommand(im_text) | |
repeat with im_delimiter_position from 1 to (length of im_text) | |
set ch to character im_delimiter_position of im_text |