Skip to content

Instantly share code, notes, and snippets.

View djmccormick's full-sized avatar

Dustin McCormick djmccormick

  • Indianapolis, IN
View GitHub Profile
@plemarquand
plemarquand / Gruntfile.js
Created April 21, 2014 19:11
Gruntfile: Relative sourcemap paths with grunt-browserify and mold-source-map
module.exports = function(grunt) {
// load only required grunt tasks as tasks are run
require('jit-grunt')(grunt);
// Project configuration.
grunt.initConfig({
browserify : {
files : {
'test/browserified_unit_tests.js' : 'test/spec/**.js'
@wwqrd
wwqrd / .tmux.conf
Created January 30, 2014 14:41
Starter tmux configuration
###########################
# Configuration
###########################
# use 256 term for pretty colors
set -g default-terminal "screen-256color"
# increase scroll-back history
set -g history-limit 5000
@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="[email protected]"
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
@spicycode
spicycode / tmux.conf
Created September 20, 2011 16:43
The best and greatest tmux.conf ever
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000
@snuggs
snuggs / .tmux.conf
Last active August 22, 2024 14:22
IDE & TMUX Configuration
############################################################################
# _
# | |_ _ __ ___ _ ___ __
# | __| '_ ` _ \| | | \ \/ /
# | |_| | | | | | |_| |> <
# \__|_| |_| |_|\__,_/_/\_\
#
# Cheatsheets:
# https://devhints.io/tmux
# `property not found` issue: