Skip to content

Instantly share code, notes, and snippets.

View nicothin's full-sized avatar
🏠
Working from home

Nikolay Gromov nicothin

🏠
Working from home
View GitHub Profile
//- Все примеси в этом файле должны начинаться c имени блока (TEMP-00)
mixin my-new-block(text, mods)
//- Принимает:
//- text {string} - текст
//- mods {string} - список модификаторов
//- Вызов:
+my-new-block('Текст', 'some-mod')
{
"snippets": {
"html": {
"filters": "html, bem",
"snippets": {
"blq": "<blockquote>${1:}</blockquote>",
}
},
"css": {
"snippets": {
@nicothin
nicothin / TEMP.html
Last active January 7, 2018 16:29
Для курса обучения продвинутых верстальщиков
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<ul class="foo">
<li>Далеко-далеко за словесными горами в стране, гласных и согласных живут рыбные.</li>
# SSH_ENV=$HOME/.ssh/environment
#! /bin/bash
eval `ssh-agent -s`
ssh-add
alias ls='ls -hF -1 --color=tty --sort=extension --show-control-chars'
{
/**
* Этот токен должен позволять:
* - Создавать Gist
* - Скачивать Gist
* - Загружать Gist
* - Удалять Gist
*/
"access_token": "",
U+0000
U+0002
U+000D
U+0020
U+0021
U+0022
U+0023
U+0024
U+0025
U+0026
'use strict';
// Требует node.js и пакета mkdirp
// Использование:
// - поместить этот файл в корень проекта
// - исправить пути
// - в терминале, будучи в корневой папке проекта, выполнить node createBlock.js [имя блока]
const fs = require('fs'); // будем работать с файловой системой
{
// Copy any modified settings to `User/Emmet.sublime-settings`
// otherwise modifications will not survive updates.
// Path to folder where Emmet should look for extensions
// http://docs.emmet.io/customization/
"extensions_path": "~/emmet",
// Disable completions of HTML attributes
// with this option disabled, you can get attribute list completions
gulp.task("style", function() {
gulp.src("sass/style.scss")
.pipe(plumber())
.pipe(sass())
.pipe(postcss([
autoprefixer({browsers: ["last 2 versions"]}),
mqpacker({
sort: function (a, b) {
return a.localeCompare(b);
}

Настройки Atom. Синхронизация между несколькими устройствами.

Смотри плагин sync-settings, чтобы забрать себе все эти настройки. Или можно скачать эти файлы и заменить у себя в ~/.atom/