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
| MayflyNG::MayflyException: IOException: no response from 10.72.108.213:11068 Backtrace: MayflyNG::MayflyException::MayflyException(String const&) MayflyNG::Client::rpc(MayflyNG::RequestMsg&, MayflyNG::ResponseMsg&, bool, CalTransaction&) MayflyNG::Client::internal_update_append_set(MayflyNG::RequestMsg&, MayflyNG::ResponseMsg&, Buffer*, MayflyNG::Context*, bool, CalTransaction&) MayflyNG::Client::handle_request(MayflyNG::Client::RequestMode::RequestType, MayflyNG::RequestMsg&, MayflyNG::ResponseMsg&, Buffer*, MayflyNG::Context*, CalTransaction&) MayflyNG::Client::do_update(Buffer const&, Buffer const&, Buffer*, MayflyNG::Context*, MayflyNG::Context*, int) MayflyNG::Client::update(Buffer const&, Buffer const&, MayflyNG::Context*, int) MayflyNG::Client::update(String const&, Buffer const&, MayflyNG::Context*, int) Merchant::Checkout::CheckoutSessionPBMayfly::serialize_and_insert(boost::shared_ptr, int, Merchant::Checkout::CheckoutSessionToken&, bool) Merchant::Checkout::CheckoutSessionPBMayfly::update_session_i |
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
| xmodmap -e 'keycode 0x42=Escape' #remaps the keyboard |
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
| sed 's/,,/, ,/g;s/,,/, ,/g' data.csv | column -s, -t |
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
| (printf "PERM LINKS OWNER GROUP SIZE MONTH DAY " ; \printf "HH:MM/YEAR NAME\n" ; \ls -l | sed 1d) | column -t |
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
| git clone git://github.com/imathis/octopress.git octopress | |
| cd octopress | |
| gs init | |
| gs | |
| gem install bundler | |
| bundle | |
| bundle exec rake install | |
| vim Rakefile #edit ssh_user, document_root | |
| echo .gs/ >> .gitignore | |
| git add . |
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
| cd /tmp | |
| wget http://download.redis.io/releases/redis-2.8.6.tar.gz | |
| tar xzf redis-2.* | |
| cd redis* | |
| make | |
| sudo make install | |
| cd utils | |
| sudo ./install_server.sh |
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
| =Navigating= | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| =Clicking links and buttons= | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') | |
| click('Link Text') # Click either a link or a button | |
| click('Button Value') |
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
| module Helpers | |
| def javascript_tag(pathname) | |
| "<script src='#{asset_url(pathname)}'></script>" | |
| end | |
| def stylesheet_tag(pathname) | |
| "<link href='#{asset_url(pathname)}' rel='stylesheet'>" | |
| end | |
| private |
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
| # Amadeusz Juskowiak <[email protected]> 2012 - MIT License | |
| # 1. Put inside helpers do .. end | |
| # 2. Set CACHE_DIR to somewhere writable and private (like CACHE_DIR=File.dirname(__FILE__) + '/tmp' | |
| # 3. Use it! You can use fragment_expire to remove cache with given name. | |
| # | |
| # Example: | |
| # %h1 foo | |
| # = cache_fragment(:report, 300) do | |
| # - data = get_data_slowly |
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
| THE HUGWARE LICENSE | |
| LICENSE | |
| If there is no other license you can do whatever you want with this while you retain the attribution to the author. | |
| HUGS | |
| The author spent time to make this software so please show some gratitude, in any form. A hug, a tweet, a beer on a conference or just a plain old email. Your choice. |