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
# cd /mnt/d/projects/ # переход к указанному каталогу при запуске етрминала | |
# chmod 777 ~/.bashrc # если редактировали этот файл из Windows | |
#! /bin/bash | |
# eval `ssh-agent -s` && ssh-add # вынес в алиас для запуска SSH-агента вручную | |
# Раскомментить, чтобы видеть коды цветов при запуске терминала | |
# for((i=16; i<256; i++)); do | |
# printf "\e[48;5;${i}m%03d" $i; |
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 ls='ls -cvA --block-size=K --group-directories-first -1 --color=always' | |
alias gl='git log --pretty=format:"%h %C(magenta)%ad | %C(white)%s%d %C(magenta)[%an]" --date=short --graph --max-count=40 $*' | |
alias gs='git status' | |
alias ga='git add .' | |
alias gco='git commit -m $*' | |
alias push='git push' | |
alias pull='git pull' | |
alias pro='cd /mnt/d/projects' # ЗАМЕНИТЕ на путь к вашей директории проектов! |
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
TERM Eterm | |
TERM ansi | |
TERM color-xterm | |
TERM con[0-9]*x[0-9]* | |
TERM cons25 | |
TERM console | |
TERM cygwin | |
TERM dtterm | |
TERM eterm-color | |
TERM gnome |
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
//- Все примеси в этом файле должны начинаться c имени блока (TEMP-00) | |
mixin my-new-block(text, mods) | |
//- Принимает: | |
//- text {string} - текст | |
//- mods {string} - список модификаторов | |
//- Вызов: | |
+my-new-block('Текст', 'some-mod') |
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
Show hidden characters
{ | |
"snippets": { | |
"html": { | |
"filters": "html, bem", | |
"snippets": { | |
"blq": "<blockquote>${1:}</blockquote>", | |
} | |
}, | |
"css": { | |
"snippets": { |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
</head> | |
<body> | |
<ul class="foo"> | |
<li>Далеко-далеко за словесными горами в стране, гласных и согласных живут рыбные.</li> |
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
# 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' |
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
{ | |
/** | |
* Этот токен должен позволять: | |
* - Создавать Gist | |
* - Скачивать Gist | |
* - Загружать Gist | |
* - Удалять Gist | |
*/ | |
"access_token": "", |
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
U+0000 | |
U+0002 | |
U+000D | |
U+0020 | |
U+0021 | |
U+0022 | |
U+0023 | |
U+0024 | |
U+0025 | |
U+0026 |
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
'use strict'; | |
// Требует node.js и пакета mkdirp | |
// Использование: | |
// - поместить этот файл в корень проекта | |
// - исправить пути | |
// - в терминале, будучи в корневой папке проекта, выполнить node createBlock.js [имя блока] | |
const fs = require('fs'); // будем работать с файловой системой |