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
Kernel IP routing table | |
Destination Gateway Genmask Flags Metric Ref Use Iface | |
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0 | |
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0 | |
localnet * 255.255.255.0 U 0 0 0 em1 |
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
options { | |
directory "/var/cache/bind"; | |
// If there is a firewall between you and nameservers you want | |
// to talk to, you may need to fix the firewall to allow multiple | |
// ports to talk. See http://www.kb.cert.org/vuls/id/800113 | |
// If your ISP provided one or more IP addresses for stable | |
// nameservers, you probably want to use them as forwarders. | |
// Uncomment the following block, and insert the addresses replacing |
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
options { | |
directory "/var/cache/bind"; | |
// If there is a firewall between you and nameservers you want | |
// to talk to, you may need to fix the firewall to allow multiple | |
// ports to talk. See http://www.kb.cert.org/vuls/id/800113 | |
// If your ISP provided one or more IP addresses for stable | |
// nameservers, you probably want to use them as forwarders. | |
// Uncomment the following block, and insert the addresses replacing |
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/env ruby | |
# -*- coding: utf-8 -*- | |
require 'date' | |
`rsync -a --delete / /tank/backup/kurokami --exclude-from=/home/itochan/rsync_excludes` | |
# snapshots = `zfs list -H -t snapshot -o name -r tank/backup`.split("\n") | |
today = Date.today |
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
itochan@kurokami:~% sudo zpool status | |
pool: tank | |
state: ONLINE | |
scan: resilvered 626G in 1h54m with 0 errors on Sun Feb 3 20:29:49 2013 | |
config: | |
NAME STATE READ WRITE CKSUM | |
tank ONLINE 0 0 0 | |
mirror-0 ONLINE 0 0 0 | |
scsi-SATA_WDC_WD20EFRX-68_WD-XXXXXXXXXXXX ONLINE 0 0 0 |
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
itochan@airchan:~% cd ้ๅป/ | |
itochan@airchan:~/้ๅป% ls (git)-[master] | |
ๅฟใใใใชใ้ๅป ใใฃใจๅฟใใใใชใ้ๅป | |
ๆดใซๅฟใใใใชใ้ๅป ใใๅฐใใงๅฟใใใใ้ๅป | |
itochan@airchan:~/้ๅป% cat * (git)-[master] | |
ใใๅฐใใงๅฟใใใใ้ๅป | |
ๅฟใใใใใ | |
้ๅป | |
ๅฟใใใใใ | |
้ๅป |
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
NAME PROPERTY VALUE SOURCE | |
tank/mysql type filesystem - | |
tank/mysql creation Mon Feb 11 13:19 2013 - | |
tank/mysql used 53.9M - | |
tank/mysql available 1.09T - | |
tank/mysql referenced 53.9M - | |
tank/mysql compressratio 1.00x - | |
tank/mysql mounted yes - | |
tank/mysql quota none default | |
tank/mysql reservation none default |
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
็ตๆงในใใฌใผใธใฎ็ฐๅขใ้ใใพใใใใญใฃใใทใฅใใใฆใใใจๆใใใใฎใงใใใพใงๅ่ใซใใชใใงใใ ใใใใ | |
ใญใฃใใทใฅ้ข้ฃๅ จใใใใฃใฆใใชใใฎใงใใใใ็ฐๅขใงใฏZFSใซ่ผใใใปใใ้ใใจใใ่ฉฑใซใชใใพใใ | |
% cat /proc/scsi/scsi | |
Attached devices: | |
Host: scsi0 Channel: 00 Id: 00 Lun: 00 | |
Vendor: ATA Model: ST3500418AS Rev: CC34 | |
Type: Direct-Access ANSI SCSI revision: 05 | |
Host: scsi2 Channel: 00 Id: 00 Lun: 00 | |
Vendor: ATA Model: WDC WD20EFRX-68A Rev: 80.0 |
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
-startup | |
../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar | |
--launcher.library | |
../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.200.v20120522-1813 | |
-showsplash | |
org.eclipse.platform | |
--launcher.XXMaxPermSize | |
256m | |
--launcher.defaultAction | |
openFile |
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/env ruby | |
# coding: utf-8 | |
require "oauth" | |
require "json" | |
while true | |
begin | |
c = OAuth::Consumer.new("","", {:site => "http://twitter.com"}) | |
t = OAuth::AccessToken.new(c, "", "") |