Skip to content

Instantly share code, notes, and snippets.

@dgolds
dgolds / dgInstallGoodStuff.sh
Last active October 11, 2015 06:17
Install stuff I use on a new Ubuntu box
#!/bin/bash
# Dgolds' special recipe - Setup Node, Ruby etc on a fresh Ubuntu box
#
# Just do the following from a clean Ubuntu terminal...
#
# wget https://gist.github.com/raw/3815651/dgInstallGoodStuff.sh && chmod +x dgInstallGoodStuff.sh && ./dgInstallGoodStuff.sh
#
# (note it is best to first copy your SSH keys to ~/.ssh, or set them up per https://help.github.com/articles/generating-ssh-keys)
@dgolds
dgolds / dgSniffCode.sh
Last active October 11, 2015 18:37
Bash Script to do quick counts of common source code types under the current or specified directory
#!/bin/bash
# Bash Script to do quick counts of common source code types under the current or specified directory
# https://gist.github.com/3901863
# To quickly grab it, just type
# wget https://gist.github.com/raw/3901863/dgSniffCode.sh && chmod +x dgSniffCode.sh
# Features to add:
# multiple params ...A hack until I support * arguments: ls | xargs -L 1 ~/dgSniffCode