Skip to content

Instantly share code, notes, and snippets.


Joe Goggins joegoggins

  • Minneapolis, Minnesota
View GitHub Profile
View gist:3cc926c2cdd431d23d4f
### Keybase proof
I hereby claim:
* I am joegoggins on github.
* I am jgoggins ( on keybase.
* I have a public key whose fingerprint is A95F 89DC E019 BACE DDFE 80DE E54A A5BA 9A1D AB07
To claim this, I am signing this object:
joegoggins / .vimrc
Last active September 25, 2022 07:45
Mac Vim .vimrc file
View .vimrc
" Use Vim settings, rather then Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
set nocompatible
" ================ General Config ====================
set number "Line numbers are good
set backspace=indent,eol,start "Allow backspace in insert mode
set history=1000 "Store lots of :cmdline history
set showcmd "Show incomplete cmds down the bottom
joegoggins /
Last active December 30, 2015 04:39
This bash script is used to invoke API commands to a spark programmed with the "SPARK RC CAR KIT" sample code on this page:
# About
# =====
# Control a Spark Core remote control car with a bash script. Why not?
# Spark Core Firmware Assumptions
# -------------------------------
# * You have registered a function in your firmware that will allow you to hit it via the API,
# something like:
joegoggins / install and add gcc arm to
Last active December 12, 2022 06:59
How I installed GCC ARM on my Mac 10.9 Mac Book Pro
View install and add gcc arm to
# Download the file manually from here
# Note: `curl` command doesn't work
# I downloaded this one: "gcc-arm-none-eabi-4_7-2013q3-20130916-mac.tar.bz2"
# double click it to unzip it
# Make a place to install it to
mkdir /usr/local/gcc_arm
# Move the unzipped stuff there.
joegoggins /
Last active March 1, 2019 14:14
ruby-oci8 + Oracle Instant Client install for Ruby 1.9.3 Probably works fine for other versions of Ruby or instant client too. Install ruby-oci8 + Oracle instant client in < 20 minutes
mkdir -p /opt/oracle
cd /opt/oracle
ls -t ~/Downloads/ | head -n 3
mv ~/Downloads/ .
mv ~/Downloads/ .
View improving and supporting ruby security.markdown


Ruby is becoming mainstream and thus the implications of security are much more far reaching. Is there anything the Department of Homeland security can do to help support this community and the hard working open source devs that donate their free-time to keep it secure?

Key Question

How could government funding help improve security of the Ruby ecosystem?

Rough Ideas + Github Aliases

joegoggins / sunspot_solr_wrapper_service.rb
Created August 14, 2012 16:55
Sunspot/Solr/Torquebox service wrapper until is done. Note: this approach is cheezy and crude, but works...
View sunspot_solr_wrapper_service.rb
class SunspotSolrWrapperService
def initialize(opts={})
def start
puts "SunspotSolrWrapperService#start"
launch_command = "nohup env RAILS_ENV=#{Rails.env} #{solr_process_to_launch} >> #{start_stop_log_file} 2>&1 &"
puts "executing: #{launch_command}"
puts "SunspotSolrWrapperService#start (return)"