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
| GIMP Palette | |
| Name: Android ICS | |
| Columns: 8 | |
| # | |
| 51 181 229 33B5E5 | |
| 170 102 204 AA66CC | |
| 153 204 0 99CC00 | |
| 255 187 51 FFBB33 | |
| 255 68 68 FF4444 | |
| 0 153 204 0099CC |
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
| #!/bin/bash | |
| # | |
| # DESCRIPTION: | |
| # | |
| # Set the bash prompt according to: | |
| # * the ruby version | |
| # * the branch/status of the current git repository | |
| # * the branch of the current subversion repository | |
| # * the return value of the previous command | |
| # |
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
| var Rufus = { | |
| Mnemo: { | |
| /** CONSTANTS **/ | |
| V: [ 'a', 'e', 'i', 'o', 'u' ], | |
| C: [ 'b', 'd', 'g', 'h', 'j', 'k', 'm', 'n', 'p', 'r', 's', 't', 'z' ], | |
| SYL: [], // This is populated later on. [1] | |
| SPECIAL: [ |
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
| INSTALLATION | |
| the rails application must have support for JQuery | |
| get JQuery.Crayonbox.js at http://gelform.com/crayonbox-jquery-plugin/ | |
| add the plugin JQuery.Crayonbox.js to /public/javascript folder | |
| add the crayonbox css to /public/stylesheets folder | |
| add color_picker_form_builder.rb to the /lib folder | |
| add to the view or layout file: |
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
| mysqladmin create DB_name -u DB_user --password=DB_pass && \ | |
| mysqldump -u DB_user --password=DB_pass DB_name | mysql -u DB_user --password=DB_pass -h DB_host DB_name |
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
| if ENV['MY_RUBY_HOME'] && ENV['MY_RUBY_HOME'].include?('rvm') | |
| begin | |
| rvm_path = File.dirname(File.dirname(ENV['MY_RUBY_HOME'])) | |
| rvm_lib_path = File.join(rvm_path, 'lib') | |
| $LOAD_PATH.unshift rvm_lib_path | |
| require 'rvm' | |
| dir = File.dirname(File.dirname(__FILE__)) | |
| rvmrc = File.join(dir, ".rvmrc") | |
| if File.exists? rvmrc |
NewerOlder