Skip to content

Instantly share code, notes, and snippets.

$ brew install fish
$ sudo nano /etc/shells

/ust/local/bin/fishを追加

# デフォルトのシェルにする場合
$ chsh -s /usr/local/bin/fish
(defun save-all ()
(interactive)
(save-some-buffers t))
(add-hook 'focus-out-hook 'save-all)

Jenkins のダウンロード

C:¥jenkinsにインストール

C:\Jenkins\jenkins.xml --httpPort=8090に変更

http://localhost:8080/safeRestart

C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe

(setq lst '(a (b (c d))))
(setq (car (car (car lst))) 20)
;; t = ff = ss
;; ttt = ff = s
;; tt = ff= ss
;; tttt = f= ss
;; tt = fff= sss
;; (タブ幅=4)
;; t = ff = ss
;; ttt = ff = s
;; tt = ff = ss
@pogin503
pogin503 / init-el.org
Last active August 29, 2015 14:10
init.elメモ

lineは設定ファイルっぽいファイルの行

usernamelinedescurl
fgallina1341use-package, init.elのみhttps://github.com/fgallina/dotemacs
ghoseb1026use-package, 見やすいhttps://github.com/ghoseb/dotemacs
meteor11133741かなり大きそう, 中国語https://github.com/meteor1113/dotemacs
bling1593コメントなさそうで量は多そうhttps://github.com/bling/dotemacs
bgz2264org-babelhttps://github.com/bzg/dotemacs
tatsuyano375init-loaderhttps://github.com/tatsuyano/dot.emacs.d2014/12/27
zamansky1097org-babelhttps://github.com/zamansky/dotemacs2015/1/17
@pogin503
pogin503 / test.el
Created October 25, 2014 13:40
custom-set-variablesでバイトコンパイルの警告が出るかどうか
(setq my-val1 t)
(custom-set-variables
'(my-val2 3))
;; M-x byte-compile-file RET
;; => test.el:1:7:Warning: assignment to free variable `my-val1'
@pogin503
pogin503 / init-text-mode.el
Last active August 29, 2015 14:08
Emacsの設定をサクラエディタに近づける設定と +α
(defun my-text-mode-conf ()
;; タブの幅を変える
(setq tab-width 4)
;; インデントをタブにするかどうか
(setq indent-tabs-mode t)
;; インデントときにどんな挙動にするか
(setq indent-line-function 'tab-to-tab-stop)
;; 改行のあとインデントするようにする
(define-key text-mode-map (kbd "RET") 'newline-and-indent)
)
@pogin503
pogin503 / gen_clone.log
Last active August 29, 2015 14:06
init.elの行数カウントのスクリプトとか
git clone https://github.com/nanasess/dot.emacs nanasess-dotmacs
git clone https://github.com/syohex/dot_files/tree/master/emacs/ syohex-dotmacs
git clone https://github.com/eiel/.emacs.d eiel-dotmacs
git clone https://github.com/byplayer/dot.emacs.d byplayer-dotmacs
git clone https://github.com/muratayusuke/dot.emacs.d muratayusuke-dotmacs
git clone https://github.com/shibayu36/emacs shibayu-dotmacs
git clone https://github.com/tarao/dotfiles/tree/master/.emacs.d tarao-dotmacs
git clone https://github.com/gongo/elfactory gongo-dotmacs
git clone https://github.com/shishi/.emacs.d shishi-dotmacs
git clone https://github.com/takaxp/emacs.d/blob/master/init.el takaxp-dotmacs
@pogin503
pogin503 / init-el-line-count.org
Last active August 29, 2015 14:06
init.elの行数カウント。スクリプトはこちら -> https://gist.github.com/pogin503/0a45bfb936deaee7d477
nanasessinit.el + init.d1383
syohexinit.el + setup.el + init_loader/1832
eielconf/1814
byplayerinit.el + inits/1188
murasesyukainit.el + elisp/1028
shibayu36init.el + minimum-init.el + inits/2093
taraoinit.el + init/2051
gongoinit.el + config/809
shishiinit.el + inits/2850
takaxpinit.el + my-debug.el + utility.el2146