Skip to content

Instantly share code, notes, and snippets.

View cointoss1973's full-sized avatar

Takayuki Kondo cointoss1973

View GitHub Profile
@cointoss1973
cointoss1973 / .gitignore
Last active October 10, 2015 14:18
Visual Studio ignore file form github
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.sln.docstates
# Build results
@cointoss1973
cointoss1973 / gist:3780916
Created September 25, 2012 09:42
install easy_install on Python 64-bit
C:\Users\tkondou\Downloads>python distribute_setup.py
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.2
8.tar.gz
Extracting in c:\tmp\tmp8xdb58
Now working in c:\tmp\tmp8xdb58\distribute-0.6.28
Installing Distribute
Traceback (most recent call last):
File "setup.py", line 41, in <module>
exec(open(init_path).read(), d)
File "<string>", line 8, in <module>
@cointoss1973
cointoss1973 / gist:3781300
Created September 25, 2012 11:47
ez_setup.py Python 2.7.3 x64
C:\Users\tkondou\Downloads>python ez_setup.py
Downloading http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-p
y2.7.egg
Traceback (most recent call last):
File "ez_setup.py", line 278, in <module>
main(sys.argv[1:])
File "ez_setup.py", line 212, in main
from setuptools.command.easy_install import main
File "C:\Users\tkondou\Downloads\setuptools-0.6c11-py2.7.egg\setuptools\__init
__.py", line 2, in <module>
C:\Users\tkondou\Downloads>pip
Usage: pip COMMAND [OPTIONS]
You must give a command (use "pip help" to see a list of commands)
C:\Users\tkondou\Downloads>pip install ipython
Exception:
Traceback (most recent call last):
File "C:\Python27-x64\lib\site-packages\pip\basecommand.py", line 107, in main
status = self.run(options, args)
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\tkondou>python
Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> from distutils.command.install_scripts import install_scripts
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
@cointoss1973
cointoss1973 / conf.py
Created September 28, 2012 02:17 — forked from tk0miya/conf.py
Define original roles and styles in Sphinx docs
sys.path += ['.']
extensions += ['sphinxcontrib_roles']
# configuration case.1: define roles as list (define only roles)
roles = ['strike', red]
# configuration case.2: define roles as dict (define roles and its style on HTML)
roles = {'strike': "text-decoration: line-through;",
'red': "color: red;" }
@cointoss1973
cointoss1973 / gist:3826614
Created October 3, 2012 12:10
Emacsで快適Python開発!
@cointoss1973
cointoss1973 / gist:4043822
Created November 9, 2012 05:08
sphinx theme.conf not found, include zipped bizstyle
$ make html
sphinx-build -b html -d _build/doctrees . _build/html
Running Sphinx v1.1.3
loading translations [ja]... done
loading pickled environment... not yet created
Theme error:
no theme named 'bizstyle' found (missing theme.conf?)
make: *** [html] Error 1
@cointoss1973
cointoss1973 / sphinx-ready-to-go.rst
Last active October 12, 2015 14:57
sphinx-ready-to-go

sphinx-ready-to-go

clone(またはコマンド実行) しただけで、すぐに使えることを目指す

外部拡張を同梱する

下記の拡張を documentsに同梱する

  • sphinxcontrib-plantuml
@cointoss1973
cointoss1973 / gist:4264309
Created December 12, 2012 02:17
Zシステム基本設計書議事録 (textile)

Zシステム 基本設計書議事録

議事内容

議題

Zシステム基本設計書レビュー

出席者