Skip to content

Instantly share code, notes, and snippets.

View bartlomiejdanek's full-sized avatar

Bartłomiej Danek bartlomiejdanek

View GitHub Profile
" Improve move speed
let g:boostmove=0
set updatetime=500
au CursorMoved * call BoostMoveON()
au CursorMovedI * call BoostMoveON()
au CursorHold * call BoostMoveOFF()
au CursorHoldI * call BoostMoveOFF()
function BoostMoveON()
if (winline() != line('$')) && (line('.') != 1)
if (winline() == winheight('.')) || (winline() == 1)
@bartlomiejdanek
bartlomiejdanek / algorytm_robienia_kawy.rb
Created September 25, 2012 14:12
Algorytm robienia kawy
# encoding: utf-8
module Selleo::Kuchnia
class PojemnikNaKapsułki
include Singleton
state_machine :initial => :pusty do
state :pusty
state :pełny
@bartlomiejdanek
bartlomiejdanek / 0-readme.md
Created January 30, 2012 10:49 — forked from burke/0-readme.md
ruby-1.9.3-p0 cumulative performance patch.

Patched ruby 1.9.3-p0 for 30% faster rails boot

What is?

This script installs a patched version of ruby 1.9.3-p0 with patches to make ruby-debug work again (#47) and boot-time performance improvements (#66 and #68), and runtime performance improvements (#83 and #84).

Huge thanks to funny-falcon for the performance patches.