Skip to content

Instantly share code, notes, and snippets.

@jimnist
jimnist / keybase.md
Created September 10, 2019 05:11
keybase.md

Keybase proof

I hereby claim:

  • I am jimnist on github.
  • I am nachonist (https://keybase.io/nachonist) on keybase.
  • I have a public key ASAKUg5SDt1FRbrsoOlU_CZa6lv-onYm01FCCTfnZMhTMAo

To claim this, I am signing this object:

@jimnist
jimnist / Gemfile
Created August 31, 2018 05:37
subset coding exercise
# frozen_string_literal: true
source 'https://rubygems.org'
gem 'rspec'
@jimnist
jimnist / Gemfile
Created August 31, 2018 05:37
subset coding exercise
# frozen_string_literal: true
source 'https://rubygems.org'
gem 'rspec'
@jimnist
jimnist / postgres.txt
Created November 5, 2017 15:58
postgres starting stopping
https://xtupleuniversity.xtuple.com/library/faqs/how-do-i-stop-postgresql-service-mac
cd /Library/PostgreSQL/9.4/bin
sudo -u postgres ./pg_ctl -D ../data start
sudo -u postgres ./pg_ctl -D ../data stop
@jimnist
jimnist / gist:4078736
Created November 15, 2012 13:50 — forked from saetia/gist:1623487
Clean Install – Mountain Lion OS X 10.8
#!/bin/bash
mkdir -p ./127/5202
mv ./125/5202/125-5202_000.CR2 ./127/5202/127-5202_000.CR2
mv ./125/5202/125-5202_001.CR2 ./127/5202/127-5202_001.CR2
mv ./125/5202/125-5202_002.CR2 ./127/5202/127-5202_002.CR2
mv ./125/5202/125-5202_003.CR2 ./127/5202/127-5202_003.CR2
mv ./125/5202/125-5202_004.CR2 ./127/5202/127-5202_004.CR2
mv ./125/5202/125-5202_005.CR2 ./127/5202/127-5202_005.CR2
mv ./125/5202/125-5202_006.CR2 ./127/5202/127-5202_006.CR2
mkdir -p ./55/1809
@jimnist
jimnist / workout.rb
Created February 11, 2011 03:33
simple ruby script to add calendar entries for daily workouts . .
#!/usr/bin/env ruby
#
# script for adding daily workout locations
# when the schedule comes out
#
require 'rubygems'
require 'gcal4ruby'
require 'date'
USERNAME = "<your email address>"
@jimnist
jimnist / workout.py
Created February 11, 2011 03:28
simple python script to add calendar entries for daily workouts . .
#! /usr/bin/env python
#
# script for adding daily workout locations
# when the schedule comes out
#
# improvements from the initial ruby version:
# - enter password without echoing
#
# depends on the google data library, which i installed like this:
# $ easy_install gdata