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 sys | |
| import os | |
| import sqlite3 | |
| def load(dbfile): | |
| if not os.path.exists(dbfile): | |
| raise Exception("file does not exists") |
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 subprocess import Popen | |
| import shlex | |
| import sys | |
| import os | |
| SPHINXOPTS = "" | |
| SPHINXBUILD = "sphinx-build" |
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
| ===== | |
| ===== LOGGING STARTED Sun Oct 14 13:21:06 UTC 2012 | |
| ===== | |
| Exec: /home/ubuntu/erchef/rel/erchef/erts-5.9.2/bin/erlexec -boot /home/ubuntu/erchef/rel/erchef/releases/1.0.0/erchef -embedded -config /home/ubuntu/erchef/rel/erchef/etc/app.config -args_file /home/ubuntu/erchef/rel/erchef/etc/vm.args -- console | |
| Root: /home/ubuntu/erchef/rel/erchef | |
| Erlang R15B02 (erts-5.9.2) [source] [64-bit] [async-threads:5] [kernel-poll:true] | |
| ** Found 0 name clashes in code paths | |
| =INFO REPORT==== 14-Oct-2012::13:21:06 === |
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
| $ erl --verion | |
| Erlang R15B02 (erts-5.9.2) [source] [64-bit] [async-threads:0] [kernel-poll:false] | |
| Eshell V5.9.2 (abort with ^G) | |
| $ pwd | |
| /home/ubuntu/rebar.repo | |
| $ ./bootstrap | |
| Recompile: src/rebar |
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
| ==> Leaving directory /home/hoge/Works/erchef/deps/ibrowse' | |
| ==> Entering directory/home/hoge/Works/erchef/deps/mini_s3' | |
| ==> mini_s3 (compile) | |
| ==> Leaving directory /home/hoge/Works/erchef/deps/mini_s3' | |
| ==> Entering directory/home/hoge/Works/erchef/deps/depsolver' | |
| ==> depsolver (compile) | |
| ==> Leaving directory /home/hoge/Works/erchef/deps/depsolver' | |
| ==> Entering directory/home/hoge/Works/erchef/deps/erlware_commons' | |
| ==> erlware_commons (compile) | |
| Dependency not available: neotoma- ({git, |
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
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ;; anything.el | |
| ;; | |
| (require 'anything) | |
| (require 'anything-config) | |
| (require 'recentf) | |
| (setq recentf-max-saved-items 1000) | |
| (recentf-mode 1) |
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 itertools | |
| globber = (glob.glob(d) for d in fontdirs) | |
| for fontdir in sum(globber, []): | |
| for (root, dirs, files), font in itertools.product(os.walk(fontdir), | |
| fontfiles): | |
| if font in files: | |
| fontpath = os.path.join(root, font) | |
| break |
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
| # coding: utf-8 | |
| """ | |
| fluenpy.plugins.out_sampling_filter | |
| ~~~~~~~~~~~~~~~~~~~~~~~~ | |
| :copyright: (c) 2012 by WAKAYAMA Shirou | |
| :license: Apache v2 | |
| original author: tagomoris | |
| https://github.com/tagomoris/fluent-plugin-sampling-filter |
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
| convcmd.py copyメソッドの | |
| commit = self.commitcache[rev] | |
| 直後に | |
| print commit, type(commit) | |
| した結果 | |
| 月 1月 24 11:16:01 2011 +0000 | |
| <type 'str'> | |
| hgext/convert/subversion.pyの、 _fetch_revisions メソッド、 | |
| 812行目 for entry in stream: |
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 -*- | |
| #### sphinx part. same as build.py | |
| from sphinx.websupport import WebSupport | |
| from sphinx.websupport.errors import DocumentNotFoundError | |
| from sphinx.websupport.search import whooshsearch | |
| from sphinx.websupport.storage.sqlalchemystorage import SQLAlchemyStorage |