- Переехал на wantr.ru/miripiruni
This file contains 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
body {padding-top: 40px;} | |
* {margin:0;padding: 0;} | |
.l, | |
.r { | |
display: inline-block; | |
width: 50%; | |
background: green; | |
box-sizing: border-box; | |
} |
This file contains 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
http://fatroom.blogspot.com/2007/02/vim.html | |
http://www.prolinux.nm.ru/pub/vim/cook_book.html | |
http://konishchevdmitry.blogspot.com/2008/07/howto-vim.html | |
http://jenyay.net/Programming/Vim | |
http://ru.wikibooks.org/wiki/Vim | |
http://ethanschoonover.com/solarized | |
http://stackoverflow.com/questions/235839/how-do-i-indent-multiple-lines-quickly-in-vi |
This file contains 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
{ | |
"custom_sort_order": true, | |
"sort_order": [ | |
"animation", | |
"-moz-animation", | |
"-ms-animation", | |
"-o-animation", | |
"-webkit-animation", | |
"animation-delay", | |
"-moz-animation-delay", |
This file contains 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
launch "iTerm" | |
tell application "iTerm 2" | |
activate | |
-- ssh in split panes to realty2 | |
set myterm to (make new terminal) | |
tell myterm | |
launch session "miripiruni" | |
set number of columns to 200 |
This file contains 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
// Bookmarklet version (made using http://userjs.up.seesaa.net/js/bookmarklet.html) | |
javascript:(function(){$('link[rel="stylesheet"]').each(function(i,elem){var anchorTag=$('a').attr('href',elem.getAttribute('href'))[0];anchorTag.search="ts="+(+new Date);elem.href=anchorTag.href;})})() |
This file contains 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
. | |
├── BEM Context | |
│ ├── Functions | |
│ │ ├── apply(str:modeName, Obj:ctx) | |
│ │ ├── applyCtx() | |
│ │ ├── applyNext() | |
│ │ └── local() | |
│ ├── modify prototype | |
│ ├── prototype | |
│ │ ├── attrEscape() |
This file contains 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
https://ru.bem.info/technology/bemhtml/v2/rationale/ | |
Отличительные черты и Преимущества | |
Расписать с примерами | |
— Возможность добавления шаблонов в рантайме. | |
— Не требует компиляции шаблонов. | |
Поставить ссылки: | |
— BEMHTML |
This file contains 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 bemxjst = require('./'); | |
// BEMHTML движок | |
var bemhtml = bemxjst.bemhtml; | |
// Компиляция шаблонов | |
// bemhtml.compile бросит ошибку | |
var templates = bemhtml.compile(function() { | |
// нет подпредиката для блока | |
elemMod('em', 'ev') | |
.mod('m', 'v') |
This file contains 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 bemxjst = require('./'); | |
var bemhtml = bemxjst.bemhtml; | |
// Add templates | |
var templates = bemhtml.compile(function() { | |
// true/false в аттрибутах | |
block('*').def()(function() { | |
var ret = applyNext(); | |
var ctx = this.ctx; |
OlderNewer