Last active
December 22, 2015 13:40
-
-
Save korotindev/77da3248ebb797dc00e9 to your computer and use it in GitHub Desktop.
Upstart New System
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
#Vim files | |
*.swp | |
*.swn | |
*.swo | |
*.swm | |
*.swl | |
*.swk | |
#Dolphin files | |
*.directory |
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
local all postgres trust | |
local all all trust | |
host all all 127.0.0.1/32 trust | |
host all all ::1/128 trust |
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
/.bundle | |
/db/*.sqlite3 | |
/log/*.log | |
/tmp | |
*.rbc | |
*.sassc | |
.sass-cache | |
capybara-*.html | |
.rspec | |
.rvmrc | |
/.bundle | |
/vendor/bundle | |
/log/* | |
/tmp/* | |
/db/*.sqlite3 | |
/public/system/* | |
/public/uploads/* | |
/public/assets/* | |
/coverage/ | |
/spec/tmp/* | |
**.orig | |
rerun.txt | |
pickle-email-*.html | |
.project | |
config/initializers/secret_token.rb | |
config/database.yml | |
*.sqlite3-journal | |
*~ | |
Gemfile.lock |
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
Important! | |
Notes only |
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
#=====[SETTINGS]=======# | |
rvm default | |
set fish_key_bindings fish_vi_key_bindings | |
#=====[GIT]============# | |
abbr -a gco git checkout | |
abbr -a gci git commit | |
abbr -a gplr git pull --rebase | |
abbr -a gp git push origin (git rev-parse --abbrev-ref HEAD) | |
abbr -a ga git add --all . | |
abbr -a gd git diff HEAD | |
#=====[RAKE]===========# | |
abbr -a rdm rake db:migrate | |
abbr -a rdr rake db:rollback | |
#=====[HELPERS]========# | |
abbr -a fuck eval command sudo $history[1] | |
#=====[ENVIRONMENT]====# | |
export TERM=screen-256color |
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
set background=dark | |
hi clear | |
if exists("syntax_on") | |
syntax reset | |
endif | |
let g:colors_name = "gentooish" | |
hi Normal gui=NONE guifg=#cccccc guibg=#191919 ctermfg=252 ctermbg=234 | |
hi IncSearch gui=NONE guifg=#000000 guibg=#8bff95 term=reverse ctermfg=16 ctermbg=120 | |
hi Search gui=NONE guifg=#cccccc guibg=#863132 term=reverse ctermfg=252 ctermbg=95 | |
hi ErrorMsg gui=NONE guifg=#cccccc guibg=#863132 term=standout ctermfg=252 ctermbg=95 | |
hi WarningMsg gui=NONE guifg=#cccccc guibg=#863132 term=standout ctermfg=252 ctermbg=95 | |
hi ModeMsg gui=NONE guifg=#cccccc guibg=NONE term=bold ctermfg=252 | |
hi MoreMsg gui=NONE guifg=#cccccc guibg=NONE term=bold ctermfg=252 | |
hi Question gui=NONE guifg=#cccccc guibg=NONE term=standout ctermfg=252 | |
hi StatusLine gui=BOLD guifg=#cccccc guibg=#333333 term=bold,reverse cterm=bold ctermfg=252 ctermbg=236 | |
hi User1 gui=BOLD guifg=#999999 guibg=#333333 cterm=bold ctermfg=246 ctermbg=236 | |
hi User2 gui=BOLD guifg=#8bff95 guibg=#333333 cterm=bold ctermfg=120 ctermbg=236 | |
hi StatusLineNC gui=NONE guifg=#999999 guibg=#333333 term=reverse cterm=bold ctermfg=240 ctermbg=236 | |
hi VertSplit gui=NONE guifg=#cccccc guibg=#333333 term=reverse ctermfg=252 ctermbg=236 | |
hi WildMenu gui=BOLD guifg=#cf7dff guibg=#1F0F29 term=standout cterm=bold ctermfg=177 ctermbg=16 | |
hi DiffText gui=NONE guifg=#000000 guibg=#4cd169 term=reverse ctermfg=16 ctermbg=77 | |
hi DiffChange gui=NONE guifg=NONE guibg=#541691 term=bold ctermbg=54 | |
hi DiffDelete gui=NONE guifg=#cccccc guibg=#863132 term=bold ctermfg=252 ctermbg=95 | |
hi DiffAdd gui=NONE guifg=#cccccc guibg=#306d30 term=bold ctermfg=252 ctermbg=59 | |
hi Cursor gui=NONE guifg=#000000 guibg=#8bff95 ctermfg=16 ctermbg=120 | |
hi Folded gui=NONE guifg=#aaa400 guibg=#000000 term=standout ctermfg=142 ctermbg=16 | |
hi FoldColumn gui=NONE guifg=#cccccc guibg=#000000 term=standout ctermfg=252 ctermbg=16 | |
hi Directory gui=NONE guifg=#8bff95 guibg=NONE term=bold ctermfg=120 | |
hi LineNr gui=NONE guifg=#8bff95 guibg=#222222 term=underline ctermfg=250 ctermbg=235 | |
hi CursorLineNr gui=NONE guifg=#8bff95 guibg=#222222 term=underline ctermfg=250 ctermbg=235 | |
hi NonText gui=NONE guifg=#555555 guibg=NONE term=bold ctermfg=240 | |
hi SpecialKey gui=NONE guifg=#6f6f2f guibg=NONE term=bold ctermfg=58 | |
hi Title gui=NONE guifg=#9a383a guibg=NONE term=bold ctermfg=95 | |
hi Comment gui=NONE guifg=#666666 guibg=NONE term=bold ctermfg=241 | |
hi Constant gui=NONE guifg=#b8bb00 guibg=NONE term=underline ctermfg=142 | |
hi Boolean gui=NONE guifg=#00ff00 guibg=NONE ctermfg=46 ctermfg=46 | |
hi String gui=NONE guifg=#5dff9e guibg=#0f291a ctermfg=85 ctermbg=16 ctermfg=85 ctermbg=16 | |
hi Error gui=NONE guifg=#990000 guibg=#000000 term=reverse ctermfg=88 ctermbg=16 term=reverse ctermfg=88 ctermbg=16 | |
hi Identifier gui=NONE guifg=#4cbbd1 guibg=NONE term=underline ctermfg=74 term=underline ctermfg=74 | |
hi Ignore gui=NONE guifg=#555555 ctermfg=240 ctermfg=240 | |
hi Number gui=NONE guifg=#ddaa66 guibg=NONE ctermfg=179 ctermfg=179 | |
hi PreProc gui=NONE guifg=#9a383a guibg=NONE term=underline ctermfg=95 term=underline ctermfg=95 | |
hi Special gui=NONE guifg=#ffcd8b guibg=NONE term=bold ctermfg=222 term=bold ctermfg=222 | |
hi Statement gui=NONE guifg=#4cd169 guibg=NONE term=bold ctermfg=77 term=bold ctermfg=77 | |
hi Todo gui=NONE guifg=#cccccc guibg=#863132 term=standout ctermfg=252 ctermbg=95 term=standout ctermfg=252 ctermbg=95 | |
hi Type gui=NONE guifg=#c476f1 guibg=NONE term=underline ctermfg=177 term=underline ctermfg=177 | |
hi Underlined gui=UNDERLINE guifg=#cccccc guibg=NONE term=underline cterm=underline ctermfg=252 term=underline cterm=underline ctermfg=252 | |
hi Visual gui=reverse guifg=#6e4287 guibg=#ffffff term=reverse ctermfg=231 ctermbg=60 | |
hi VisualNOS gui=NONE guifg=#cccccc guibg=#000000 term=bold,underline ctermfg=252 ctermbg=16 | |
hi CursorLine gui=NONE guifg=NONE guibg=#222222 term=underline ctermbg=235 | |
hi CursorColumn gui=NONE guifg=NONE guibg=#222222 term=reverse ctermbg=235 | |
hi lispList gui=NONE guifg=#555555 | |
hi Pmenu gui=NONE guifg=#cccccc guibg=#222222 ctermfg=252 ctermbg=235 | |
hi PMenuSel gui=BOLD guifg=#c476f1 guibg=#000000 | |
hi PmenuSbar gui=NONE guifg=#cccccc guibg=#000000 ctermfg=252 ctermbg=16 | |
hi PmenuThumb gui=NONE guifg=#cccccc guibg=#333333 ctermfg=252 ctermbg=236 | |
hi SpellBad gui=undercurl guisp=#cc6666 term=reverse cterm=undercurl ctermfg=167 | |
hi SpellRare gui=undercurl guisp=#cc66cc term=reverse cterm=undercurl ctermfg=170 | |
hi SpellLocal gui=undercurl guisp=#cccc66 term=underline cterm=undercurl ctermfg=185 | |
hi SpellCap gui=undercurl guisp=#66cccc term=reverse cterm=undercurl ctermfg=80 | |
hi MatchParen gui=NONE guifg=#ffffff guibg=#005500 term=reverse ctermfg=231 ctermbg=22 | |
hi SpecialKey gui=NONE guifg=#6f6f2f guibg=NONE term=bold ctermfg=58 | |
hi NonText gui=NONE guifg=#555555 guibg=NONE term=bold ctermfg=240 | |
hi Directory gui=NONE guifg=#8bff95 guibg=NONE term=bold ctermfg=120 | |
hi ErrorMsg gui=NONE guifg=#cccccc guibg=#863132 term=standout ctermfg=252 ctermbg=95 | |
hi IncSearch gui=NONE guifg=#000000 guibg=#8bff95 term=reverse ctermfg=16 ctermbg=120 | |
hi Search gui=NONE guifg=#cccccc guibg=#863132 term=reverse ctermfg=252 ctermbg=95 | |
hi MoreMsg gui=NONE guifg=#cccccc guibg=NONE term=bold ctermfg=252 | |
hi ModeMsg gui=NONE guifg=#cccccc guibg=NONE term=bold ctermfg=252 | |
hi LineNr gui=NONE guifg=#bbbbbb guibg=#222222 term=underline ctermfg=250 ctermbg=235 | |
hi Question gui=NONE guifg=#cccccc guibg=NONE term=standout ctermfg=252 | |
hi StatusLine gui=BOLD guifg=#cccccc guibg=#333333 term=bold,reverse cterm=bold ctermfg=252 ctermbg=236 | |
hi StatusLineNC gui=NONE guifg=#999999 guibg=#333333 term=reverse cterm=bold ctermfg=240 ctermbg=236 | |
hi VertSplit gui=NONE guifg=#cccccc guibg=#333333 term=reverse ctermfg=252 ctermbg=236 | |
hi Title gui=NONE guifg=#9a383a guibg=NONE term=bold ctermfg=95 | |
hi Visual gui=reverse guifg=#6e4287 guibg=#ffffff term=reverse ctermfg=231 ctermbg=60 | |
hi VisualNOS gui=NONE guifg=#cccccc guibg=#000000 term=bold,underline ctermfg=252 ctermbg=16 | |
hi WarningMsg gui=NONE guifg=#cccccc guibg=#863132 term=standout ctermfg=252 ctermbg=95 | |
hi WildMenu gui=BOLD guifg=#cf7dff guibg=#1F0F29 term=standout cterm=bold ctermfg=177 ctermbg=16 | |
hi Folded gui=NONE guifg=#aaa400 guibg=#000000 term=standout ctermfg=142 ctermbg=16 | |
hi FoldColumn gui=NONE guifg=#cccccc guibg=#000000 term=standout ctermfg=252 ctermbg=16 | |
hi DiffAdd gui=NONE guifg=#cccccc guibg=#306d30 term=bold ctermfg=252 ctermbg=59 | |
hi DiffChange gui=NONE guifg=NONE guibg=#541691 term=bold ctermbg=54 | |
hi DiffDelete gui=NONE guifg=#cccccc guibg=#863132 term=bold ctermfg=252 ctermbg=95 | |
hi DiffText gui=NONE guifg=#000000 guibg=#4cd169 term=reverse ctermfg=16 ctermbg=77 | |
hi SignColumn term=standout ctermfg=51 ctermbg=250 | |
hi SignColumn term=standout ctermfg=51 ctermbg=250 | |
hi TabLine term=underline cterm=underline ctermbg=248 | |
hi TabLine term=underline cterm=underline ctermbg=248 | |
hi TabLineSel term=bold cterm=bold | |
hi TabLineSel term=bold cterm=bold | |
hi TabLineFill term=reverse ctermfg=234 ctermbg=252 | |
hi TabLineFill term=reverse ctermfg=234 ctermbg=252 | |
hi CursorColumn gui=NONE guifg=NONE guibg=#222222 term=reverse ctermbg=235 | |
hi SpellBad gui=undercurl guisp=#cc6666 term=reverse cterm=undercurl ctermfg=167 | |
hi SpellCap gui=undercurl guisp=#66cccc term=reverse cterm=undercurl ctermfg=80 | |
hi SpellRare gui=undercurl guisp=#cc66cc term=reverse cterm=undercurl ctermfg=170 | |
hi SpellLocal gui=undercurl guisp=#cccc66 term=underline cterm=undercurl ctermfg=185 | |
hi Pmenu gui=NONE guifg=#cccccc guibg=#222222 ctermfg=252 ctermbg=235 | |
hi PmenuSel cterm=bold ctermfg=177 ctermbg=16 | |
hi PmenuSel cterm=bold ctermfg=177 ctermbg=16 | |
hi PmenuSbar gui=NONE guifg=#cccccc guibg=#000000 ctermfg=252 ctermbg=16 | |
hi PmenuThumb gui=NONE guifg=#cccccc guibg=#333333 ctermfg=252 ctermbg=236 | |
hi MatchParen gui=NONE guifg=#ffffff guibg=#005500 term=reverse ctermfg=231 ctermbg=22 |
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
sudo su | |
vim /etc/$postgrespg_h_dir$/$postgres_ver$/main/pg_hba.conf -> 'peer' change to 'trust' | |
sudo -i -u postgres | |
createuser --interactive | |
psql |
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
curl -sSL https://rvm.io/mpapis.asc | gpg --import -; | |
sudo apt-get install curl && \curl -sSL https://get.rvm.io | bash -s stable --rails; | |
source /home/fox/.rvm/scripts/rvm ; | |
sudo apt-get install wget htop lm-sensors nano libxml2 xclip nodejs mc imagemagick libxslt1-dev \ | |
libxml2-dev git curl zsh git subversion vim-nox git-flow libpq-dev -y; | |
sudo apt-get install libgmp-dev; | |
sudo apt-get install aptitude postgresql postgresql-contrib pgadmin3; | |
# build req | |
sudo apt-get install build-essential bison openssl libreadline6 libreadline6-dev \ | |
curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libxml2-dev autoconf libc6-dev ncurses-dev automake libtool; | |
# Установка разных версий | |
rvm list; | |
rvm install 2.0.0; | |
rvm install 1.9.2; | |
rvm --default use 2.2.0; |
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
set-window-option -g mode-keys vi | |
set-option -g status-keys vi | |
set-window-option -g utf8 on | |
set-window-option -g mode-mouse off | |
set-option -g set-titles on | |
set-option -g set-titles-string '#S:#I.#P #W' # window number,program name,active (or not) | |
set-window-option -g automatic-rename on | |
set-window-option -g mode-bg magenta | |
set-window-option -g mode-fg black | |
set-option -g message-bg magenta | |
set-option -g message-fg black | |
set -g visual-activity off | |
set -g visual-bell off | |
set -g base-index 1 | |
set-option -g status-utf8 on | |
set-option -g status-justify left | |
set-option -g status-bg black | |
set-option -g status-fg cyan | |
set-option -g status-interval 5 | |
set-option -g status-right-length 30 | |
set-option -g status-right '#[fg=magenta]» #[fg=blue,bold]#T#[default]' | |
#set-option -g status-left '#[fg=cyan]»» #[fg=blue,bold]###S #[fg=magenta]%R %m-%d#(acpi | cut -d ',' -f 2)#[default]' | |
#set-option -g status-left '#[fg=cyan]»» #[fg=blue,bold]###S #[fg=magenta]%R %m-%d#(acpi | cut -d ',' -f 2)#[default]' | |
set-option -g visual-activity on | |
set-window-option -g monitor-activity on | |
set-window-option -g window-status-current-fg colour154 | |
set-window-option -g window-status-fg colour243 | |
set-window-option -g clock-mode-colour cyan | |
set-window-option -g clock-mode-style 24 | |
set -g terminal-overrides 'xterm*:smcup@:rmcup@' | |
set -s escape-time 1 | |
#set -g default-terminal «screen-256color» | |
set -g prefix ` | |
bind ` send-prefix | |
bind-key ` last-window | |
unbind % | |
unbind '"' | |
unbind x | |
unbind C-o | |
unbind k | |
unbind j | |
unbind h | |
unbind l | |
bind-key H split-window -h | |
bind-key V split-window -v | |
bind-key a send-keys ` | |
bind-key X kill-pane | |
bind-key K confirm-before kill-window | |
bind-key N rotate-window -U | |
bind-key P rotate-window -D | |
bind-key j select-pane -D | |
bind-key k select-pane -U | |
bind-key h select-pane -L | |
bind-key l select-pane -R | |
bind-key F swap-pane -U | |
bind-key D swap-pane -D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment