(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| <script src="https://unpkg.com/@webcomponents/custom-elements"></script> | |
| <style> | |
| body { | |
| margin: 0; | |
| } | |
| /* Style the element from the outside */ | |
| /* | |
| fancy-tabs { | |
| margin-bottom: 32px; |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| # Я решил оставить его исходный интерфейс для класса Account, будем считать, | |
| # что я получил это код от предшественника и теперь мне надо реализовать | |
| # перевод денег с одно счета на другой: | |
| class Account | |
| def decrease_balance(amount); end | |
| def increase_balance(amount); end | |
| def balance; end | |
| def update_log(message, amount); end | |
| def self.find(id); end |
| <div class='calendar_modern' id='calendar'></div> | |
| <div class='time_list'> | |
| <p> | |
| <b>Click on day for select.</b> | |
| </p> | |
| <p> | |
| <b>Second click for unselect.</b> | |
| </p> | |
| <p>List of selected days:</p> |
I've kept quiet for awhile for various political reasons, but I now feel a kind of social responsibility to deter people from banking their business on MongoDB.
Our team did serious load on MongoDB on a large (10s of millions of users, high profile company) userbase, expecting, from early good experiences, that the long-term scalability benefits touted by 10gen
| # 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) | |
| # |
| // Mobile First | |
| @media screen and (min-width: 321px) { // iPhone landscape | |
| } | |
| @media screen and (min-width: 481px) { // iPad portrait | |
| } |
| # This code demonstrates how CS scoping works within a file. Scroll down to the end to | |
| # see how cross-file scoping works. | |
| # Here are the rules. | |
| # | |
| # Scoping is all lexical. Read the file from top to bottom to determine variable scopes. | |
| # | |
| # 1) When you encounter any variable in the top-level nesting, its scope is top level. | |
| # 2) Inside a function, if you encounter a variable name that still exists in an outer scope, then that | |
| # variable name refers to the variable in the outer scope. (This is "closure".) |