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://vimdoc.sourceforge.net/htmldoc/starting.html#vimrc | |
set nocompatible " use vim defaults | |
set scrolloff=3 " keep 3 lines when scrolling | |
set ai " set auto-indenting on for programming | |
set tabstop=2 | |
set softtabstop=2 | |
set shiftwidth=2 | |
set expandtab |
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
remove mod4 = Super_L Super_R | |
remove control = Control_L Control_R | |
keycode 37 = Super_L | |
keycode 105 = Super_R | |
keycode 133 = Control_L | |
keycode 134 = Control_R | |
add Control = Control_L Control_R | |
add mod4 = Super_L Super_R |
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
remove mod4 = Super_L Super_R | |
remove control = Control_L Control_R | |
remove mod1 = Alt_L Alt_R | |
keycode 37 = Super_L | |
keycode 105 = Super_R | |
keycode 64 = Control_L | |
keycode 108 = Control_R | |
keycode 133 = Alt_L | |
keycode 134 = Alt_R | |
add Control = Control_L Control_R |
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
// Mixins --------------------------------------------------------------- | |
=placeholder | |
&::-webkit-input-placeholder | |
@children | |
&:-moz-placeholder | |
@children | |
&.placeholder | |
@children |
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
--- | |
layout: post | |
title: Markdown | |
description: Использование markdown для создания web-страниц. Особенности различных движков. | |
keywords: markdown,rdicount,kramdown,maruku | |
--- | |
**[Markdown][1]{: rel="nofollow"}** — это облегченный язык разметки, призванный облегчить подготовку текстов для публикации в Интернете. | |
Собственно, Markdown — это простой текст. |
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
{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses, TypeSynonymInstances, FlexibleContexts, NoMonomorphismRestriction #-} | |
-- | |
-- xmonad example config file. | |
-- | |
-- A template showing all available configuration hooks, | |
-- and how to override the defaults in your own xmonad.hs conf file. | |
-- | |
-- Normally, you'd only override those defaults you care about. | |
-- |
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
user www-data; | |
worker_processes 1; | |
error_log /var/log/nginx/error.log; | |
pid /var/run/nginx.pid; | |
events { | |
use epoll; | |
worker_connections 1024; | |
multi_accept on; |
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
# загружаем дефолтный профиль оболочки | |
source /etc/profile | |
# Настраиваем клавиши | |
source ~/.zsh_key | |
source ~/.zsh_aliase | |
source ~/.zsh_function | |
# Use hard limits, except for a smaller stack and no core dumps | |
unlimit |
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
case $TERM in | |
linux) | |
bindkey "^[[2~" yank | |
bindkey "^[[3~" delete-char | |
bindkey "^[[5~" up-line-or-history | |
bindkey "^[[6~" down-line-or-history | |
bindkey "^[[1~" beginning-of-line | |
bindkey "^[[4~" end-of-line | |
bindkey "^[e" expand-cmd-path ## C-e for expanding path of typed command | |
bindkey "^[[A" up-line-or-search ## up arrow for back-history-search |
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
# цветной grep | |
alias grep='grep --color=auto' | |
# более человекочитаемые df и du | |
alias df='df -h' | |
alias du='du -h' | |
# переименование-перемещение c пogтвepжgeнueм без коррекции | |
alias mv='nocorrect mv -i' | |
# рекурсивное копирование с подтверждением без коррекции | |
alias cp='nocorrect cp -iR' | |
# удаление без подтверждения без коррекции |
OlderNewer