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
user system total real | |
RMagick 0.850000 0.140000 0.990000 ( 0.560273) | |
quick_magick 0.030000 0.030000 0.190000 ( 0.256925) | |
mini_magick 0.020000 0.030000 1.260000 ( 0.825334) |
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
@@ -1144,7 +1144,12 @@ | |
(4 (7 . nil))) | |
;; $' $" $` .... are variables | |
;; ?' ?" ?` are ascii codes | |
- ("\\(^\\|[^\\\\]\\)\\(\\\\\\\\\\)*[?$]\\([#\"'`]\\)" 3 (1 . nil)) | |
+ ;("\\(^\\|[^\\\\]\\)\\(\\\\\\\\\\)*[?$]\\([#\"'`]\\)" 3 (1 . nil)) | |
+ ("\\([?$]\\)[#\"'`]" | |
+ (1 (unless (save-excursion | |
+ ;; Not within a string. | |
+ (nth 3 (syntax-ppss (match-beginning 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
%_topdir %(echo $HOME)/rpmbuild | |
%_smp_mflags -j3 | |
%__arch_install_post /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot | |
%debug_package %{nil} | |
%dist .el6 |
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
[base-SRPM] | |
name=CentOS-5.8 - Base SRPM | |
baseurl=http://vault.centos.org/5.8/os/SRPMS/ | |
gpgcheck=0 | |
[updates-SRPM] | |
name=CentOS-5.8 - Updates SRPM | |
baseurl=http://vault.centos.org/5.8/updates/SRPMS/ | |
gpgcheck=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
for iface in /etc/sysconfig/network-scripts/ifcfg-eth*; do | |
iface_name=`egrep "^DEVICE=" \$iface` | |
iface_no=\${iface_name\#\#DEVICE=eth} | |
iface_br=ifcfg-br\${iface_no} | |
cp \$iface \$iface_br | |
sed -i -e "s/^DEVICE=eth\${iface_no}/DEVICE=br\${iface_no}/g" \$iface_br | |
sed -i -e 's/^HWADDR=/#HWADDR=/g' \$iface_br | |
echo "TYPE=Bridge" >> \$iface_br | |
sed -i -e "s/^BOOTPROTO=/#BOOTPROTO=/g" \$iface |
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
* 概要 | |
- 複数の MySQL を手軽にインストールして、手軽に MySQL を使えるツール | |
* 要件 | |
- 手軽にインストール/アップグレードができる | |
- U*INX で動作する | |
- バイナリでも展開して利用できるようにする | |
- mysql-build https://github.com/kamipo/mysql-build と連携して、自分でビルドした MySQL も使用できる | |
-- MySQL Sandbox の使いにくいところ(特にかなり既存の my.cnf を上書きしているところ)を改善したい |
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
for iface in `ls /etc/sysconfig/network-scripts/ifcfg-eth*`; do | |
bootproto=`/bin/cat $iface | /bin/egrep "BOOTPROTO=.*" | /bin/cut -d "=" -f 2` | |
if [ "$bootproto" == "dhcp" ]; then | |
/bin/sed -i 's/ONBOOT=yes/ONBOOT=no/g' $iface | |
fi | |
done |
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/sh | |
DATABASENAME="<DATABASE>" | |
for t in `echo "show tables" | mysql -u root --batch --skip-column-names $DATABASENAME`; do | |
echo "table name is $t" | |
mysql $DATABASENAME -u root -e "ALTER TABLE $t ENGINE = InnoDB;"; | |
done |
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
export LDFLAGS=-L/usr/lib64/mysql |
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
--- php53.spec-org 2012-06-15 04:26:17.000000000 +0900 | |
+++ php53.spec 2012-07-06 12:30:57.000000000 +0900 | |
@@ -12,11 +12,11 @@ | |
%global httpd_mmn %(cat %{_includedir}/httpd/.mmn || echo missing-httpd-devel) | |
# Regression tests take a long time, you can skip 'em with this | |
-%{!?runselftest: %{expand: %%global runselftest 1}} | |
+%{!?runselftest: %{expand: %%global runselftest 0}} | |
# Use the arch-specific mysql_config binary to avoid mismatch with the |