Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Evsyukov Denis juev

🏠
Working from home
View GitHub Profile
@juev
juev / .vimrc
Created Mar 17, 2011
my ~/.vimrc file
View .vimrc
" 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
@juev
juev / .Xmodmap
Created Mar 18, 2011
~/.Xmodmap for Apple Aluminium Keyboard with Numeric Keypad
View .Xmodmap
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
@juev
juev / .Xmodmap
Created Mar 28, 2011
~/.Xmodmap for Genius keyboard
View .Xmodmap
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
View input-placeholder.sass
// Mixins ---------------------------------------------------------------
=placeholder
&::-webkit-input-placeholder
@children
&:-moz-placeholder
@children
&.placeholder
@children
@juev
juev / markdown
Created Apr 24, 2011
Site article about markdown
View markdown
---
layout: post
title: Markdown
description: Использование markdown для создания web-страниц. Особенности различных движков.
keywords: markdown,rdicount,kramdown,maruku
---
**[Markdown][1]{: rel="nofollow"}** — это облегченный язык разметки, призванный облегчить подготовку текстов для публикации в Интернете.
Собственно, Markdown — это простой текст.
@juev
juev / xmonad.hs
Created May 30, 2011
Config xmonad by Omever
View xmonad.hs
{-# 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.
--
@juev
juev / nginx.conf
Created May 30, 2011
nginx.conf for my sites
View nginx.conf
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;
View .zshrc
# загружаем дефолтный профиль оболочки
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
View .zsh_key
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
View .zsh_aliase
# цветной 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'
# удаление без подтверждения без коррекции