I hereby claim:
- I am nyubis on github.
- I am nyubis (https://keybase.io/nyubis) on keybase.
- I have a public key ASCw0io1SCCBHEnCTz_ChEpXghMuWhU24L1TNdWFXNiabQo
To claim this, I am signing this object:
"" General | |
set nocompatible | |
set showcmd | |
syntax on | |
filetype plugin indent on | |
cmap w!! w !sudo tee % > /dev/null | |
"" Whitespace | |
set tabstop=4 | |
set shiftwidth=4 |
#!/usr/bin/env python | |
from ctypes import * | |
from sys import argv | |
X11 = cdll.LoadLibrary("libX11.so.6") | |
display = X11.XOpenDisplay(None) | |
val = 0 if len(argv) < 2 or argv[1].lower() == "off" else 2 | |
X11.XkbLockModifiers(display, c_uint(0x0100), c_uint(2), c_uint(val)) | |
X11.XCloseDisplay(display) |
# ~/.profile: executed by the command interpreter for login shells. | |
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login | |
# exists. | |
# see /usr/share/doc/bash/examples/startup-files for examples. | |
# the files are located in the bash-doc package. | |
# the default umask is set in /etc/profile; for setting the umask | |
# for ssh logins, install and configure the libpam-umask package. | |
#umask 022 |
I hereby claim:
To claim this, I am signing this object:
Assuming Cinnamon on Debian Sid, the terminal bell by default is a coarse, jarring sound that startles you whenever it goes off. This sound can be tested with echo -ne 'x07'
. By default, Cinnamon's terminal bell is disabled, and it's the system bell you hear. Turning on Cinnamon's bell can be done as such:
dconf-editor
org.cinnamon.desktop.wm.preferences
audible-bell
is enabledbell-sound
is set to something that sounds pleasant (check /usr/share/sounds/freedesktop/stereo/bell.oga
)#!/bin/bash | |
# script for converting text to fullwidth characters on the clipboard | |
# don't try to enter anything that doesn't have a fullwidth equivalent | |
# usage: fw test | |
# result: the clipboard now contains test | |
words=$* | |
for (( i=0; i<${#words}; i++ )); do | |
char="${words:$i:1}" | |
if [[ "${char}" == " " ]]; then |
""Plugins | |
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'gmarik/Vundle.vim' | |
Plugin 'vim-airline/vim-airline' | |
Plugin 'vim-airline/vim-airline-themes' | |
Plugin 'wting/rust.vim' |
# .zshrc.local, assuming ~/.zshrc is from the grml project | |
# get better up-search | |
autoload -U up-line-or-beginning-search | |
autoload -U down-line-or-beginning-search | |
zle -N up-line-or-beginning-search | |
zle -N down-line-or-beginning-search | |
bind2maps emacs viins vicmd -- Up up-line-or-beginning-search | |
bind2maps emacs viins vicmd -- Down down-line-or-beginning-search | |
# Make ctrl-backspace work |
<?xml version='1.0'?> | |
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> | |
<fontconfig> | |
<alias> | |
<family>monospace</family> | |
<prefer> | |
<family>Source Code Pro</family> | |
<family>PowerlineSymbols</family> | |
</prefer> | |
</alias> |