Skip to content

Instantly share code, notes, and snippets.

@jnlin
jnlin / gist:627689
Created October 15, 2010 05:40
dig s.ytimg.com
dig s.ytimg.com @dns1.tfn.net.tw
; <<>> DiG 9.4.-ESV <<>> s.ytimg.com @dns1.tfn.net.tw
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22567
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 13, ADDITIONAL: 0
;; QUESTION SECTION:
;s.ytimg.com. IN A
@jnlin
jnlin / gist:970095
Created May 13, 2011 06:48
VCL file
backend static1 {
.host = "10.1.1.85";
.port = "81";
.probe = {
.request =
"GET /robots.txt?healthcheck=varnish&monitor=Monitor_s.pixfs.net HTTP/1.1"
"Host: s.pixfs.net"
"Connection: close";
.interval = 5 s;
.timeout = 2 s;
alert('hello world')
@jnlin
jnlin / gist:2986509
Created June 25, 2012 04:23
account/feed
{
"error": 0,
"feed": [
{
"created_at": "1340603715",
"from_user": {
"avatar": "https://graph.facebook.com/1844875981/picture",
"id": "71",
"name": "Repeat Yang"
},
HEAD http://pic.pimg.tw/robots.txt
200 OK
Date: Tue, 17 Jul 2012 16:03:54 GMT
Via: http/1.1 rproxy-pic-large-3 (ApacheTrafficServer/2.1.5-unstable [cHs f ])
Accept-Ranges: bytes
Age: 63633
ETag: "1676333095"
Content-Length: 14
Content-Type: text/plain
Last-Modified: Mon, 16 Apr 2012 01:35:41 GMT
gatekeeper2 (0.0.0.0) Wed Aug 14 11:57:20 2013
Keys: Help Display mode Restart statistics Order of fields quit
Packets Pings
Host Loss% Snt Last Avg Best Wrst StDev
1. ip-103-23-109-254.static.pixnet.tw 0.0% 3431 0.3 1.4 0.1 69.4 7.5
2. 60-199-236-149.static.tfn.net.tw 0.0% 3431 0.2 0.2 0.2 15.3 0.4
3. 60-199-255-4.static.tfn.net.tw 0.0% 3431 1.2 0.9 0.8 57.2 1.4
4. 60-199-20-15
chttl-86d5bca7534a206a (0.0.0.0) Thu Nov 28 10:02:42 2013
Keys: Help Display mode Restart statistics Order of fields quit
Packets Pings
Host Loss% Snt Last Avg Best Wrst StDev
1. 210-61-2-251.HINET-IP.hinet.net 0.0% 22 0.4 0.6 0.4 1.7 0.3
2. 210-71-254-60.HINET-IP.hinet.net 0.0% 22 0.2 0.3 0.2 0.5 0.1
3. 210-71-254-78.HINET-IP.hinet.net 95.2% 22 1.0 1.0 1.0 1.0 0.0
4. 210-71-254-2
My traceroute [v0.83]
hinet-mw (0.0.0.0) Thu Nov 28 10:02:26 2013
Keys: Help Display mode Restart statistics Order of fields quit
Packets Pings
Host Loss% Snt Last Avg Best Wrst StDev
1. 112-121-80-254.mwsrv.com 0.0% 45 0.6 0.7 0.6 2.4 0.2
2. 112-121-77-113.gamania.com 0.0% 45 0.4 0.6 0.4 1.6 0.1
3. 202-80-105-50.gamania.com
My traceroute [v0.82]
aqua (0.0.0.0) Thu Nov 28 10:30:51 2013
Keys: Help Display mode Restart statistics Order of fields quit
Packets Pings
Host Loss% Snt Last Avg Best Wrst StDev
1. 10.1.1.251 0.0% 7 0.1 0.2 0.1 0.3 0.0
2. 60-199-247-254.static.pixnet.tw 0.0% 7 0.3 0.3 0.3 0.4 0.1
3. 60-199-236-149.static.tfn.net.tw
<div class="hslice box folder" id="box372798">
<h4 class="box-title entry-title">
koumis </h4>
<div class="box-text entry-content">
<div id="koumisBlogStick" style="width:160px;height:400px;"></div>
<iframe id="rFrame" width="0" height="0" frameborder="0" src=""></iframe>
<script type="text/javascript" src="http://www.koumis.cc/BlogSticker/js/koumis.js"></script> </div>
</div> <!-- #box372798 //-->