Guest側で認識させる手順が参考になりました。
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
| OS:Ubuntu 12.04 LTS 64bit |
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
| local address:xxx.xxx.xxx.xxx | |
| global address:yyy.yyy.yyy.yyy |
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
| <%= simple_format(text) %> |
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
| $ bundle install | |
| $ bundle exec rake db:migrate RAILS_ENV=development_user | |
| $ bundle exec rails s -e development_user |
sudo apt-get update
sudo apt-get install gcc
sudo apt-get install make
sudo apt-get install build-essential
sudo apt-get install zlib1g-dev libssl-dev libreadline-dev libyaml-dev libxml2-dev libxslt-dev
cd /usr/src/
sudo wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.1.tar.gz
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 ThinReports | |
| module Core::Shape | |
| class List::Page < Basic::Interface | |
| def rest_row_count | |
| height = manager.current_page_state.height | |
| row_height = manager.current_page_state.format.section_height(:detail) | |
| max_height = manager.page_max_height | |
| row_count = (height / row_height).floor | |
| max_row_count = (max_height / row_height).floor |
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 create_csv | |
| <略> | |
| respond_to do |format| | |
| format.csv { | |
| send_data records.to_csv, :type => 'text/csv', :filename => 'test.csv' | |
| return | |
| } | |
| end | |
| 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
| $ cd ~/research/ | |
| $ wget http://sourceforge.net/projects/bowtie-bio/files/bowtie2/2.2.2/bowtie2-2.2.2-linux-x86_64.zip | |
| $ unzip bowtie2-2.2.2-linux-x86_64.zip |
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
| $ bundle exec rake test | |
| Run options: --seed 59117 | |
| # Running tests: | |
| [index]report no:R00002 | |
| [index]report no:R00003 | |
| [index]report no:R00004 | |
| [index]report no:R00005 | |
| [index]report no:R00006 |