(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| #!/usr/bin/env bash | |
| dir=$(dirname $0) | |
| gconfdir=/apps/gnome-terminal/profiles | |
| echo # This makes the prompts easier to follow (as do other random echos below) | |
| ######################## | |
| ### Select a profile ### | |
| ######################## |
| set nocompatible | |
| filetype off | |
| set scrolloff=3 | |
| set ai | |
| set showcmd | |
| set nobackup | |
| set number | |
| set relativenumber | |
| set ruler |
| #! /bin/sh | |
| #----------------------- KeyBoard Confing VimLike ------------------------# | |
| # disable screensaver | |
| gsettings set org.gnome.settings-daemon.plugins.media-keys screensaver "[]" | |
| # workspaces and windows | |
| gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ hsize 4 | |
| gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-left "['<Shift><Primary><Alt>h']" |
| #/bin/bash | |
| NPS_VERSION=1.11.33.2 | |
| NGINX_VERSION=1.11.1 | |
| UBUNTU_VERSION="$(lsb_release -cs)" | |
| # Обновление, установка необходимого софта | |
| apt-get update | |
| apt-get upgrade -y | |
| apt-get install -y build-essential zlib1g-dev libpcre3 libpcre3-dev unzip git wget |
Save $25 for your Cloud Computing Solution with Digital Ocean.
| ([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]][(![]+[])[+[]]+(!![]+[])[+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+((+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[! |
| <?php | |
| function translit_ya($str) | |
| { | |
| $dict = array('а'=>'a','б'=>'b','в'=>'v','г'=>'g','д'=>'d','е'=>'e','ё'=>'yo','ж'=>'zh','з'=>'z','и'=>'i','й'=>'j','к'=>'k','л'=>'l','м'=>'m','н'=>'n','о'=>'o','п'=>'p','р'=>'r','с'=>'s','т'=>'t','у'=>'u','ф'=>'f','х'=>'h','ц'=>'c','ч'=>'ch','ш'=>'sh','щ'=>'sch','ъ'=>'','ы'=>'y','ь'=>'','э'=>'e','ю'=>'yu','я'=>'ya',' '=>'_','–'=>'-','—'=>'-','&'=>'_','"'=>'','<'=>'','>'=>'','…'=>'','′'=>'','″'=>'','‘'=>'','’'=>'','‚'=>'','“'=>'','”'=>'','„'=>'','«'=>'','»'=>'', ' '=>'_'); | |
| return preg_replace("/_+/", "_", strtr(mb_strtolower($str, mb_detect_encoding($str)), $dict)); | |
| } |
| <?php | |
| /** | |
| * hl - syntax highlight print_r analog | |
| * @author Oleg Kravchenko <lex69@list.ru> | |
| */ | |
| static function hl($value, $return = false) | |
| { | |
| // color_theme for hl | |
| ini_set('highlight.string', '#99CF50'); | |
| ini_set('highlight.keyword', '#F8F8F8'); |