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 | |
# | |
# /etc/rc.d/rc.S: Initialize system. | |
# | |
# シングルユーザモード・マルチユーザモード共通の初期化を行なう | |
# | |
# 初期化内容: | |
# udev・ローカルファイルシステム・ホスト名・RTC・syslogd/klogd(仮起動)・ | |
# CPUクロック(仮設定)・ISAPnP・カーネルモジュール・フレームバッファ・unicon・ | |
# コンソールフォント・キーマップ・motd/issue・シリアルポート |
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 | |
# | |
# rc.M: Initialize for multi-user mode. | |
# | |
# マルチユーザモードの初期化を行う | |
# | |
# 初期化内容: | |
# ライブラリ・CD-ROMマウント・ネットワーク・HotPlug(デバイス自動認識)・PCMCIA・ | |
# ALSAミキサ・syslogd・rc.inet2・NFS・autofs・lpd・apmd・crond・atd・ | |
# 日本語入力システム(Canna・Wnn・SKKserv・ATOKx2)・ndtpd・PostgreSQL・Apache・ |
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 | |
# | |
# rc.6/rc.0: Reboot or shutdown system. | |
# | |
# Set the path. | |
PATH=/bin:/usr/bin:/sbin:/usr/sbin | |
# Set linefeed mode to avoid staircase effect. | |
stty onlcr |
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/bash | |
# | |
# Summarize script from results output for Dell DVD Store | |
for d in `find . -mindepth 1 -type d` | |
do | |
touch $d/summary.txt | |
echo "clients order/sec cpu usage response time" >> $d/summary.txt | |
for f in `ls $d/results*.txt | sort -g` | |
do |
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/ruby1.9 -w | |
# -*- coding: utf-8 -*- | |
# | |
# usage: ruby b2gp.rb [path to csv] | |
# | |
# あらかじめ複数の csv ファイルを | |
# for f in `ls *.csv`; do tail -n 1 $f >> all.csv; done | |
# みたいにして 1 ファイルにしておくこと. | |
require "csv" |
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
○グラフ生成 | |
* 共通 | |
1. logs ディレクトリをコピーしてくる | |
* sysstat グラフ | |
2. bash iosummary.sh | |
3. bash graph.sh | |
* JDBCBench 結果グラフ用データファイル |
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
diff -u -r pidgin-twitter-0.9.2.1.orig/util.c pidgin-twitter-0.9.2.1/util.c | |
--- pidgin-twitter-0.9.2.1.orig/util.c 2011-05-13 00:08:01.000000000 +0900 | |
+++ pidgin-twitter-0.9.2.1/util.c 2012-02-10 12:35:35.717563183 +0900 | |
@@ -309,6 +309,11 @@ | |
return TRUE; | |
} | |
+ if(g_strstr_len(name, 23, "[email protected]") && | |
+ g_strstr_len(proto, 11, "prpl-jabber")) { | |
+ return TRUE; |
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/ruby -w | |
# -*- coding: utf-8 -*- | |
require 'dbus' | |
require 'twitter' | |
require 'rubygems' | |
# mpris | |
# see the specification | |
# http://specifications.freedesktop.org/mpris-spec/latest/ |
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/ruby | |
# -*- coding: utf-8 -*- | |
require 'rubygems' | |
require 'ntlm/http' | |
require 'kconv' | |
require 'date' | |
require 'csv' | |
class Garoon |
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
From 48f5bda71e8bb8124cf8f0f7b4372ec3d79d9e51 Mon Sep 17 00:00:00 2001 | |
From: KATOH Yasufumi <[email protected]> | |
Date: Mon, 26 Aug 2013 16:56:12 +0900 | |
Subject: [PATCH] improve slackware/plamo detection and change nfs_check_command | |
* On Slackware, /etc/rc.d/rc.nfsd has no "status" argument, so the check command change to pidof command. | |
* On Plamo Linux, there is no /etc/slackware-release file, so use "/usr/lib/setup/Plamo-*" instead. | |
--- | |
plugins/hosts/slackware/host.rb | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) |
OlderNewer