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 | |
#!/bin/ksh でも可 (ただし制限あり) | |
## | |
## UPS友の会: シェルスクリプト大喜利第二回 | |
## | |
## [第2問] 本誌6ページに出てきたinterlaceコマンドをシェルスクリプトで | |
## 書いてください。8つのストリームを重畳する専用で構いません。 | |
## ====================================================================== | |
## これはそこそこ歯ごたえあるお題だと思います。投稿したら段位をたくさん進 | |
## 呈する可能性が高いです、たぶん。(歯ごたえあると思いますので、全然解答が |
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/ksh | |
#!/bin/zsh でも可 | |
## | |
## [第3問] USP友の会に会員登録すると事務局に次のメールが自動送信されるそう | |
## です(先頭の"> "は付きません)。これをname, email,place,howの順 | |
## 番で/home/usp/members.csvにCSVで追記出力する1行野郎スクリプトを | |
## 作ってください。なるべく短い記述で! | |
## | |
## > タイトル:USP友の会ご入会ありがとうございます。 | |
## > 本文: |
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/perl -pi.orig | |
## | |
## JIS 長音省略表記を修正するスクリプト (UTF-8 限定) | |
## | |
## Author: さとうふみやす | |
## URL: https://gist.github.com/1254298 | |
## Copying: GNU GPLv3 | |
## Usage: | |
## find /targetdir -type f -name "*.html" -exec perl fix-jis-shorttail.pl {} + | |
## |
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
NAME (PUBLISHER) VERSION IFO | |
archiver/gnu-tar 1.26-0.175.0.0.0.2.537 i-- | |
compress/bzip2 1.0.6-0.175.0.0.0.2.537 i-- | |
compress/gzip 1.3.5-0.175.0.0.0.2.537 i-- | |
compress/p7zip 9.20.1-0.175.0.0.0.2.537 i-- | |
compress/unzip 6.0-0.175.0.0.0.2.537 i-- | |
compress/zip 3.0-0.175.0.0.0.2.537 i-- | |
consolidation/SunVTS/SunVTS-incorporation 0.5.11-0.172.0.0.0.0.0 i-- | |
consolidation/X/X-incorporation 0.5.11-0.175.0.0.0.0.1215 i-- | |
consolidation/admin/admin-incorporation 0.5.11-0.175.0.0.0.2.0 i-- |
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
options { | |
directory "/var/named"; | |
dump-file "/var/named/data/cache_dump.db"; | |
statistics-file "/var/named/data/named_stats.txt"; | |
/* | |
* If there is a firewall between you and nameservers you want | |
* to talk to, you might need to uncomment the query-source | |
* directive below. Previous versions of BIND always asked | |
* questions using port 53, but BIND 8.1 uses an unprivileged | |
* port by default. |
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
options { | |
listen-on port 53 { 127.0.0.1; }; | |
listen-on-v6 port 53 { ::1; }; | |
directory "/var/named"; | |
dump-file "/var/named/data/cache_dump.db"; | |
statistics-file "/var/named/data/named_stats.txt"; | |
memstatistics-file "/var/named/data/named_mem_stats.txt"; | |
// Those options should be used carefully because they disable port | |
// randomization |
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/ksh | |
## | |
## Convert ISC DHCP dhcpd.conf into Solaris in.dhcpd(1M) | |
## Copyright (c) 2011 SATOH Fumiyasu @ OSS Technology, Inc. | |
## | |
## License: GNU General Public License version 3 or later | |
## Date: 2011-12-01, since 2011-12-01 | |
## | |
## See also: | |
## dhcpconfig(1M), dhtadm(1M), pntadm(1M), dhcp_inittab(4), |
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
From 1cffdb3dab34c2fc1115a4417464afa8bc56ff37 Mon Sep 17 00:00:00 2001 | |
From: SATOH Fumiyasu <[email protected]> | |
Date: Sat, 25 Feb 2012 03:29:09 +0900 | |
Subject: [PATCH] NKF (Network Kanji Filter) support for --iconv option | |
--- | |
Makefile.in | 2 +- | |
nkf/config.h | 51 + | |
nkf/nkf.c | 6717 +++++++++++++++++++++++++++++++++++++++++++ | |
nkf/nkf.h | 181 ++ |
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
Based on the following articles: | |
http://developer.cybozu.co.jp/oss/2010/01/build-with-stat.html | |
http://lists.andrew.cmu.edu/pipermail/cyrus-sasl/2009-December/001929.html | |
diff -upr cyrus-sasl-2.1.25/config/plain.m4 cyrus-sasl-2.1.25-static-plugin/config/plain.m4 | |
--- cyrus-sasl-2.1.25/config/plain.m4 2009-12-04 04:07:01.000000000 +0900 | |
+++ cyrus-sasl-2.1.25-static-plugin/config/plain.m4 2012-03-15 16:42:47.141186907 +0900 | |
@@ -21,7 +21,7 @@ dnl PLAIN | |
if test "$plain" != no; then | |
AC_MSG_RESULT(enabled) |
OlderNewer