Skip to content

Instantly share code, notes, and snippets.

View NickLaMuro's full-sized avatar
:bowtie:
probably definitely most likely rebasing...

Nick LaMuro NickLaMuro

:bowtie:
probably definitely most likely rebasing...
View GitHub Profile
@NickLaMuro
NickLaMuro / .gitignore
Last active April 26, 2016 16:36
Ruby Default File Sorting on different Operating systems
.vagrant
@NickLaMuro
NickLaMuro / json_aliases.sh
Last active August 29, 2015 14:17
Bash aliases/functions for parsing and viewing json
# Pretty print json in the terminal like so:
# $ echo "{'json': 'stuff'}" | json
alias json='python -mjson.tool'
# Parses json. Each arg is a level deeper in the tree:
#
# Examples
#
# echo "{'json': {'foo': 'bar'}}" | parse_json
# => {'json': {'foo': 'bar'}}
@NickLaMuro
NickLaMuro / .ackrc
Created March 5, 2013 19:47
My Ack config file.
--ignore-dir=cache
--ignore-dir=coverage
--ignore-dir=tmp
--ignore-dir=log
@NickLaMuro
NickLaMuro / check_and_change_dns
Last active June 28, 2018 10:56
Dealing with Dynamic IP's with a home server and DNSimple
#!/bin/bash
EMAIL="your_email@example.com"
API_TOKEN="API_TOKEN"
DOMAIN_ID="your_domain.com"
RECORDS=(123456 234567 345678) # Replace with the Record ID
IP="`curl -s -S http://v4.ident.me`"
STORED_IP_ADDRESS_FILENAME="$HOME/.current_external_ip_address"
# Loop through each record id in the array
@NickLaMuro
NickLaMuro / setup.sh
Created April 2, 2012 20:07 — forked from pbyrne/setup.sh
Set Up Work Laptop
#!/bin/bash
echo "Updating Homebrew and bash completion"
brew update
echo "
# homebrew completion files for installed libraries
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
" >> ~/.bash_profile
@NickLaMuro
NickLaMuro / .tmux.conf
Created January 27, 2012 07:27
My .tmux.conf
# # act like GNU screen
unbind C-b
set -g prefix C-a
# Allow C-A a to send C-A to application
bind C-a send-prefix
# start window index of 1
set -g base-index 1
@NickLaMuro
NickLaMuro / Instructions.md
Created December 5, 2011 21:34
Flash on chrome for linux

This is just a quick set of instructions to install google chrome with flash for ubuntu.

###1. Install chrome

I just grabbed the install from www.google.com/chrome and installed it that way.

###2. Install the flash plugin

sudo apt-get install flashplugin-nonfree
@NickLaMuro
NickLaMuro / .vimrc
Last active December 31, 2021 02:29 — forked from napcs/.vimrc
Set up Vim on Mac or Linux. curl https://raw.github.com/gist/1147370/vim.sh | sh
"this is the cconfiguration file for linux and mac systems
"symlink this to your home folder as .vimrc
call pathogen#runtime_prepend_subdirectories(expand('~/.vim/bundles'))
call pathogen#helptags()
"call pathogen#runtime_append_all_bundles()
source ~/.vimrc_main