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
| #minute (0-59), | |
| #| hour (0-23), | |
| #| | day of the month (1-31), | |
| #| | | month of the year (1-12), | |
| #| | | | day of the week (0-6 with 0=Sunday). | |
| #| | | | | commands | |
| 0 * * * * cd /tmp && wget akofink.com && rm -f index.html | |
| 0 * * * * cd /tmp && wget recipes.akofink.com && rm -f index.html | |
| 0 * * * * cd /tmp && wget wishlists.akofink.com && rm -f index.html |
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
| str = Assembly.with_fasta_path.pluck(:id).join("\n") | |
| `echo "#{str}" > valid_assemblies` |
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
| Assembly.with_fasta_path.pluck(:id) |
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 /var/www/apps/midas/current | |
| RAILS_ENV=staging bundle exec rails console |
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 | |
| brew install tree | |
| # Usage | |
| tree <directory> | |
| # Example | |
| tree ~/dev/rails/midas/config |
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
| ALTER DATABASE <db> RENAME to <new_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
| \documentclass[11pt, oneside]{article} | |
| \usepackage{amsmath} | |
| \usepackage{amssymb} | |
| \usepackage{gensymb} | |
| \usepackage{geometry} | |
| \geometry{letterpaper} | |
| \usepackage{tikz} | |
| \usepackage{graphicx} | |
| \usepackage{siunitx} | |
| \usepackage{upgreek} |
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
| .DS_Store | |
| .ruby-version | |
| log | |
| tags | |
| .vim/bundle | |
| .vim_osx/bundle | |
| config/midas.yml | |
| .sass-cache | |
| config/bioassay.yml | |
| config/midas.yml |
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
| <<<<<<< HEAD | |
| def get_path | |
| self.assignment.get_path + "/"+ self.directory_num.to_s | |
| ======= | |
| def get_path | |
| path = self.assignment.get_path + "/"+ self.directory_num.to_s | |
| return path | |
| >>>>>>> e57b0b9dc61d95788035e82059d753295a800bee | |
| 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
| development: | |
| adapter: mysql | |
| database: pg_development | |
| username: root | |
| password: | |
| host: localhost | |
| # Warning: The database defined as 'test' will be erased and | |
| # re-generated from your development database when you run 'rake'. | |
| # Do not set this db to the same as development or production. |