Skip to content

Instantly share code, notes, and snippets.

@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
Set oShell = CreateObject("Wscript.Shell")
obj = oShell.Run("""C:\Program Files (x86)\Git\bin\sh.exe"" --login -i -c ""/c/apps/emacs/bin/emacsclientw.exe -na /c/apps/emacs/bin/runemacs.exe -c \""\""""", 0, False)
@lurdan
lurdan / StartEmacs.ahk
Last active August 29, 2015 14:10 — forked from acple/StartEmacs.ahk
/*
------------------emacsclientw起動用スクリプト------------------
emacsclientw.exeをまともに使えるようにする。
emacsが起動してないときには起動、起動してる時はアクティブ化、ファイルを送ると読み込む。
gnupack版emacsで使うときはrunemacs.exeの代わりにINST_DIRのemacs.exeを指定する。
AutoHotKey_Lw / Ahk2Exe_Lで動作。
[1] コンパイルして適当な場所に置く
とりあえずemacs.exeと同じ場所おすすめ。
package {
[ 'sysvinit-core', 'sysvinit', 'sysvinit-utils' ]:
ensure => installed;
'systemd':
ensure => purged;
}
-> file { '/etc/apt/preferences.d/without-systemd':
content => 'Package: systemd\nPin: origin ""\nPin-Priority: -1';
}
(require 'e2wm)
;; 2画面ファイラ化。
(setq dired-dwim-target t)
;;; wfiler / Wfiler column editing perspective
;;;--------------------------------------------------
(defvar e2wm:c-wfiler-recipe
'(- (:upper-size-ratio 0.8)
#!/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