Skip to content

Instantly share code, notes, and snippets.

On a vision quest

Darren DarrenN

On a vision quest
View GitHub Profile

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 =

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:

git rev-parse 2>/dev/null
if [[ $? != 0 ]]
echo "Not a git repo"
View Nil Finder
(ns user)
(def app
"Intenal Helper"
(fnil conj []))
(defprotocol PathSeq
(path-seq* [form path] "Helper for path-seq"))
(extend-protocol PathSeq
DarrenN /
Last active Apr 13, 2021
How do you perform code reviews?

How do you perform Code Reviews?

How are code reviews performed on your development team?

I've been a developer for several years now in several different companies and I have noticed that there isn't a consistent approach to performing code reviews.

At my current company, code reviews are non-existent, which has led to a significant decrease in the quality of the code. At previous jobs, code reviews ranged from just making sure coding standards were enforced to nazi-like line by line reviews that took days to complete.

So I'm wondering what its like for everyone else out there. And in particular, what tools do you use to perform the reviews? And do you find that code reviews help rather than add to the length of time needed for a given project?


Keybase proof

I hereby claim:

  • I am darrenn on github.
  • I am darren_n ( on keybase.
  • I have a public key whose fingerprint is 1271 D27B A948 0CBE 9D6F 9F57 4018 0853 11AF 301C

To claim this, I am signing this object:

View slice-of-react.clj
;; Updated tutorial code for Om 0.1.6, 2014-01-16
;; See comments below for details on the changes.
(def app-state
(atom {:comments [{:author "Pete Hunt" :text "This is a comment."}
{:author "Jordan Walke" :text "This is *another* coment"}]}))
(defn comment [{:keys [author text]} owner]
DarrenN / numbers.html
Created Feb 5, 2014 test
View numbers.html
<script src='//'></script>
<script src='//'></script>
<script src='//'></script>
<script src='//'></script>
<script src='//'></script>
<script type="text/coffeescript">
bind = rx.bind
View BackboneMixin.js
], function() {
return {
componentDidMount: function() {
this._boundForceUpdate = this.forceUpdate.bind(this, null);
this.getBackboneObject().on("all", this._boundForceUpdate, this);
componentWillUnmount: function() {
this.getBackboneObject().off("all", this._boundForceUpdate);
View gist:8806202
$ git submodule add vim/bundle/nerdtree
$ git submodule init
$ git commit -m 'add nerd tree plugin as submodule'
Git submodules are locked to specific commits in their respective