$ 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
:
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 |
def firstUniqueChar(st): | |
return [x for x in list(st) if list(st).count(x) == 1][0] | |
print firstUniqueChar("chickheni") |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="http://code.jquery.com/ui/1.8.20/themes/base/jquery-ui.css" type="text/css" media="all" /> | |
<link rel="stylesheet" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css" type="text/css" media="all" /> | |
<style> | |
body { font-size: 62.5%; } | |
label, input { display:block; } | |
input.text { margin-bottom:12px; width:95%; padding: .4em; } | |
fieldset { padding:0; border:0; margin-top:25px; } |
<?php | |
// $Id$ | |
/** | |
* @file | |
* Module to remove the forgotten password link | |
*/ | |
/** |
[syntax] | |
keyword = y | |
name = c | |
comment = m | |
string = g | |
error = r | |
number = G | |
operator = Y | |
punctuation = y | |
token = C |
package testPackage; | |
import java.io.ByteArrayOutputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.util.ArrayList; | |
import java.util.Iterator; | |
import java.util.List; | |
import com.itextpdf.text.Document; |