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
LOCALE="ru_RU.UTF-8" | |
KEYMAP="ru" | |
FONT="ter-v16v" | |
CONSOLEMAP="" |
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 /etc/default/grub: | |
> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=SVIDEO-1:d" | |
$ sudo grub-mkconfig -o /boot/grub/grub.cfg |
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 +o history | |
fc -p | |
export BROWSER=/usr/bin/firefox | |
export EDITOR=/usr/bin/vim | |
export VISUAL=/usr/bin/vim | |
export TMP="$HOME/.tmp" | |
export TEMP="$TMP" | |
export TMPDIR="$TMP" |
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
history -c | |
shopt -u -o history | |
set +o history |
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
[Journal] | |
Storage=volatile | |
Compress=yes | |
RateLimitIntervalSec=10s | |
RateLimitBurst=100 | |
SystemMaxUse=4M | |
SystemMaxFiles=7 | |
ForwardToSyslog=no | |
ForwardToKMsg=no | |
ForwardToConsole=no |
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 nocompatible | |
filetype plugin on | |
set background=dark | |
set cursorline | |
set encoding=utf-8 | |
set termencoding=utf-8 | |
set fileencoding=utf-8 | |
set fileencodings=utf8,cp1251,koi8r,cp866,ucs-2le |
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
#!/bin/sh | |
# | |
# ~/.xinitrc | |
# | |
[ -f /etc/xprofile ] && source /etc/xprofile | |
[ -f ~/.xprofile ] && source ~/.xprofile | |
udiskie & | |
pulseaudio --start & |
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
if (!String.prototype.hash) { | |
/** | |
* Calculate a 32 bit FNV-1a hash | |
* Found here: https://gist.github.com/vaiorabbit/5657561 | |
* Ref.: http://isthe.com/chongo/tech/comp/fnv/ | |
* | |
* @param {string} str the input value | |
* @param {boolean} [asString=false] set to true to return the hash value as | |
* 8-digit hex string instead of an integer | |
* @param {number} [seed] optionally pass the hash of the previous chunk |
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
Section "InputClass" | |
Identifier "system-keyboard" | |
MatchIsKeyboard "on" | |
Option "XkbLayout" "us,ru" | |
Option "XkbModel" "pc104" | |
Option "XkbOptions" "grp:caps_toggle,grp_led:scroll" | |
EndSection |
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
-- Standard awesome library | |
local awful = require("awful") | |
local vicious = require("vicious") | |
-- Widget and layout library | |
local wibox = require("wibox") | |
---wibox2 | |
-- | |
-- Memory |
NewerOlder