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 | |
cat /etc/udev/rules.d/70-persistent-net.rules \ | |
| grep -v 'SUBSYSTEM=="net"' \ | |
> /tmp/net.rules | |
mv -f /tmp/net.rules /etc/udev/rules.d/70-persistent-net.rules | |
i=0 | |
for hwaddr in $(/sbin/ifconfig -a | grep '^eth' | grep 'HWaddr' | sed 's/^.*HWaddr \([0-9A-Z:]*\).*$/\1/g'); do | |
cat /etc/sysconfig/network-scripts/ifcfg-eth$i \ |
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 | |
yum install -y \ | |
gcc-c++ \ | |
patch \ | |
readline \ | |
readline-devel \ | |
zlib zlib-devel \ | |
libyaml-devel \ | |
libffi-devel \ |
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 | |
curl -s http://www22.atwiki.jp/madoka-magica/pages/56.html|grep '「'|head -n 306|tail -n 9|sed 's:暁美ほむら:エンジニア:g'|sed 's:ほむら:エンジニア:g'|sed 's:彼女:エンジニア:g'|sed 's:まどか:自分たち:g'|sed 's:時間軸:リファクタ:g'|sed 's:ワルプルギス:そ○○○ん:g' |
NewerOlder