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
| AUTO_UPGRADE=yes | |
| AUTO_INSTALL=yes | |
| IGNORE_FILES='/etc/motd' | |
| PRESERVE_FILES=yes | |
| VERBOSE=yes | |
| #DIFF_OPTIONS='-I$FreeBSD:.*[$]' | |
| FREEBSD_ID=yes |
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
| user_pref("general.useragent.override.auone.jp", "Mozilla/5.0 (Windows NT 6.3; X11; Ubuntu; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0"); | |
| user_pref("general.useragent.override.kddi.com", "Mozilla/5.0 (Windows NT 6.3; X11; Ubuntu; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0"); |
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
| package main; | |
| import ( | |
| "fmt" | |
| ) | |
| var memo = [][]int {}; | |
| func init() { | |
| memo = make([][]int, 100000); |
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
| ADMIN=takeshi@localdomain | |
| EXPIRE=7d | |
| RELIABLE=".localnet" | |
| SERVER=http | |
| MOUNT="/wpad.dat file:/usr/local/www/apache22/data/wpad.dat" | |
| MOUNT="/proxy.pac file:/usr/local/www/apache22/data/wpad.dat" | |
| LOGFILE='${LOGDIR}/${PORT}[date+.%m%d]' | |
| PROTOLOG='${LOGDIR}/${PORT}.${PROTO}[date+.%m%d]' | |
| ERRORLOG='${LOGDIR}/errors.log[date+.%m%d]' | |
| TRACELOG='${LOGDIR}/ptrace.log[date+.%m%d]' |
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
| #!/bin/sh | |
| # Usage: rotatelog.sh [-zcn] level logfiles... | |
| while getopts zcn flag; do | |
| case $flag in | |
| z) compress="/usr/bin/gzip"; ext=".gz";; | |
| c) compress="/usr/bin/compress"; ext=".Z";; | |
| n) ECHO="echo"; | |
| esac | |
| done |
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/sh | |
| # vim: sts=4 sw=4 | |
| # | |
| # Extlinux config file maker for Fedora 17 | |
| # | |
| # Install instruction: (do this by root) | |
| # # yum install extlinux | |
| # # extlinux --install /boot/extlinux | |
| # # sh <THIS SCRIPT> > /boot/extlinux/extlinux.conf | |
| # |
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
| # vim: ts=4 sw=4 fenc=utf-8 | |
| import bottle | |
| @bottle.get('<file:re:^.*\.(css|less|js|jpg|png|gif|ttf)>') | |
| def static_file(file): | |
| return bottle.static_file(file, root='./web') | |
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 -*- | |
| # system libraries | |
| import sys | |
| import codecs | |
| # non standard libraries | |
| import bottle | |
| from bottle import get, post |
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 -*- | |
| # ZFS スナップショットをルールに従ってdestroyします | |
| # Copyright 2011 Takeshi Matsubara ([email protected]) | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at |
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
| *~ | |
| config.xml |
NewerOlder