(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.
;; | |
;; NS CHEATSHEET | |
;; | |
;; * :require makes functions available with a namespace prefix | |
;; and optionally can refer functions to the current ns. | |
;; | |
;; * :import refers Java classes to the current namespace. | |
;; | |
;; * :refer-clojure affects availability of built-in (clojure.core) | |
;; functions. |
1. Билеты, купленные сильно заранее, дешевле только у лоукостов. | |
2. Чтоб купить дешево билет в нормальной компании, нужно заранее мониторить ценообразование. | |
3. Часто цена на билет может упасть примерно за 2 недели до вылета, а потом за несколько дней до вылета снова может вырасти. | |
4. Цена по одним направлениям в разные сезоны у разных авиакомпаний может быть разная. | |
5. Часто цена на momondo, expedia и aviasales ниже, чем на сайте авиакомпании. Но не всегда. | |
В аэропорту | |
6. Часто можно зарегистрироваться на стойке для бизнес класса, если там никого нет. | |
7. Большинство людей в аэропорту следуют общему потоку. |
/* | |
Example of use | |
document.write = decorate (document.write, function () { | |
console.log(this === document);// true; | |
}, function () { | |
console.log('DOM is updated'); | |
}); | |
document.write = decorate (document.write, null, function () { | |
console.log('After document.write'); |
/* | |
example of use: wait for jQuery load for 5 sec | |
wait_for(function (){ | |
return window.jQuery; | |
}, function () { | |
$('body').addClass('js'); | |
}, 5000); | |
*/ | |
function wait_for (condition, callback, timeout, interval) { |
(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.
This notes is written by Sheldon. You can find me with #iOSBySheldon in Github, Youtube, Facebook, etc.
Convert .mov/.MP4 to .gif
As a developer, I feel better to upload a short video when I create the pull request to show other viewers what I did in this PR. I tried .mov format directly got after finishing recording screen using Quicktime, however, gif offers preview in most web pages, and has smaller file size.
This is not limited to developer, anyone has this need can use this method to convert the files.
This is a collection of the things I believe about software development. I have worked for years building backend and data processing systems, so read the below within that context.
Agree? Disagree? Feel free to let me know at @JanStette. See also my blog at www.janvsmachine.net.
Keep it simple, stupid. You ain't gonna need it.