Skip to content

Instantly share code, notes, and snippets.

capotej / gist:9081244
Created February 18, 2014 22:02
tw () {
if [ -z $1 ]
1=$(basename $(pwd))
tmux rename-window $1

Keybase proof

I hereby claim:

  • I am capotej on github.
  • I am capotej ( on keybase.
  • I have a public key whose fingerprint is DE53 C3A2 B7CD BA28 364B 582B 4CF8 C64A BA81 5DD7

To claim this, I am signing this object:

capotej / packages.bz2
Created March 30, 2015 22:25
basho riak packagecloud index
Package: riak
Priority: extra
Section: net
Installed-Size: 77021
Maintainer: Basho Package Maintainer <>
Architecture: amd64
Version: 2.0.0-1
Depends: libc6 (>= 2.17), libgcc1 (>= 1:4.1.1), libpam0g (>=, libssl1.0.0 (>= 1.0.0), libstdc++6 (>= 4.6), libtinfo5, adduser, logrotate
Filename: pool/trusty/main/r/riak/riak_2.0.0-1_amd64.deb
Size: 54990116
capotej /
Last active August 29, 2015 14:22
Granola Recipe


I think of granola as a mixture of:

  • 3 parts rolled oats
  • 2 part seed
  • 1 part nut
  • 1 part chewy/sweet
  • sweetening gel


jdbc_adapter.JdbcAdapterInternalService:373:in `set_native_database_types': java.lang.NullPointerException
from jdbc_adapter.JdbcAdapterInternalService$s_method_0_0$RUBYINVOKER$set_native_database_types:-1:in `call'
from org.jruby.runtime.callsite.CachingCallSite:260:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:75:in `call'
from org.jruby.ast.VCallNode:82:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.BlockNode:68:in `interpret'
from org.jruby.ast.RescueNode:222:in `executeBody'
from org.jruby.ast.RescueNode:144:in `interpretWithJavaExceptions'
from org.jruby.ast.RescueNode:107:in `interpret'
adapter: jdbc
driver: org.apache.derby.jdbc.EmbeddedDriver
url: jdbc:derby://localhost/sketchy;create=true
pool: 5
timeout: 5000
require 'rubygems'
require 'sinatra'
require 'json'
#WRONG gem 'ActiveRecord-JDBC'
gem 'activerecord-jdbc-adapter'
require 'jdbc_adapter'
require 'active_record'
:adapter => 'jdbcderby',
let's make a list of sinatra-based apps!
- "Sinatra based"
- "minimalist blogging engine"
- "The easy and fun Continuous Integration server"
- "git-powered wiki"
- "Seinfeld-inspired productivity calendar to track your public github commits."
- "Marley, the blog engine without <textareas>. See in action @"
- "Serve up your Markdown files with this tiny Sinatra app!"
(07:28:35 PM) capotej: whew, i switched to sequel from activerecord and my req/s skyrocketed
(07:30:30 PM) danishkirel [] entered the room.
(07:30:39 PM) MarkMenard_: capotej: What framework are you using for the web tier?
(07:31:01 PM) capotej: sinatra
(07:31:10 PM) MarkMenard_: Interesting.
(07:31:17 PM) capotej: yea i was blown away
(07:31:18 PM) MarkMenard_: Before and after numbers?
(07:31:22 PM) capotej: 0.81 req/s
(07:31:26 PM) capotej: 245 req/s
(07:31:27 PM) capotej: lol
;; This buffer is for notes you don't want to save, and for Lisp evaluation.
;; If you want to create a file, visit that file with C-x C-f,
;; then enter the text in that file's own buffer.