$ 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:
| FoundWord(word='a', locations=[Location(row=2, col=0)]) | |
| FoundWord(word='al', locations=[Location(row=2, col=0), Location(row=1, col=1)]) | |
| FoundWord(word='alice', locations=[Location(row=2, col=0), Location(row=1, col=1), Location(row=2, col=2), Location(row=2, col=3), Location(row=3, col=2)]) | |
| FoundWord(word='alien', locations=[Location(row=2, col=0), Location(row=1, col=1), Location(row=2, col=2), Location(row=3, col=2), Location(row=3, col=3)]) | |
| FoundWord(word='alin', locations=[Location(row=2, col=0), Location(row=1, col=1), Location(row=2, col=2), Location(row=3, col=3)]) | |
| FoundWord(word='aline', locations=[Location(row=2, col=0), Location(row=1, col=1), Location(row=2, col=2), Location(row=3, col=3), Location(row=3, col=2)]) | |
| FoundWord(word='alit', locations=[Location(row=2, col=0), Location(row=1, col=1), Location(row=2, col=2), Location(row=2, col=1)]) | |
| FoundWord(word='alite', locations=[Location(row=2, col=0), Location(row=1, col=1), Location(row=2, col=2), Location(row=2, col=1), Location(row=3, col=2)]) | |
| F |
| ;; based on core.logic 0.8-alpha2 or core.logic master branch | |
| (ns sudoku | |
| (:refer-clojure :exclude [==]) | |
| (:use clojure.core.logic)) | |
| (defn get-square [rows x y] | |
| (for [x (range x (+ x 3)) | |
| y (range y (+ y 3))] | |
| (get-in rows [x y]))) |
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
| # | |
| # Based on sorin theme | |
| # | |
| # Authors: | |
| # Bao Pham <[email protected]> | |
| # | |
| # Screenshots: | |
| # http://cl.ly/image/0O3y120B0T1z | |
| # http://cl.ly/image/111H2O170z0Q | |
| # |
| #!/bin/bash | |
| session_name= | |
| session_pre= | |
| if [[ "$1" ]]; then | |
| session_name="-t $1" | |
| session_pre="$1" | |
| fi | |
| session_path=$(tmux list-panes -t $session_pre:1 -F "#{pane_start_path}") |
| # | |
| # Defines environment variables. | |
| # | |
| # Authors: | |
| # Sorin Ionescu <[email protected]> | |
| # | |
| # GistID: 5194548 | |
| # | |
| # Browser |
| set nocompatible " Disable vi-compatibility | |
| set t_Co=256 | |
| colorscheme xoria256 | |
| set guifont=menlo\ for\ powerline:h16 | |
| set guioptions-=T " Removes top toolbar | |
| set guioptions-=r " Removes right hand scroll bar | |
| set go-=L " Removes left hand scroll bar | |
| set linespace=15 |
| var Twit = require("twit"); | |
| var config = require('./oauthconfig'); | |
| console.log("config:"); | |
| console.log(config); | |
| var T = new Twit({ | |
| consumer_key: config.consumer_key, | |
| consumer_secret: config.consumer_secret, | |
| access_token: config.access_token, |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.