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
dn: cn=gakunin,cn=schema,cn=config | |
objectClass: olcSchemaConfig | |
cn: gakunin | |
olcAttributeTypes: {0}( 1.3.6.1.4.1.32264.1.1.1 NAME ( 'jasn' 'jaSurname' ) | |
SUP sn ) | |
olcAttributeTypes: {1}( 1.3.6.1.4.1.32264.1.1.2 NAME 'jaGivenName' SUP given | |
Name ) | |
olcAttributeTypes: {2}( 1.3.6.1.4.1.32264.1.1.3 NAME 'jaDisplayName' SUP dis | |
playName ) | |
olcAttributeTypes: {3}( 1.3.6.1.4.1.32264.1.1.4 NAME ( 'jao' 'jaOrganization |
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
$ sudo apxs -cia mod_xsendfile.c | |
/usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -std=gnu99 -prefer-pic -pipe -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -c -o mod_xsendfile.lo mod_xsendfile.c && touch mod_xsendfile.slo | |
/usr/share/apr-1.0/build/libtool --silent --mode=link --tag=disable-static x86_64-linux-gnu-gcc -std=gnu99 -Wl,--as-needed -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -o mod_xsendfile.la -rpath /usr/lib/apache2/modules -module -avoid-version mod_xsendfile.lo | |
/usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/share/apr-1.0/build/libtool' mod_xsendfile.la /usr/lib/apache2/modules | |
/usr/share/apr-1.0/build/libtool --mode=install install mod_xsendfile.la /usr/lib/apache2/modules/ | |
libtool: install: install .libs/mod_xsendfile.so /usr/lib/apac |
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
dn: o=test_o,dc=ac,c=JP | |
objectClass: organization | |
o: test_o | |
dn: ou=Test Unit1,o=test_o,dc=ac,c=JP | |
objectClass: organizationalUnit | |
ou: Test Unit1 | |
dn: ou=Test Unit2,o=test_o,dc=ac,c=JP | |
objectClass: organizationalUnit |
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
$ pyenv versions | |
* system (set by /Users/dmiyakawa/.pyenv/version) | |
2.6.6 | |
2.7.10 | |
2.7.10-2 | |
2.7.12 | |
3.0.1 | |
3.2.6 | |
3.3.6 | |
3.4.0 |
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
http://www.stat.go.jp/data/nihon/02.htm | |
より、Excelを加工 |
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
# | |
# Originally from http://downloads.openmoko.org/developer/sources/cvs/python-pyro/Pyro/Pyro/ext/BasicNTService.py | |
# | |
############################################################################# | |
# | |
# $Id: BasicNTService.py,v 1.6 2005/02/12 00:28:50 irmen Exp $ | |
# An NT service that runs the Pyro Name Server | |
# Author: Syver Enstad; syver-en@online.no | |
# Bugfix for recent win32 builds: David Rushby; woodsplitter@rocketmail.com |
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
# General purpose service utilities, both for standard Python scripts, | |
# and for for Python programs which run as services... | |
# | |
# Note that most utility functions here will raise win32api.error's | |
# (which is == win32service.error, pywintypes.error, etc) | |
# when things go wrong - eg, not enough permissions to hit the | |
# registry etc. | |
import win32service, win32api, win32con, winerror | |
import sys, pywintypes, os, warnings |
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 | |
"""\ | |
An example that crashes on macOS Sierra. | |
""" | |
from __future__ import unicode_literals | |
from __future__ import print_function | |
from __future__ import division | |
from __future__ import absolute_import |
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 -*- | |
'''\ | |
''' | |
from argparse import ArgumentParser, RawDescriptionHelpFormatter | |
from logging import getLogger, StreamHandler, Formatter | |
from logging import NOTSET, DEBUG, INFO, WARN, ERROR, CRITICAL | |
import sys |
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 | |
# | |
# http://docs.python.jp/3/library/multiprocessing.html#examples | |
# | |
# import time | |
# import random | |
from multiprocessing import Process, Queue, current_process, freeze_support |