Permalink
Browse files

update configs

  • Loading branch information...
1 parent 7736693 commit 37955eda928537ee6187ba646745800e0a6ec231 @linsong committed Jun 1, 2010
Showing with 16 additions and 1 deletion.
  1. +1 −0 .bashrc
  2. +1 −0 .gitignore
  3. +2 −1 .gvimrc
  4. +12 −0 .railsrc
View
@@ -231,6 +231,7 @@ function $function_name {
alias glg='git log'
alias gup='git pull && up.sh'
alias gdiff='git diff'
+ alias gvdiff='git diff | v'
# following are for git alias
complete -o bashdefault -o default -o nospace -F _git_checkout gco 2>/dev/null \
View
@@ -191,3 +191,4 @@ Library/Autosave Information/
.swn
.swo
Library/Recent Servers
+.sw?
View
@@ -27,12 +27,13 @@ endif
"set colorscheme randomly
"let colorscheme_list = ['sienna', 'oceanlight', 'autumnleaf']
+"spring, pyte, mayansmoke
let colorscheme_list = ['blacksea', 'desert', 'mymud',
\ 'dante', 'candy', 'elflord', 'golden',
\ 'less', 'vibrantink', 'murphy',
\ 'baycomb', 'bensday', 'blackboard', 'blacklight',
\ 'darkburn', 'darker-robin', 'darkerdesert'
- \ 'darkZ', 'desertEx']
+ \ 'darkZ', 'desertEx', 'ChocolateLiquor']
"if ((strftime("%H") < 17 && strftime("%H") > 7))
"let colorscheme_list = ['sienna', 'oceanlight', 'autumnleaf']
"else
View
@@ -30,3 +30,15 @@ end
def qtasks(state='queued')
TaskEngine::Core::TaskInstance.find_all_by_state(state)
end
+
+def load_routes
+ puts %q{
+ >> rts = ActionController::Routing::Routes
+ >> rts.recognize_path("/")
+ => {:controller=>"albums", :action=>"index"}
+
+ >> rts.generate(:controller=>'albums',:action=>'index')
+ => "/music"
+ }
+ ActionController::Routing::Routes
+end

0 comments on commit 37955ed

Please sign in to comment.