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
| diff --git a/.gitignore b/.gitignore | |
| new file mode 100644 | |
| index 0000000..4724e62 | |
| --- /dev/null | |
| +++ b/.gitignore | |
| @@ -0,0 +1,2 @@ | |
| +.DS_Store | |
| +textpattern/config.php | |
| \ No newline at end of file | |
| diff --git a/files/.gitignore b/files/.gitignore |
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
| ****************************************** | |
| Ruby Developer Required @ JobsGoPublic.com | |
| ****************************************** | |
| ============================== | |
| The Company - JobsGoPublic.com | |
| ============================== | |
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
| def fetch_products_for_product_category | |
| @category = params[:observed_field_value] | |
| @work_order_item_id = params[:work_order_item_id] | |
| end |
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
| A---B---C---D---M---E---F (master) | |
| \ / | |
| H---I | |
| master is checked out then: | |
| git rebase --onto D M | |
| --> takes M..master (= E and F) and applies onto D |
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
| # courtesy of doener from git IRC channel. Thanks man! | |
| A---B---C---D (master) | |
| \ \ | |
| \ X---X (topicA) | |
| \ | |
| X---X---X (topicB) | |
| (integration branch is somewhere else...) |
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
| ## RAILS | |
| alias sa='ruby ./script/about' | |
| alias ss='ruby ./script/server' | |
| alias sc='ruby ./script/console' | |
| alias sdb='ruby ./script/dbconsole' | |
| alias sg='ruby ./script/generate' | |
| alias sd='ruby ./script/destroy' | |
| alias sp='ruby ./script/plugin' | |
| alias ssp='ruby ./script/spec' | |
| alias rdbm='rake db:migrate' |
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
| <!-- use this where you want the search form to appear --> | |
| <txp:glz_custom_fields_search_form searchby="My select value, radio_value, section, category, checkbox_value" section="all" /> | |
| <!-- this is the result --> | |
| <form method="post" action="http://offline/glz_custom_fields/search" id="glz_custom_fields_search"> | |
| <fieldset> | |
| <p class="glz_custom_select_field"> | |
| <label for="custom-1">My select value</label> | |
| <br /><select id="custom-1" name="custom_1" class="list"> | |
| <option value=""> </option> |
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
| # zesty.rb | |
| ## Bit Zesty default rails stack | |
| # Delete unnecessary files | |
| run "rm README" | |
| run "rm doc/README_FOR_APP" | |
| run "rm public/index.html" | |
| run "rm public/favicon.ico" | |
| run "rm public/robots.txt" | |
| run 'rm -f public/javascripts/*' #add your fav js lib here |
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
| # install vim | |
| yum install vim-common vim-enhanced | |
| # add this into /etc/bashrc (or into ~/.bashrc) | |
| alias vi='vim' | |
| # add this into /etc/vimrc | |
| if v:lang =~ "utf8$" || v:lang =~ "UTF-8$" | |
| set fileencodings=utf-8,latin1 | |
| endif |
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
| # all defaults | |
| matthew@bumble:~$ cat /etc/apache2/mods-enabled/deflate.conf | |
| <IfModule mod_deflate.c> | |
| AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css | |
| </IfModule> | |
| matthew@bumble:~$ cat /etc/apache2/mods-enabled/deflate.load | |
| LoadModule deflate_module /usr/lib/apache2/modules/mod_deflate.so | |
| # gzip test @ http://www.gidnetwork.com/tools/gzip-test.php |