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
C:\apps,*.exe | |
C:\Users,*.lnk | |
C:\Chocolatey\lib,*.exe | |
C:\Program Files,*.exe | |
C:\Program Files (x86),*.exe | |
C:\Windows,*.exe |
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
(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 |
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 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) |
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
/* | |
------------------emacsclientw起動用スクリプト------------------ | |
emacsclientw.exeをまともに使えるようにする。 | |
emacsが起動してないときには起動、起動してる時はアクティブ化、ファイルを送ると読み込む。 | |
gnupack版emacsで使うときはrunemacs.exeの代わりにINST_DIRのemacs.exeを指定する。 | |
AutoHotKey_Lw / Ahk2Exe_Lで動作。 | |
[1] コンパイルして適当な場所に置く | |
とりあえずemacs.exeと同じ場所おすすめ。 |
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
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'; | |
} |
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
(require 'e2wm) | |
;; 2画面ファイラ化。 | |
(setq dired-dwim-target t) | |
;;; wfiler / Wfiler column editing perspective | |
;;;-------------------------------------------------- | |
(defvar e2wm:c-wfiler-recipe | |
'(- (:upper-size-ratio 0.8) |
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 | |
awk 'BEGIN{RS=ORS="\n\n";FS=OFS="\n"}/'$1'/' /usr/share/lintian/checks/*.desc |
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
(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) |
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
/** | |
* 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, |
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 [ -f $HOME/.perlbrew/init ]; then | |
. $HOME/.perlbrew/init | |
fi | |
short_option="" | |
__perlbrew_reinit () { | |
if [ ! -d $HOME/.perlbrew ]; then | |
mkdir -p $HOME/.perlbrew | |
fi |
OlderNewer