Skip to content

Instantly share code, notes, and snippets.

View jeffrafter's full-sized avatar
✨
You are amazing

Jeff Rafter (he/him) jeffrafter

✨
You are amazing
View GitHub Profile
@mikeymckay
mikeymckay / friendly sqlite nosql sinatra
Created August 4, 2010 06:35
friendly sqlite nosql sinatra
#!/usr/bin/env ruby
require 'rubygems'
require 'sinatra'
require 'friendly'
Friendly.configure({
:adapter => "sqlite",
:database => "database.sqlite3"
})
CURRENT_RUBY = 'ree-1.8.7-2010.02'
RUBY_PATH = "/home/rails/.rvm/rubies/#{CURRENT_RUBY}"
GEM_HOME = "/home/rails/.rvm/gems/#{CURRENT_RUBY}"
ssh_options[:paranoid] = false
ssh_options[:forward_agent] = true
default_run_options[:pty] = true
set :stages, %w(staging production)
@jeffrafter
jeffrafter / Magic Potion | How to setup an Asus WL-520gu with OpenWRT for Sound
Last active April 9, 2023 04:45
Magic Potion | How to setup an Asus WL-520gu with OpenWRT for Sound
Note these instructions are all based on the mightyOhm articles. This is a little bit different because I wanted to get alsa sound working (instead of dsp) so that I could overlay effects
and background sound simultaneously.
What to do
==========
install mightyohm trx by blind flashing
setup network and wireless and dhcp
setup the banner for fun
Blind flashing