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
setopt ignoreeof auto_cd noclobber prompt_subst correctall globdots | |
setopt histignoredups histignorespace nobeep extendedglob | |
setopt auto_pushd pushd_ignore_dups | |
#PATH=~/bin:~/usr/bin:~/usr/sbin | |
PATH=/usr/tools/bin:$PATH | |
PATH=$PATH:/usr/pkg/bin:/usr/pkg/sbin:/usr/local/bin:/usr/local/sbin | |
PATH=$PATH:~/usr/src/mruby/bin | |
PROMPT='%{%}%n@%m$'"%{%} " | |
RPROMPT='%{%}[%~]%{%}' |
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
Dir.glob("*hoge*").each {|x| system("md5sum #{x} > #{x}.md5")} |
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 | |
DATE=`date '+%y%m%d'` | |
cd /var/backup/atlassian-confluence | |
tar czf var-atlassian-$DATE.tar.gz /var/atlassian/ | |
tar czf opt-atlassian-$DATE.tar.gz /opt/atlassian/confluence/ | |
pg_dump -h localhost -U <user> <password> > confluence-$DATE.sql | |
gzip confluence-$DATE.sql |
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
<Server port="8000" shutdown="SHUTDOWN" debug="0"> | |
<Service name="Tomcat-Standalone"> | |
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8090" minProcessors="5" | |
maxProcessors="75" | |
enableLookups="false" redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="20000" | |
useURIValidationHack="false" URIEncoding="UTF-8"/> | |
<Engine name="Standalone" defaultHost="localhost" debug="0"> | |
<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false"> |
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
iface br0 inet static | |
address x.x.x.x | |
netmask 255.255.255.0 | |
gateway y.y.y.y | |
dns-nameservers 8.8.8.8 x.x.x.x | |
bridge_ports eth0 | |
bridge_stp off | |
bridge_fd 0 | |
bridge_maxwait 0 |