| authors | state |
|---|---|
Sean Chittenden <[email protected]> |
abandoned |
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
| Homebrew build logs for redis on Ubuntu 16.04.4 LTS | |
| Build date: 2018-03-30 16:08:36 |
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
| <script type="text/javascript"> | |
| // if for some reason you need to remove bottom tilda logo | |
| // you can add block with HTML from Other -> Html code with all this code from script to script | |
| // | |
| var blockWithScript = 'rec48580173'; | |
| var t = 'lda'; | |
| $(document).ready(function() { | |
| $('#ti' + t + 'cop' + 'y').remove(); // remove copyright id block | |
| $('#' + blockWithScript).remove(); // remove block with script after page load | |
| }); |
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
| # 0 is too far from ` ;) | |
| set -g base-index 1 | |
| # Automatically set window title | |
| set-window-option -g automatic-rename on | |
| set-option -g set-titles on | |
| #set -g default-terminal screen-256color | |
| set -g status-keys vi | |
| set -g history-limit 10000 |
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 inquirer = require('inquirer'); | |
| shipit.blTask('wipeDB', function(callback) { | |
| var dbPath = path.join(shipit.config.deployTo, 'shared', 'storage', 'db.sqlite3'); | |
| inquirer.prompt({ | |
| type: 'confirm', | |
| name: 'wipeConfirmation', | |
| default: false, | |
| message: 'Here be dragons! Running this will wipe the production database. This is not recoverable. Are you sure?' | |
| }, function(answer) { |
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 fetch --all | |
| git reset --hard origin/master | |
| git pull origin master |
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
| config.action_mailer.smtp_settings = { | |
| address: "smtp.gmail.com", | |
| port: 587, | |
| domain: "<example.tld>", | |
| user_name: "<username>", | |
| password: "<password>", | |
| authentication: :plain, | |
| enable_starttls_auto: true | |
| } |
Задание
Реализовать на Ruby с использованием Rails приложение со следующим функционалом:
- Регистрация / авторизация пользователей.
- Создание портфеля акций (5-6 акций достаточно) для пользователя: стандартный CRUD.
- Данные должны скачиваться с Yahoo Finance.
- Сделать вывод графика "стоимость портфеля от времени" за 2 последних года по выбранным в п.2 акциям.
Требования
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
| # Nginx+Unicorn best-practices congifuration guide. Heartbleed fixed. | |
| # We use latest stable nginx with fresh **openssl**, **zlib** and **pcre** dependencies. | |
| # Some extra handy modules to use: --with-http_stub_status_module --with-http_gzip_static_module | |
| # | |
| # Deployment structure | |
| # | |
| # SERVER: | |
| # /etc/init.d/nginx (1. nginx) | |
| # /home/app/public_html/app_production/current (Capistrano directory) | |
| # |
NewerOlder