This file contains hidden or 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
| redo: [u'comamnd1'], redo-text: comamnd1 | |
| 1 | |
| redo: [u'comamnd1', u'comamnd2'], redo-text: comamnd2 | |
| 2 | |
| undo: [u'comamnd1'], undo-text: comamnd2 | |
| undo: [], undo-text: comamnd1 | |
| redo: [u'comamnd1'], redo-text: comamnd1 | |
| 2 | |
| redo: [u'comamnd1', u'comamnd3'], redo-text: comamnd3 | |
| 2 |
This file contains hidden or 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 python | |
| # -*- coding: utf-8 -*- | |
| from PySide.QtGui import (QMainWindow, QWidget, QApplication, QVBoxLayout, QTextEdit, | |
| QPushButton, QDesktopServices) | |
| from PySide.QtCore import QObject, SIGNAL | |
| import sys | |
| class MyMainWindow(QMainWindow): | |
| """ main """ |
This file contains hidden or 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
| import java.awt.BorderLayout; | |
| import java.awt.GridLayout; | |
| import java.awt.event.ActionEvent; | |
| import java.awt.event.ActionListener; | |
| import javax.swing.JButton; | |
| import javax.swing.JFrame; | |
| import javax.swing.JPanel; | |
| import javax.swing.JScrollPane; | |
| import javax.swing.JTextArea; |
This file contains hidden or 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 python | |
| # -*- coding: utf-8 -*- | |
| import subprocess | |
| ssh_windows = { | |
| "host1": "127.0.0.1", | |
| "host2": "123.123.123.123", | |
| "host3": "12.12.12.12", | |
| } |
This file contains hidden or 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
| export rvm_path=$HOME/.rvm |
This file contains hidden or 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 zsh | |
| WN=`uuidgen | cut -c1-10` | |
| cd /opt/local/bin; tmux new-window -n $WN; | |
| case "$@" in | |
| # | |
| home); tmux send-keys -t$WN 'cd ~; clear' C-m ;; | |
| www); tmux send-keys -t$WN 'cd /var/www; clear' C-m ;; |
This file contains hidden or 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 python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| pytree | |
| ================================================================================= | |
| github: https://github.com/ikeikeikeike/home/tree/develop/bin | |
| run command:: | |
| $ pytree /etc/mail |
This file contains hidden or 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
| $ sudo aptitude install kvm |