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
# | |
# Show branch name in Zsh's right prompt | |
# | |
autoload -Uz VCS_INFO_get_data_git; VCS_INFO_get_data_git 2> /dev/null | |
function rprompt-git-current-branch { | |
local name st color gitdir action | |
if [[ "$PWD" =~ '/¥.git(/.*)?$' ]]; then | |
return |
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
['みかん','ともちゃん','なおちゃん'].product(['ねむい','おなかすいた','かえりたい']).shuffle.take(1).join |
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-x b) | |
(iswitchb-mode t) | |
(iswitchb-default-keybindings) | |
(add-hook 'iswitchb-define-mode-map-hook | |
'iswitchb-my-keys) | |
(defun iswitchb-my-keys () | |
"Add my keybindings for iswitchb." | |
(define-key iswitchb-mode-map [right] 'iswitchb-next-match) |
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
てすと |
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 | |
{ | |
import flash.display.Sprite; | |
import flash.text.TextField; | |
public class Main extends Sprite | |
{ | |
public function Main() | |
{ | |
var textField:TextField = new TextField(); |
NewerOlder