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
    
  
  
    
  | remove mod4 = Super_R | |
| keysym Super_R = Control_R | |
| add Control = Control_R | 
  
    
      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
    
  
  
    
  | Краткое описание конфигурационного файла для Emacs предназначенного для Ruby разработки. | |
| 1. Скопировать файл init.el в директорию .emacs.d | |
| (если директория .emacs.d существует сделать ее бэкап и удалить) | |
| 2. Запустить Emacs, при первом запуске все необходимые пакеты должны установиться автоматически из интернета. | |
| Спасибо пакету use-package | |
| https://github.com/jwiegley/use-package | |
| 3. Закрыть и открыть Emacs снова, после этого большинство функционало должно работать автоматически. | 
  
    
      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
    
  
  
    
  | ;;; package --- Emacs init.el | |
| ;;; Commentary: | |
| ;;; Code: | |
| (require 'package) | |
| (setq package-enable-at-startup nil) | |
| (setq package-archives | |
| '(("gnu" . "https://elpa.gnu.org/packages/") | |
| ("melpa" . "https://melpa.org/packages/") | |
| ("melpa-stable" . "https://stable.melpa.org/packages/") | 
  
    
      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
    
  
  
    
  | # Path to your oh-my-zsh installation. | |
| export ZSH=/home/dima/.oh-my-zsh | |
| ZSH_THEME="robbyrussell" | |
| DISABLE_AUTO_UPDATE="true" | |
| ENABLE_CORRECTION="false" | |
| COMPLETION_WAITING_DOTS="true" | |
| plugins=(git ruby rbenv archlinux bundler rails tmux aws cp z) | 
  
    
      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
    
  
  
    
  | import XMonad | |
| import XMonad.Layout.NoBorders | |
| import XMonad.Hooks.DynamicLog | |
| import XMonad.Hooks.ManageDocks | |
| import XMonad.Layout.ResizableTile | |
| import XMonad.Util.Run(spawnPipe) | |
| import XMonad.Util.EZConfig(additionalKeys) | |
| import XMonad.Hooks.ICCCMFocus | |
| import XMonad.Layout.BoringWindows | |
| import XMonad.Actions.CycleWS | 
  
    
      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
    
  
  
    
  | !------------------------------------------------------------------------------- | |
| ! Xft settings | |
| !------------------------------------------------------------------------------- | |
| Xft.autohint: 0 | |
| Xft.dpi: 96 | |
| Xft.antialias: 1 | |
| Xft.rgba: rgb | |
| Xft.hinting: true | |
| Xft.hintstyle: hintslight | 
  
    
      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
    
  
  
    
  | !------------------------------------------------------------------------------- | |
| ! Xft settings | |
| !------------------------------------------------------------------------------- | |
| Xft.dpi: 96 | |
| Xft.antialias: false | |
| Xft.rgba: rgb | |
| Xft.hinting: true | |
| Xft.hintstyle: hintslight | 
  
    
      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
    
  
  
    
  | sed -i -e "s/GRUB_CMDLINE_LINUX=\"\"/GRUB_CMDLINE_LINUX=\"net.ifnames=0\"/g" /etc/default/grub | |
| grub-mkconfig -o /boot/grub/grub.cfg | 
  
    
      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
    
  
  
    
  | import XMonad | |
| import XMonad.Layout.NoBorders | |
| import XMonad.Hooks.DynamicLog | |
| import XMonad.Hooks.ManageDocks | |
| import XMonad.Layout.ResizableTile | |
| import XMonad.Util.Run(spawnPipe) | |
| import XMonad.Util.EZConfig(additionalKeys) | |
| import System.IO | |
| myLayout = avoidStruts (smartBorders Full ||| smartBorders tiled ||| smartBorders (Mirror tiled)) | 
  
    
      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
    
  
  
    
  | #!/usr/bin/env bash | |
| apt-get -y update | |
| # Install dependencies | |
| sudo apt-get -y install build-essential zlib1g-dev libssl-dev libreadline-dev libyaml-dev libcurl4-openssl-dev curl | |
| # Install Ruby 2.1.2 from source | |
| wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-2.1.2.tar.gz | |
| tar -xvzf ruby-2.1.2.tar.gz | |
| cd ruby-2.1.2/ | |
| ./configure --prefix=/usr/local | 
NewerOlder