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
# -*- coding: utf-8 -*- | |
import xlrd | |
if __name__ == "__main__": | |
book = xlrd.open_workbook("book2.xls") | |
for name in book.sheet_names(): | |
print name | |
sheet_1 = book.sheet_by_index(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
#!/bin/bash | |
if [ $# -ne 2 ]; then | |
echo "usage: $0 IP_ADDR PASSWD" | |
exit -1 | |
fi | |
QW_USER=admin | |
#QW_PASS=password |
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
#!/bin/bash | |
if test $# -ne 2 ; then # $# 引数の総数 | |
echo "USAGE: ${0} file string" | |
exit -1 | |
fi | |
fname=${1} | |
ftmp=${1}.$$ | |
string=${2} |
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 -*- | |
""" [NAME] に続くScriptの簡易説明文 | |
[DESCRIPTION] Scriptの詳細説明文 | |
ユーザ名とパスワードの保存にpitを使っている。 | |
username: sshのユーザ | |
password: パスワード |
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
# coding:shift-jis | |
# | |
# copyet.py | |
# | |
# Copy and write | |
# | |
import time | |
import datetime | |
import win32con, win32api, win32gui, atexit | |
from collections import namedtuple |
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
tmpfs /var/lib/zabbix tmpfs defaults 0 0 | |
tmpfs /var/log/zabbix tmpfs defaults 0 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
sudo aptitude install imagemagick libimagemagick libmagickcore libmagickcore-dev libmagickwand-dev | |
sudo apt-get install libsqlite3-dev | |
sudo gem install rmagick | |
ここからダウンロード | |
http://www.redmine.org/projects/redmine/wiki/Download | |
wget http://www.redmine.org/releases/redmine-2.5.0.tar.gz |
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 apt-get update | |
sudo apt-get install imagemagick libmagickcore-dev libmagickwand-dev wget | |
sudo apt-get install libsqlite3-dev rubygems | |
sudo gem install rmagick | |
sudo gem install bundler | |
#sudo gem install sqlite3 -v '1.3.9' | |
sudo gem install rmagick -v '2.13.2' |