- create repositories
git init --bare weduz.git
- create web directori
mkdir /var/www/weduz
3.enter hook directory
| { | |
| "vars": { | |
| "@gray-base": "#999", | |
| "@gray-darker": "#555", | |
| "@gray-dark": "#777", | |
| "@gray": "#b8b8b8", | |
| "@gray-light": "#ddd", | |
| "@gray-lighter": "#eee", | |
| "@brand-primary": "#dd1e26", | |
| "@brand-success": "#5cb85c", |
git init --bare weduz.git
mkdir /var/www/weduz
3.enter hook directory
(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.
| /* | |
| * I add this to html files generated with pandoc. | |
| */ | |
| html { | |
| font-size: 100%; | |
| overflow-y: scroll; | |
| -webkit-text-size-adjust: 100%; | |
| -ms-text-size-adjust: 100%; | |
| } |
| #!/bin/sh | |
| # | |
| # This hook does two things: | |
| # | |
| # 1. update the "info" files that allow the list of references to be | |
| # queries over dumb transports such as http | |
| # | |
| # 2. if this repository looks like it is a non-bare repository, and | |
| # the checked-out branch is pushed to, then update the working copy. | |
| # This makes "push" function somewhat similarly to darcs and bzr. |
| #!/bin/bash | |
| for arg; do [[ $arg = /* ]] || arg=$PWD/$arg; absargs+=("$arg"); done; | |
| /Applications/P4Merge.app/Contents/Resources/launchp4merge "${absargs[@]}" | |
| /* Run this in your error console */ | |
| var wc=0, tc=0, tgc=0; | |
| var {classes: Cc, interfaces: Ci, utils: Cu} = Components; | |
| Cu.import("resource://gre/modules/Services.jsm"); | |
| Cu.import("resource://gre/modules/DownloadUtils.jsm"); | |
| var wm = Services.wm; | |
| var ss = Cc["@mozilla.org/browser/sessionstore;1"].getService(Ci.nsISessionStore); | |
| var e = wm.getEnumerator("navigator:browser"); | |
| var uc = { }; | |
| while (e.hasMoreElements()) { |