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 python | |
# -*- coding:utf-8 -*- | |
# | |
# written by Shotaro Fujimoto, September | |
# | |
# NOTE: bug: This code doesn't run correctly when the browser hasn't run. | |
from gi.repository import Gtk | |
import os | |
import commands |
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 python | |
# -*- coding:utf-8 -*- | |
# | |
# written by Shotaro Fujimoto, September 2014 | |
logfile = '/home/shotaro/Dropbox/log.txt' | |
# choose the default browser by comment out | |
# or you can edit to any browser | |
browser = {'default': |
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 python | |
# -*- coding:utf-8 -*- | |
# | |
# written by Shotaro Fujimoto, September 2014 | |
# 参考: https://gist.github.com/evoL/1650115 | |
from gi.repository import Gtk | |
import config | |
logfile = config.logfile |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 python | |
# -*- coding:utf-8 -*- | |
# | |
# written by ssh0, October 2014. | |
__doc__ = '''IPython-like Tkinter wrapper class. | |
You can create Scalebar, Checkbutton, Radiobutton via simple interface. | |
usage example: |
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 python | |
# -*- coding:utf-8 -*- | |
# | |
# written by ssh0, October 2014. | |
from __future__ import print_function | |
__doc__ = '''IPython-like Gtk wrapper class. | |
You can create Scalebar, Switch, ComboBox via simple interface. |
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
spacing 18 $ ResizableTall 1 (3/100) (3/5) [] |
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 | |
HTTP_PROXY_HOST=www-proxy.waseda.jp | |
HTTP_PROXY_PORT=8080 | |
HTTPS_PROXY_HOST=www-proxy.waseda.jp | |
HTTPS_PROXY_PORT=8080 | |
shellrc=$HOME/.zshrc # .bashrc | |
if [ $# = 0 ]; then |
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 python | |
# -*- coding:utf-8 -*- | |
playerurl = "http://radiko.jp/player/swf/player_3.0.0.01.swf" | |
playerfile = "tmp.swf" | |
keyfile = "tmp.png" | |
import urllib | |
import urllib2 | |
import base64 |
OlderNewer