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
#!/usr/bin/env bash | |
# Put followings your .tmux.conf | |
# | |
# bind ^T run-shell -b tmux-ghq | |
# | |
set -e | |
fzfcmd="fzf-tmux -d${FZF_TMUX_HEIGHT:-40%} -e +s" |
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 'vc-git) | |
(defun git-browse-remote-at-point (rev) | |
(interactive "P") | |
(let* ((root (vc-git-root buffer-file-name)) | |
(default-directory root) | |
(line (if (use-region-p) | |
(format "%d,%d" | |
(line-number-at-pos (region-beginning)) | |
(line-number-at-pos (region-end))) |
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
"loadavg5", | |
"memory.total", | |
"memory.free", | |
"memory.buffers", | |
"memory.cached", | |
"memory.swap_cached", | |
"memory.active", | |
"memory.inactive", | |
"memory.swap_total", | |
"memory.swap_free", |
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
(provide 'google-eldoc) | |
(require 'eldoc) | |
(require 'crxel) | |
(defun google-eldoc-turn-on-eldoc-mode () | |
"Enable google-eldoc-mode" | |
(interactive) | |
(set (make-local-variable 'eldoc-documentation-function) | |
'google-eldoc-search-current-symbol-info) | |
(turn-on-eldoc-mode)) |
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
;;; Commentary | |
;; Select and activate google chrome tabs by anything interface | |
;;; Requirements | |
;; https://github.com/mechairoi/crxel | |
;;; Usage | |
;; (require 'anything-chrome-tabs) | |
;; (crxel/start 9649) | |
;; (define-key global-map "C-t" 'anything-chrome-tabs) | |
(provide 'anything-chrome-tabs) |
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 'vc-git) | |
(require 'anything) | |
(provide 'anything-git-ls-files) | |
(defun anything-git-ls-files-find-git-root () | |
(vc-git-root (or (buffer-file-name) default-directory))) | |
(defun anything-c-source-git-ls-files-for (name command) | |
`((name . ,name) | |
(init |
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
use Text::Xslate; | |
my $tx = Text::Xslate->new({ | |
syntax => 'TTerse', | |
}); | |
print $tx->render('a.tt'); | |
print $tx->render('a.tt'); | |
__END__ |
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
;;; perldb-ui-ex.el --- Extended User Interface for perl debugger | |
;; Copyright (C) 2011 Free Software Foundation, Inc. | |
;; | |
;; Author: Tsujikawa Takaya <[email protected]> | |
;; Maintainer: Tsujikawa Takaya <[email protected]> | |
;; Created: 25 Nov 2011 | |
;; Version: 0.01 | |
;; Keywords: |
NewerOlder