Skip to content

Instantly share code, notes, and snippets.

@oyvholm
oyvholm / README.md
Last active August 29, 2015 14:03
Create visual Git graph of all branches containing a specific commit

Create visual Git graph of all branches containing a specific commit

Gist location: http://git.io/Z65-Hg

This is a reply to this message posted to the Git mailing list:

From: Robert Dailey

@oyvholm
oyvholm / gist:9764066
Created March 25, 2014 15:21
"npm install sails" woes
$ sudo npm install -g sails
[sudo] password for sunny: hunter2
npm http GET https://registry.npmjs.org/sails
npm http 304 https://registry.npmjs.org/sails
npm http GET https://registry.npmjs.org/express/3.4.0
npm http GET https://registry.npmjs.org/connect-mongo/0.3.2
npm http GET https://registry.npmjs.org/socket.io/0.9.14
npm http GET https://registry.npmjs.org/async/0.2.9
npm http GET https://registry.npmjs.org/connect-redis/1.4.5
npm http GET https://registry.npmjs.org/winston/0.7.1
@oyvholm
oyvholm / README.md
Created February 25, 2014 03:51 — forked from BrianHicks/README.md

Graph taskwarrior tasks with graphviz

Dependencies

Running

graphdeps produces "deps.png" in the working directory. Just graphdeps will graph all tasks. You can change the default behavior by specifying a more specific query.

@oyvholm
oyvholm / output.txt
Created September 2, 2013 11:40
Example of box.com with git-annex
2013-09-02 13:33:24 sunny@linode:~/annex/opptak/src/bundle (master)
$ ga copy gpstools.bundle --to box.com
copy gpstools.bundle (gpg)
You need a passphrase to unlock the secret key for
user: "Øyvind A. Holm (Personal key) <sunny@sunbase.org>"
4096-bit ELG-E key, ID 62B5EC77, created 2008-07-21 (main key ID 94A506E5)
gpg: gpg-agent is not available in this session
(checking box.com...) (to box.com...)
ok

Hello there! This is a sample post for gist.io, a super-lightweight writing soapbox for hackers.

Now look up. Further. Above the post title. See that grey text with the gist ID?

Now back to me. That grey text is a link! Open that sucker in a new tab to see the source for this post. Also, I'm on a horse.

This is a major heading

If you peek at it with a web inspector, you'll see that it is a second-level heading. You can use first level headings, but they'll look just like the second level ones, and the gods of the HTML5 outlining algorithm will frown upon you.

@oyvholm
oyvholm / svngit.textile
Created August 27, 2012 00:46 — forked from gorenje/svngit.textile
Subversion v. Git - Thinking in patches

Introduction

This post attempts to provide Subversion developers a new perspective on Git and how git is differs from
subversion but not using the usual “git is distributed development” or “git is peer-to-peer versioning
management”, which tend not provide an argument for an existing subversion project to switch to git.

Instead, I will attempt to provide a historical background to the development of the first versioning
tools and how these lead to the development of git. It is more that probably that certain historical events
mentioned here are completely and utterly wrong, this not intended. Corrections and improvements are very
welcome!

@oyvholm
oyvholm / jepp.txt
Created July 24, 2012 05:02
New gist from the Android app
Sånn går nu dagan.
@oyvholm
oyvholm / gist:1318935
Created October 27, 2011 06:49
Copy of email
Something really weird is happening to a repository I'm working on, and
it's only a problem in recent Gits. A bisect shows that from
v1.7.6-1-g2548183 ("fix phantom untracked files when core.ignorecase is
set") and newer, this happens:
$ git clone git://gitorious.org/tz/tzfiles.git
Cloning into tzfiles...
remote: Counting objects: 358, done.
remote: Compressing objects: 100% (352/352), done.
remote: Total 358 (delta 8), reused 343 (delta 3)
@oyvholm
oyvholm / segfault.txt
Created October 27, 2011 05:08
Segfault with v1.7.6
execve("/home/sunny/build-git/git", ["/home/sunny/build-git/git", "status"], [/* 82 vars */]) = 0
brk(0) = 0x9733000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb76e7000
mmap2(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb76e4000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=29698, ...}) = 0
mmap2(NULL, 29698, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb76dc000
close(3) = 0