Requires installed gitolite in /home/git and following directory structure
/var
/www
/apps
/hosts
/libs
| <?php | |
| namespace Nette\Templates; | |
| use Nette\Forms\Form; | |
| use Nette\String; | |
| /** | |
| * Form macros | |
| * |
| <?php | |
| namespace Nette\Templates; | |
| use Nette\Object; | |
| use Nette\String; | |
| /** | |
| * Another Latte Macros | |
| * |
| /** | |
| * Live Form Validation for Nette 2.0 | |
| * | |
| * @author Radek Ježdík, MartyIX, David Grudl | |
| */ | |
| var LiveForm = { | |
| options: { | |
| controlErrorClass: 'form-control-error', // CSS class for an invalid control | |
| errorMessageClass: 'form-error-message', // CSS class for an error message |
| #!/bin/bash | |
| srcLibs="/var/www" | |
| black='\e[0;30m' # Black - Regular | |
| red='\e[0;31m' # Red | |
| green='\e[0;32m' # Green | |
| yellow='\e[0;33m' # Yellow | |
| blue='\e[0;34m' # Blue | |
| purple='\e[0;35m' # Purple |
| /** | |
| * Make table body scrollable, with the table header always visible. | |
| * Table shrinks vertically to fit the browser viewport. | |
| * | |
| * requirements: | |
| * - jQuery framework required (tested with 1.6.2) | |
| * - header must be wrapped in <thead> element | |
| * | |
| * warnings: | |
| * - table <caption> is not supported |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Ansi 0 Color</key> | |
| <dict> | |
| <key>Blue Component</key> | |
| <real>0.30093687772750854</real> | |
| <key>Green Component</key> | |
| <real>0.36639997363090515</real> |
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:
| #!/bin/sh | |
| exec <"$0" || exit; read v; read v; exec /usr/bin/osascript - "$@"; exit | |
| -- the above is some shell trickery that lets us write the rest of | |
| -- the file in plain applescript | |
| tell application "Google Chrome" | |
| activate | |
| tell application "System Events" | |
| tell process "Google Chrome" |