Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
awk 'BEGIN{RS=ORS="\n\n";FS=OFS="\n"}/'$1'/' /usr/share/lintian/checks/*.desc
@lurdan
lurdan / flymake-todochiku.el
Created December 28, 2010 08:17 — forked from kawaguchi/flymake-growl.el
Flymakeのエラーメッセージを todochiku で通知する
(require 'flymake)
(setq flymake-growl-warning-priority 1)
(setq flymake-growl-error-priority 2)
(setq flymake-growl-warning-sticky t)
(setq flymake-growl-error-sticky t)
(setq flymake-growl-sticky-list nil)
@lurdan
lurdan / Config.ahk
Last active September 25, 2015 03:07
bug.n customized keyconfig like xmonad.
/**
* bug.n - tiling window management
* Copyright ゥ 2010-2011 joten
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
@lurdan
lurdan / profile
Created March 29, 2011 06:07
perlbrew init file for dash
if [ -f $HOME/.perlbrew/init ]; then
. $HOME/.perlbrew/init
fi
short_option=""
__perlbrew_reinit () {
if [ ! -d $HOME/.perlbrew ]; then
mkdir -p $HOME/.perlbrew
fi
#/bin/sh
ARCH=i386,amd64
debmirror --verbose --progress --nosource --nocleanup -e http \
--state-cache-days=100 --passive \
--host security.debian.org -r / \
-d squeeze/updates \
-s main,contrib,non-free \
-a $ARCH \
@lurdan
lurdan / .zshrc
Created October 14, 2011 05:17 — forked from masutaka/.zshrc
split configurations from logic.
CDD_PATH=$HOME/.zsh.d
export CDD_PWD_FILE=$CDD_PATH/cdd_pwd_list
[ -d $CDD_PATH ] || mkdir -p $CDD_PATH
source /path/to/cdd.zsh
function chpwd() {
_reg_pwd_screennum
}
@lurdan
lurdan / emacs
Last active October 1, 2015 03:08
emacs starter
#!/bin/sh
_kill_emacs() {
emacsclient -e '(progn (dolist (f (cdr-safe (reverse (frame-list)))) (delete-frame f t)) (kill-emacs))'
sleep 1; ZE=`pidof emacs`
[ "a${ZE}" = "a" ] || kill -KILL $ZE
}
XMODIFIERS="@im=none"
GTK_IM_MODULE=none
#!/bin/sh
DEV=$1
fsck.ext3 -pf $DEV && tune2fs -O extents,uninit_bg,dir_index,flex_bg -m 1 $DEV && fsck.ext4 -yfD $DEV
@lurdan
lurdan / ScanRule.ini
Created March 7, 2014 10:21
fenrirScan config
C:\apps,*.exe
C:\Users,*.lnk
C:\Chocolatey\lib,*.exe
C:\Program Files,*.exe
C:\Program Files (x86),*.exe
C:\Windows,*.exe
(defun lookup-at-point ()
(interactive)
(lookup-at-point-pos-tip (lookup-current-word))
)
;(global-set-key (kbd "C-,") 'lookup-at-point)
(defcustom lookup-at-point-pos-tip-color nil
""
:type 'strqing