This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"pathogen is a plugin manager | |
call pathogen#runtime_append_all_bundles() | |
call pathogen#helptags() | |
"save my position / view next time ai load the file | |
au BufWinLeave * mkview | |
au BufWinEnter * silent loadview | |
"highlight column/linee | |
if &bg == 'dark' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'mkmf' | |
dir_config('string'); | |
create_makefile('string'); | |
~ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* A really simple memcache implementation for PHP - Based on https://gist.github.com/949850 | |
* Run the script, it listens on port 8000 | |
* To store a value, http://localhost:8000/write/family/key/val | |
* To read a value , http://localhost:8000/read/family/key | |
* | |
* This is just a proof of concept .. it doesn't handle errors etc.. | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@tara:~/tmp/1008583# locate images_controller.rb | |
/usr/lib/ruby/gems/1.8/gems/refinerycms-images-0.9.9.21/app/controllers/admin/images_controller.rb | |
root@tara:~/tmp/1008583# vim `locate images_controller.rb` |
NewerOlder