vanne


Member since 09/12/2006

37 snippets

View their favorites

Profile

All time reputation: 9

Achievement

You have not received any achievements.

vanne's Recent Snippets



« Prev 1 2
  1. FAV Jquery color fade plugin

    Other saved by 4 people
    posted 10 years ago vanne
  2. FAV Copy 2 directories with rsync and strip .svn - .cvs directories

    Here's how to copy 2 directories and strip the .svn and .cvs nonsense, basically an export function, but locally
    Bash saved by 4 people
    posted 11 years ago vanne
  3. FAV Capistrano recipe for static/php sites

    This snippet is made for textmate (or e editor ?)
    Other
    posted 11 years ago vanne
  4. FAV Compile all css files in a rails project

    Other
    posted 11 years ago vanne
  5. FAV Array divide method

    Other
    posted 11 years ago vanne
  6. FAV Copies 2 folders and ignores .svn

    Other
    posted 11 years ago vanne
  7. FAV Auto Clear Elements

    Other
    posted 11 years ago vanne
  8. FAV Add class methods for ruby classes

    Ruby saved by 1 person
    posted 12 years ago vanne
  9. FAV Parse HTML when reading atom feeds

    Ruby saved by 1 person
    posted 12 years ago vanne
  10. FAV Bash functions for running rails unit and functional tests

    Bash
    posted 12 years ago vanne
  11. FAV Load SVN info into hash

    Other
    posted 12 years ago vanne
  12. FAV Dynamic Method Creation

    Other
    posted 12 years ago vanne
  13. FAV Email Command Output

    Other saved by 4 people
    posted 12 years ago vanne
  14. FAV dynamic methods

    Other
    posted 12 years ago vanne
  15. FAV Bash shortcut for finding a rubygem

    Other
    posted 12 years ago vanne
  16. FAV Inverse a string based on a delimiter

    Other
    posted 12 years ago vanne
  17. FAV Generate params hash for Model

    Other
    posted 12 years ago vanne
  18. FAV IRB clear screen on windows

    Since there is no convenient way to clear the console in irb on windows, we can simple emulate the dos cls function
    Ruby saved by 4 people
    posted 12 years ago vanne
  19. FAV Mounting Samba Share from OSX terminal

    Mount Samba share from osx terminal, might not show up in Finder
    Bash
    posted 12 years ago vanne
  20. FAV Retrieve domain name in javascript

    Other saved by 2 people
    posted 12 years ago vanne
  21. FAV Use helpers in controllers or models

    This is an easy to use any helpers that rails provides in any other place besides views and view helpers
    Ruby saved by 4 people
    posted 12 years ago vanne
  22. FAV Shortcut for find method in rails

    Put this in environment.rb to use in your whole app or the console
    Ruby saved by 4 people
    posted 12 years ago vanne
  23. FAV Search Methods in irb

    This allows you to search any INSTANCE or CLASS methods of any objects including rails models, which is helpful if you want to see the methods that you created yourself.
    Ruby saved by 1 person
    posted 12 years ago vanne
  24. FAV List/Search Packages installed

    List all packages that are installed in your system
    Bash saved by 4 people
    posted 12 years ago vanne
  25. FAV shortcut method for display table schema

    Add this inside your .irbrc file to call "show Model" in your console instead of "y Model.column_names"
    Ruby saved by 4 people
    posted 13 years ago vanne
  26. FAV decimal method for float objects

    Extend any float object to allow for decimal conversion
    Ruby saved by 1 person
    posted 13 years ago vanne
  27. FAV System Wide Console Logging

    Add this to your ~/.irbrc file and you will have inline logging in the console
    Ruby saved by 4 people
    posted 13 years ago vanne
  28. FAV Sanitize String

    Use this to sanitize a string and convert all wierd characters to your choice of delimiter
    Ruby saved by 9 people
    posted 13 years ago vanne
  29. FAV ssh with debug options

    SSh with 3 levels of debugging this useful if you can't login and need to see what is going on.
    Bash saved by 1 person
    posted 13 years ago vanne
  30. FAV Workaround to remove or rename files with long names

    Workaround to remove or rename annoying files with long filenames
    Other
    posted 13 years ago vanne
« Prev 1 2