Gource is a software version control visualization tool.
Software projects are displayed by Gource as an animated tree with the root directory of the project at its centre. Directories appear as branches with files as leaves. Developers can be seen working on the tree at the times they contributed to the project.
#!/usr/bin/perl | |
#fetch Gravatars | |
#http://code.google.com/p/gource/wiki/GravatarExample | |
use strict; | |
use warnings; | |
use LWP::Simple; | |
use Digest::MD5 qw(md5_hex); |
git config --global alias.lg "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --all --decorate=full" |
Output flags returned by git fetch
(based on git version 1.7.8):
-
indicates a deleted ref (tag) fetch.c#L281*
indicates a new ref (tag, branch) fetch.c#L306- (space) indicates a fast-forward fetch.c#L322
+
indicates a successful forced update fetch.c#L336=
indicates a ref that was up to date fetch.c#L257!
indicates a ref that was rejected fetch.c#L271
*Also note that in fast-forwards, the output contains ".."
#oneGoogleWrapper { | |
display: none; | |
} | |
#headerBar #promo_pack_bar { | |
display: none !important; | |
} | |
#main #start-page-recommendations-container { | |
display: none !important; | |
} |
This outline for building and installing Git has only been tested against Mac OS X 10.7.x (Lion). While these steps may work for previous versions of Mac OS X, I cannot confirm this. Furthermore, you're on your own, if you screw something up, it's not my fault.
Xcode 4 includes the Git binary at the application level so it's available to itself (located at /Applications/Xcode.app/Contents/Developer/usr/bin/git
). Additionally, Xcode 4 includes a new "Downloads" preference pane to install optional components, one of which are the Command Line Tools (similar to the Dev Tools package that shipped with older versions of Xcode) and once installed, Git (and many other utilities, such as make
) is installed at the system level (located at /usr/bin
).
*Note: You don't have to install Xcode to use the Command Line Tools; it can be downloaded independently from the Apple Developer site (you need to login, but it's free
# bash alias | |
alias subl='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl' | |
# bash function, usage: $ st -p [projectname] -opt2 -opt3 | |
function st() { | |
if [ -n "$1" -a -n "$2" ]; then # if more than one argument | |
if [ "$1" = "-p" -o "$1" = "--project" ]; then # if arg1 is -p or --project | |
local projectfile="$2" | |
[[ $projectfile != *.sublime-project ]] && projectfile="$2.sublime-project" # detect if arg2 already includes the ext | |
if [ -e $projectfile ]; then # does project file exist? |
/* | |
* When you delete an array element using the delete | |
* operator, the array length is not affected. For example | |
* if you delete arr[2], arr[3] is still arr[3] and arr[2] | |
* is undefined. | |
*/ | |
arr = ['a', 'b', 'c', 'd'] | |
// ["a", "b", "c", "d"] | |
delete arr[2] |
[ | |
{ | |
"homepage": "http://digitaljhelms.github.com", | |
"name": "digitaljhelms", | |
"description": "finally blogging...", | |
"author": "Jeremy Helms", | |
"post": { | |
"url": "http://digitaljhelms.github.com/howto/creating-a-branch-with-no-parents-or-history", | |
"slug": "creating-a-branch-with-no-parents-or-history", | |
"title": "Create a Git Branch without Parents or History", |