Skip to content

Instantly share code, notes, and snippets.

Avatar

Gea-Suan Lin gslin

View GitHub Profile
View gist:5145d10dadc0ba847dfbef905620c4d6
Domain Name: nycu.tw
Domain Status: inactive,clientTransferProhibited
Registrant:
National Chiao Tung University, Taiwan
Chang-ShengChen jcs.chen@gmail.com
+886.035712121
1001 University Road, National Chiao Tung University Hsinchu,30010,TW
Hsinchu, TW
TW
View gist:3bb4bbc213473ea67ff66b3a48234486
gslin@GSLINHOME18 [~] [22:37/W2] mtr -n --report 1.1.1.1
Start: 2020-10-31T22:37:43+0800
HOST: GSLINHOME18 Loss% Snt Last Avg Best Wrst StDev
1.|-- 168.95.98.254 0.0% 10 0.9 4.9 0.9 10.4 2.6
2.|-- 168.95.84.70 0.0% 10 5.2 1.1 0.4 5.2 1.5
3.|-- 220.128.3.134 0.0% 10 26.0 26.5 23.9 27.9 1.3
4.|-- 220.128.26.5 10.0% 10 27.0 27.1 22.2 29.5 2.1
5.|-- 220.128.7.185 0.0% 10 27.4 27.9 20.3 55.3 10.0
6.|-- 210.242.214.45 0.0% 10 42.2 30.6 24.5 42.2 6.2
7.|-- 1.1.1.1 0.0% 10 21.0 26.0 21.0 27.9 2.5
View gist:27f97247cb724d734fbcd67c879f0256
[2.4.5-RELEASE][admin@pfSense.localdomain]/root: mtr -n --report flex.migotv.ooflex.net
Start: 2020-10-27T10:41:36+0800
HOST: pfSense.localdomain Loss% Snt Last Avg Best Wrst StDev
1.|-- 45.64.81.77 0.0% 10 29.2 30.5 29.1 38.6 3.1
2.|-- 103.246.148.100 0.0% 10 29.3 29.5 29.2 31.4 0.7
3.|-- 52.93.8.10 30.0% 10 33.2 32.4 29.8 43.0 4.8
4.|-- 52.93.11.33 0.0% 10 30.1 29.5 29.2 30.3 0.4
5.|-- 52.93.11.36 0.0% 10 30.2 30.0 29.7 30.3 0.2
6.|-- 52.93.8.71 0.0% 10 30.0 32.2 29.4 49.9 6.3
7.|-- 203.83.223.23 0.0% 10 29.3 29.6 29.3 30.9 0.6
View cpudefault-mem3333.txt
gslin@GSLINHOME18 [~] [10:09/W1] mbw 10240
Long uses 8 bytes. Allocating 2*1342177280 elements = 21474836480 bytes of memory.
Using 262144 bytes as blocks for memcpy block copy test.
Getting down to business... Doing 10 runs per test.
0 Method: MEMCPY Elapsed: 1.00956 MiB: 10240.00000 Copy: 10143.063 MiB/s
1 Method: MEMCPY Elapsed: 0.99925 MiB: 10240.00000 Copy: 10247.717 MiB/s
2 Method: MEMCPY Elapsed: 1.00418 MiB: 10240.00000 Copy: 10197.365 MiB/s
3 Method: MEMCPY Elapsed: 1.00842 MiB: 10240.00000 Copy: 10154.489 MiB/s
4 Method: MEMCPY Elapsed: 1.02101 MiB: 10240.00000 Copy: 10029.285 MiB/s
5 Method: MEMCPY Elapsed: 1.00447 MiB: 10240.00000 Copy: 10194.421 MiB/s
View gist:782a998a86f6bbe24478cb56b67f7031
gslin@GSLINMIGO [~] [16:06/W2] mtr -w 168.95.1.1
Start: 2020-03-04T16:06:45+0800
HOST: GSLINMIGO Loss% Snt Last Avg Best Wrst StDev
1.|-- _gateway 0.0% 10 0.2 0.2 0.2 0.3 0.0
2.|-- 125-227-129-254.HINET-IP.hinet.net 0.0% 10 5.1 4.7 1.8 7.6 2.3
3.|-- 168-95-81-202.hinet-ip.hinet.net 50.0% 10 27.6 27.7 27.6 27.8 0.1
4.|-- 220-128-2-102.HINET-IP.hinet.net 50.0% 10 28.1 28.2 28.1 28.3 0.1
5.|-- tpdt-3012.hinet.net 40.0% 10 27.9 31.0 27.9 33.6 1.9
6.|-- tpdb-3311.hinet.net 70.0% 10 27.9 28.1 27.9 28.5 0.3
7.|-- 210-59-204-217.HINET-IP.hinet.net 20.0% 10 27.8 28.7 27.6 32.8 1.8
View gist:9ed15383dcea9d3a03b79509a3c62409
ubuntu@ip-10-93-96-50:~$ curl https://httpbin.org/ip
{
"origin": "18.141.144.15"
}
View gist:008b54a6881629ba80a98bb71f0a7b28
Start: 2020-02-22T23:52:07+0800
HOST: home.gslin.org Loss% Snt Last Avg Best Wrst StDev
1.|-- 2001:b010:ffff::1 0.0% 10 8.8 9.2 8.4 10.5 0.6
2.|-- 2001-b000-0082-0005-0022- 0.0% 10 9.7 11.3 8.9 21.2 3.6
3.|-- 2001-b000-0080-0003-0080- 70.0% 10 9.6 10.4 9.6 10.9 0.7
4.|-- 2001-b000-0080-0004-3022- 0.0% 10 10.6 10.0 9.0 11.5 0.9
5.|-- 2001-b000-0080-0004-4103- 0.0% 10 10.5 27.8 9.3 128.4 39.9
6.|-- 2001-b000-0080-0007-0000- 0.0% 10 35.7 34.2 32.1 36.6 1.6
7.|-- if-ae-2-2.thar1.hk2-hong- 0.0% 10 34.6 35.3 33.9 37.1 0.9
8.|-- if-ae-7-2.tcore1.hk2-hong 0.0% 10 37.1 38.2 35.5 43.1 2.0
View gist:0c9b901da2972abd6d47bb25ecffbb73
INFO:root:start
INFO:root:Menu shown
INFO:root:Fetcher started
(indicator-sysmonitor:24837): Gdk-ERROR **: 14:24:46.148: The program 'indicator-sysmonitor' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadLength (poly request too large or internal Xlib length erro'.
(Details: serial 108076 error_code 16 request_code 32 (core protocol) minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
@gslin
gslin / gist:41393145fc933b42f282495d0754b059
Created Sep 23, 2019
Active Tickets, which I have participated. (Slow)
View gist:41393145fc933b42f282495d0754b059
SELECT p.value AS __color__,
t.id AS ticket, summary, component,
priority, FROM_UNIXTIME(CONVERT(c.value / 1000000, UNSIGNED INTEGER), '%Y-%m-%d') AS due_date,
t.changetime AS _changetime, description AS _description,
reporter
FROM ticket t
LEFT JOIN enum p ON p.name = t.priority AND p.type = 'priority'
LEFT OUTER JOIN ticket_custom c ON t.id = c.ticket AND c.name = 'due_date'
LEFT JOIN (SELECT ticket AS id, author, MAX(time) FROM ticket_change WHERE author = $USER GROUP BY ticket) ticket_change USING (id)
WHERE t.status <> 'closed' AND (owner = $USER OR author = $USER)
View gist:015f8f72b19661925bbdd0358a57005c
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
https://webkit.org/perf/sunspider/sunspider.html
https://webkit.org/perf/sunspider-1.0.2/sunspider-1.0.2/results.html?%7B%22v%22:%20%22sunspider-1.0.2%22,%20%223d-cube%22:%5B19,24,22,19,21,20,20,20,22,28%5D,%223d-morph%22:%5B17,15,16,15,16,16,16,17,17,21%5D,%223d-raytrace%22:%5B33,27,34,31,29,28,28,147,34,39%5D,%22access-binary-trees%22:%5B6,7,6,7,6,8,7,9,8,10%5D,%22access-fannkuch%22:%5B19,19,22,20,20,24,25,26,21,22%5D,%22access-nbody%22:%5B6,6,6,8,9,12,9,7,12,11%5D,%22access-nsieve%22:%5B11,12,16,13,14,15,14,14,15,17%5D,%22bitops-3bit-bits-in-byte%22:%5B3,5,4,4,4,4,5,4,5,5%5D,%22bitops-bits-in-byte%22:%5B6,7,8,8,6,6,7,9,7,8%5D,%22bitops-bitwise-and%22:%5B4,4,5,5,5,5,6,6,6,6%5D,%22bitops-nsieve-bits%22:%5B9,10,9,9,9,9,9,10,10,10%5D,%22controlflow-recursive%22:%5B8,6,7,8,7,6,7,8,8,8%5D,%22crypto-aes%22:%5B19,20,16,23,28,25,22,19