Skip to content

Instantly share code, notes, and snippets.

View jonDowdle's full-sized avatar

Jon Dowdle jonDowdle

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jondowdle on github.
  • I am jondowdle (https://keybase.io/jondowdle) on keybase.
  • I have a public key ASBZOTGnx9s55wEyfui5DkzfWWg5PU2Ahna6t-yofdZ4xAo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am jondowdle on github.
  • I am jondowdle (https://keybase.io/jondowdle) on keybase.
  • I have a public key ASA2h9v4fLovqKG-2Hx-82PWB6yeG5rmoAQo_Ms0NfWxtQo

To claim this, I am signing this object:

FROM node:6.11-alpine
WORKDIR /deploy
ADD package.json /deploy
RUN npm install
ADD index.js /deploy
CMD node index.js
@jonDowdle
jonDowdle / tmux-cheatsheet.markdown
Created October 16, 2015 20:47 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname

Keybase proof

I hereby claim:

  • I am jonDowdle on github.
  • I am jondowdle (https://keybase.io/jondowdle) on keybase.
  • I have a public key whose fingerprint is 94F1 0C94 D66C 5BA4 1A18 79CD 556C E1E5 584D AA40

To claim this, I am signing this object:

###############################################################################
# byobu's tmux f-key keybindings
#
# Copyright (C) 2011-2014 Dustin Kirkland <kirkland@byobu.co>
#
# Authors: Dustin Kirkland <kirkland@byobu.co>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 of the License.
#
# VM configuration
#
# Where to find JVM, if {java.home}/jre exists then that JVM is used
# if not then it must be the path to the JRE itself
java.home=/opt/coldfusion9/runtime/jre/
#
# If no java.home is specified a VM is located by looking in these places in this
# order:
#

Keybase proof

I hereby claim:

  • I am jonDowdle on github.
  • I am jondowdle (https://keybase.io/jondowdle) on keybase.
  • I have a public key whose fingerprint is 5F3D 12C3 B7EE 79B9 3640 D142 C7CE 1B2F C5F5 9E38

To claim this, I am signing this object:

@jonDowdle
jonDowdle / reversed-strings-kata-recursive.js
Last active December 31, 2015 15:09
A quick morning brain warmup. Instead of using the array method reverse, I decided to refresh my recursion skills a bit. I'm glad I did. I find this solution quite a bit more elegant (to the eyes that is). http://www.codewars.com/dojo/katas/5168bb5dfe9a00b126000018/
/*
* Reverse whatever string is passed into solution.
* solution('world'); // returns 'dlrow'
*
*/
function solution( str ) {
// Our answer
var answer = "";
@jonDowdle
jonDowdle / git-cheatsheet.md
Last active December 20, 2015 07:09
Handy git commands

Finding

  1. Find deleted files git log --diff-filter=D --summary
  2. Find specific deleted file git log --diff-filter=D --summary | grep -C 10 filename.html

Cleaning

  1. Remove untracked files