Skip to content

Instantly share code, notes, and snippets.

-> % vulcanize base.html
<!DOCTYPE html><html lang="en"><head>
<meta charset="UTF-8">
<title></title>
</head>
<body><div hidden="" by-vulcanize=""><a href="imports/sub-base/sub-base.html">Hello also from super base!</a>
<span href="imports/hello">From Sub-Base!</span>
</div>
@tonyganch
tonyganch / abc.json
Created January 12, 2014 12:11
Alphabetical sort order for csscomb.js (based on csscomb.json)
{
"sort-order": [
"-webkit-animation",
"-moz-animation",
"-ms-animation",
"-o-animation",
"animation",
"-webkit-animation-delay",
"-moz-animation-delay",
"-ms-animation-delay",
@tonyganch
tonyganch / csscomb.js
Created December 27, 2013 20:05
CSScomb task for Grunt
/*
* grunt-csscomb
* https://github.com/csscomb/grunt-csscomb
*
* Copyright (c) 2013 Koji Ishimoto, contributors
* Licensed under the MIT license.
*/
'use strict';
var path = require('path');
{
"custom_sort_order": true,
"sort_order": [
[
"display",
"float",
"position",
"clear",
"top",
"right",
@tonyganch
tonyganch / Input
Created July 9, 2013 11:36
Test custom order in CSScomb: http://pastebin.com/s5WQjmBg
.nani {
left: 0;
// csscomb: false
top: 0;
color: tomato;
//csscomb: true
z-index: 0;
position: fixed;
}
@tonyganch
tonyganch / gist:1710204
Created January 31, 2012 12:10
1С. Процедура обработки получения данных выбора
Процедура ОбработкаПолученияДанныхВыбора(ДанныеВыбора, Параметры, СтандартнаяОбработка)
Запрос = Новый Запрос;
Запрос.Текст = "ВЫБРАТЬ РАЗРЕШЕННЫЕ
| Товары.Ссылка как Товар
|ИЗ
| Справочник.Товары КАК Товары
|ГДЕ
| Товары.Наименование ПОДОБНО &Наименование";
Запрос.УстановитьПараметр("Наименование",