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
#in .muttrc | |
set imap_pass ="`pass.sh mutt 2>&1`" | |
set smtp_pass ="`pass.sh mutt 2>&1`" |
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 nocp " use vim settings instead of vi - MUST BE 1ST LINE! | |
" set pathogen plugin which helps installing plugins and runtime files | |
execute pathogen#infect() | |
set encoding=utf-8 | |
set fileencoding=utf-8 | |
scriptencoding utf-8 | |
let mapleader = "," | |
syntax on " enable syntax highlighting |
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
" --------------------------------------- | |
" AIRLINE | |
" --------------------------------------- | |
let g:airline_left_sep = '' | |
let g:airline_right_sep = '' | |
let g:airline_fugitive_prefix = '⎇ ' | |
let g:airline#extensions#tabline#enabled = 0 " Extended tab bar on top | |
let g:airline#extensions#default#section_truncate_width = { | |
\ 'a': 45, | |
\ 'b': 45, |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
</head> | |
<body> | |
<p style="font-size:400%"> ཧྐྵྨླྺྼྻྃ་ཊྛྜྜྷྞཱ </p> | |
</body> | |
</html> |
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
<!-- This goes in: X11/xkb/rules/evdev.xml --> | |
<!-- This file adds the custom layouts (no_poker & us_poker) --> | |
<!-- to the menu of available keyboard layouts. --> | |
<!-- This snippet goes above the tag: </layoutList> --> | |
<!-- ... --> | |
<layout> | |
<configItem> | |
<name>us_poker</name> | |
<shortDescription>us</shortDescription> |
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
global !p | |
import string, vim | |
import textwrap | |
_snips_fns = {} | |
def py(*args): | |
import re | |
old_a = vim.eval('@a') |
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
import sys | |
from PyQt4.QtGui import \ | |
QApplication, \ | |
QDialog, \ | |
QGraphicsScene, \ | |
QGraphicsView, \ | |
QVBoxLayout, \ | |
QPainter |
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
ODIR := obj/ | |
SDIR := src/ | |
LDFLAGS = -lncurses | |
#TODO fix -g | |
DFLAGS = -g -std=c99 -Wall -Wextra -pedantic | |
CC = clang | |
lz : $(ODIR)lz.o | |
$(CC) $^ -o $@ $(LDFLAGS) |
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-plug | |
call plug#begin('~/.vim/plugged') | |
" Bare necessities | |
Plug 'tpope/vim-surround' | |
Plug 'scrooloose/syntastic' | |
Plug 'tpope/vim-repeat' | |
Plug 'tpope/vim-fugitive' | |
Plug 'tpope/vim-unimpaired' | |
Plug 'tpope/vim-vinegar' |
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
nnoremap <leader>w :silent! %s/\s\+$//<cr>:let @/=''<CR>:w<CR> | |
function! FixInf3151() | |
normal mz | |
set st=2 sts=2 noet | |
retab! | |
set st=4 sts=4 et | |
retab | |
normal ,w | |
normal gg=G |
OlderNewer