Pavel Gorbokon pahanix

View gist:1029826
1
javascript:(function(){var%20BLJU="******";%20var%20a%20=%20new%20Array;%20allSpans%20=%20document.getElementsByTagName("span");%20for%20(i=0;%20i<allSpans.length;%20i++)%20%20{%20if%20((allSpans[i].className.indexOf("ljuser")%20>%20-1)%20&&%20allSpans[i].getAttribute("lj:user")%20==%20BLJU)%20{%20a.push(allSpans[i].parentNode.parentNode.parentNode.parentNode)%20}};%20for%20(i=0;%20i<a.length;%20i++)%20{%20if%20(a[i].className.indexOf("comment-wrap")%20>%20-1)%20{%20a[i].style.display%20=%20"none"}%20};})();
View gist:885671
1 2 3 4 5 6 7 8 9 10
# config/initializers/clear_logs.rb
 
# This snippet simply clears your logs when they are too large.
# Large logs mean looooong search in TextMate. You know it :)
# Every time you run rails server or rails console it checks log sizes
# and clears the logs for you if necessary.
 
if Rails.env.development?
MAX_LOG_SIZE = 2.megabytes
View bashrc.sh
1 2 3 4 5 6 7 8 9 10
#...
# Nav
alias l='ls -CF'
 
## Dev
# Rails
alias ss='script/server --debugger'
alias sc='script/console --debugger'
alias sg='script/generate'
alias sd='script/destroy'
View bashrc.sh
1 2 3 4 5 6 7 8 9 10
#...
# Nav
alias l='ls -CF'
 
## Dev
# Rails
alias ss='script/server --debugger'
alias sc='script/console --debugger'
alias sg='script/generate'
alias sd='script/destroy'
Something went wrong with that request. Please try again.