Skip to content

Instantly share code, notes, and snippets.

View vjsingh's full-sized avatar

Varun Singh vjsingh

View GitHub Profile
@abhoopathy
abhoopathy / backbone-tracker.coffee
Last active December 26, 2015 06:19
Easily, declaratively, track backbone events.
define [
'underscore'
'backbone'
], (
_
Backbone
) ->
oldDelegateEvents = Backbone.View.prototype.delegateEvents
@simov
simov / README.md
Last active April 4, 2025 21:39
Run `node` scripts using `nvm` and `crontab` without hardcoding the node version

Run node scripts using nvm and crontab without hardcoding the node version

cronjob.env.sh

#!/bin/bash

# NVM needs the ability to modify your current shell session's env vars,
# which is why it's a sourced function