Skip to content

Instantly share code, notes, and snippets.

@RobRuana
RobRuana / .bash_profile
Created February 10, 2015 08:06
Basic .bash_profile that relies on .bashrc for customization
#--------------------------------------------------------
# ~/.bash_profile - executed by bash for login shells
#--------------------------------------------------------
# Include .bashrc if it exists
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
@RobRuana
RobRuana / keybase.md
Created October 12, 2016 20:14
Keybase proof

Keybase proof

I hereby claim:

  • I am RobRuana on github.
  • I am robruana (https://keybase.io/robruana) on keybase.
  • I have a public key whose fingerprint is 75F4 8B02 9E5B 1470 A613 D0B1 424F 1272 D2F4 8CBD

To claim this, I am signing this object:

@RobRuana
RobRuana / autolink-jira-confluence.js
Last active May 12, 2018 16:26
Automatically link Jira Issues From Confluence
@RobRuana
RobRuana / BootcampAutoHotkey.ahk
Last active November 8, 2018 19:38
AutoHotkey bindings to make keyboard more like a Mac under Windows
#Warn
#NoEnv
#KeyHistory 0
ListLines Off
;SetKeyDelay, -1, -1
;SetMouseDelay, -1
;SetDefaultMouseSpeed, 0
SendMode Event
@RobRuana
RobRuana / .bashrc
Last active September 29, 2019 12:31
Customize bash for interactive shells
#--------------------------------------------------------
# Customize bash for interactive shells
#--------------------------------------------------------
# Source global definitions (if any)
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Environment variable exports (if any)
@RobRuana
RobRuana / .bash_aliases
Last active September 30, 2019 14:11
Useful bash aliases
#--------------------------------------------------------
# Personal bash aliases
#--------------------------------------------------------
# Prevent accidentally clobbering files
#alias rm='rm -i'
#alias cp='cp -i'
#alias mv='mv -i'
alias mkdir='mkdir -p'
@RobRuana
RobRuana / .bash_exports
Last active October 24, 2019 19:06
Environment variable exports
#--------------------------------------------------------
# Environment variable exports
#--------------------------------------------------------
export PAGER=less
export EDITOR=vim
export VISUAL=vim
@RobRuana
RobRuana / .pythonstartup
Last active November 26, 2019 00:36
Make your Python interactive shell infinitely more usable
# .pythonstartup - executed by python interactive shell
import atexit
import os
import pprint
import readline
import rlcompleter
import sys
try:
@RobRuana
RobRuana / .inputrc
Last active January 19, 2020 17:46
Configure readline to make Mac OS X Terminal more usable
#--------------------------------------------------------
# Configure readline to make terminal more usable
#--------------------------------------------------------
# Wrap lines longer than the terminal
set horizontal-scroll-mode Off
# Enable 8bit input
set meta-flag On
set input-meta On
@RobRuana
RobRuana / gohere
Last active July 24, 2023 10:51
Change $GOPATH to current directory to quickly switch between Go workspaces
#!/bin/bash -l
# Save this file in /usr/local/bin and chmod a+x for easy access
# Execute gohere to switch $GOPATH to current directory
# Type exit to switch back
# Example usage:
# $ echo $GOPATH
#