Skip to content

Instantly share code, notes, and snippets.

View shkumagai's full-sized avatar
🏠
Working from home

Shoji KUMAGAI shkumagai

🏠
Working from home
View GitHub Profile
@voluntas
voluntas / shiguredo_tech.rst
Last active May 13, 2025 02:58
ζ™‚ι›¨ε ‚γ‚’ζ”―γˆγ‚‹ζŠ€θ‘“

ζ™‚ι›¨ε ‚γ‚’ζ”―γˆγ‚‹ζŠ€θ‘“

ζ—₯ζ™‚:2025-05-13
作:時雨堂
バージョン:2025.3
URL:https://shiguredo.jp/

言θͺž

#!/bin/sh
rm -rf .git
hg init .
hg add
hg commit -m 'git to hg'
@shirou
shirou / make.py
Created November 2, 2012 13:43
Sphinx OS-independent make script written by Python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from subprocess import Popen
import shlex
import sys
import os
SPHINXOPTS = ""
SPHINXBUILD = "sphinx-build"
@shirou
shirou / build.py
Created December 22, 2011 15:43
sphinx websupport with NGRAM schema
from sphinx.websupport import WebSupport
from sphinx.websupport.errors import DocumentNotFoundError
from sphinx.websupport.search import whooshsearch
from whoosh.fields import Schema, ID, TEXT, NGRAM
import os
import shutil
ROOT = '/absoulte/path/to/sampledoc'