Skip to content

Instantly share code, notes, and snippets.

View podgorniy's full-sized avatar

Dmitro Podgorniy podgorniy

View GitHub Profile
@stettix
stettix / things-i-believe.md
Last active March 20, 2024 17:45
Things I believe

Things I believe

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.

Fundamentals

Keep it simple, stupid. You ain't gonna need it.

@SheldonWangRJT
SheldonWangRJT / Convert .mov or .MP4 to .gif.md
Last active April 30, 2024 07:31
Convert Movie(.mov) file to Gif(.gif) file in one command line in Mac Terminal

This notes is written by Sheldon. You can find me with #iOSBySheldon in Github, Youtube, Facebook, etc.

Need

Convert .mov/.MP4 to .gif

Reason

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.

@staltz
staltz / introrx.md
Last active April 29, 2024 09:25
The introduction to Reactive Programming you've been missing
@podgorniy
podgorniy / wait_for.js
Created April 18, 2012 12:03
Some condition waiter with no blocking ui with synchronious first condition call.
/*
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) {
@podgorniy
podgorniy / decorate.js
Created March 31, 2012 15:29
Safe javascript decorator
/*
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');
@beshkenadze
beshkenadze / 101.txt
Created March 13, 2012 10:30
101 совет по авиаперелетам
1. Билеты, купленные сильно заранее, дешевле только у лоукостов.
2. Чтоб купить дешево билет в нормальной компании, нужно заранее мониторить ценообразование.
3. Часто цена на билет может упасть примерно за 2 недели до вылета, а потом за несколько дней до вылета снова может вырасти.
4. Цена по одним направлениям в разные сезоны у разных авиакомпаний может быть разная.
5. Часто цена на momondo, expedia и aviasales ниже, чем на сайте авиакомпании. Но не всегда.
В аэропорту
6. Часто можно зарегистрироваться на стойке для бизнес класса, если там никого нет.
7. Большинство людей в аэропорту следуют общему потоку.
@ghoseb
ghoseb / ns-cheatsheet.clj
Last active April 11, 2024 05:28 — forked from alandipert/ns-cheatsheet.clj
Clojure ns syntax cheat-sheet
;;
;; 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.