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
%% более читабельно | |
resolve_family({_,_,_,_}, auto) -> inet; | |
resolve_family({_,_,_,_,_,_,_,_}, auto) -> inet6; | |
resolve_family(IP, auto) -> throw({error, {strange_family, IP}}); | |
resolve_family(_, F) -> F. | |
%% менее читабельно | |
resolve_family({_,_,_,_}, auto) -> inet; | |
resolve_family({_,_,_,_,_,_,_,_}, auto) -> inet6; | |
resolve_family(IP, auto) -> throw({error, {strange_family, IP}}); |
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
ПРИПЕВ | |
- Настоящий хотон(коровник) свеж! Барыта!(Все) Балбахынан!(Навозом) Сыбыллыбыт!(Утрамбовано) | |
- К хотону(коровнику), липнет еще и кэш! Уонна(И)! Бадаран(ГРЯЗЬ)! Эмиэ(ЕЩЕ)! | |
- Ароматом он пленит кыыс(ДЕВЧОНОК)! Барыта(ВСЕ)! Ынах(КОРОВАМИ)! Сыта(ПАХНЕТ)! | |
- Эй, детка давай выпьем кумыс! Одьэ(Ооо)! Ынырык(ОЧЕНЬ)! Минигэс(ВКУСНО)! | |
* | |
Мои унты(ТОРБАЗА) блестят, в них даже впускают в Европу(В ЯКУТСКЕ ЕСТЬ ТАКОЙ КЛУБ) | |
Ну, а в Гэлэкси(НАЗВАНИЕ КЛУБА), мне говорят: «- Иди в жопу»! |
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
start() -> | |
case chain([ fun some_fun/1 | |
, fun some_fun/2 | |
.... | |
], SomeData) of | |
{error, _} = E -> E; | |
{ok, Output} -> Output | |
end. | |
some_fun1(Input0) -> |
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
## cat ~/.fetchmailrc | |
poll imap.gmail.com with proto IMAP | |
user 'USERNAME' there with password 'PASSWORD' is 'LOCALUSER' here | |
options keep fetchall ssl mda "procmail -d %T" | |
folder INBOX | |
## cat ~/.procmailrc |
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 #### | |
windowHintsOrder = leftToRight | |
#### bindings #### | |
# window hints | |
bind esc:cmd hint ASDFGHJKLQWERTYUIOPCVBN | |
#window grid |
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%% @doc site outputs secure http-only cookies. Because of that you | |
%%% cannot mix Selenium and inets in your tests | |
%%% | |
%%% Basically, when you find youself writing code like | |
%%% {ok, Cookie} = kselenium:cmd(getCookie, []), | |
%%% httpc:request(get, {Page, [{"Cookie", Cookie}]},[],[]) | |
%%% this *will not work*. You must use inets. | |
%%% | |
%%% This lib ensures that cookies are recorded and sent out with each |
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
[alias] | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -- | |
bug = !git rev-parse --abbrev-ref HEAD | sed 's/.*\\(\\<[[:alpha:]]\\+\\>\\)\\-\\(\\<[[:digit:]]\\+\\>\\).*/\\1-\\2/g' | cat | |
mm = !git commit -m \"`git bug` $1\" ${@:2} && : | |
[user] | |
name = Dmitrii Dimandt | |
email = [email protected] | |
[merge] | |
tool = diffmerge | |
[mergetool "diffmerge"] |
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
#!bash | |
# | |
# bash completion support for core Git. | |
# | |
# Copyright (C) 2006,2007 Shawn O. Pearce <[email protected]> | |
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/). | |
# Distributed under the GNU General Public License, version 2.0. | |
# | |
# The contained completion routines provide support for completing: | |
# |
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
#!/bin/bash -e | |
# Usage # copy from browser "JIRA-205\nTicket title" | |
# $ jira2branch # echoes jira-205-ticket-title | |
# $ JIRA2BRANCH_TEAM=team jira2branch # echoes jira-205-team-ticket-title | |
# $ jira2branch team2 # override mode | |
# echoes jira-205-team2-ticket-title ignoring $JIRA2BRANCH_TEAM | |
OS=`uname` |
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
deck of cards | |
Libertalia, Lords of Waterdeep, Copycat | |
Race for the galaxy, Gloom, Ascension, roborally | |
deck of cards, Uno, Bang!, Munchkin | |
Elder Sign, Illuminati, C'thulhu Dice | |
Bang, Catan, Red November, Pandemia | |
munchkin zombies/superheroes | |
Caylus, Dominion, 7 Wonders, Agricola, Puerto Rico | |
Civilization - the boardgame based on the video game based on the boardgame | |
Carcassone, Forbidden islan, Puerto Rico, Catan |