Wei-Chieh Hsia (@twxia) header
Wei-Chieh Hsia (@twxia) profile picture
Joined April 2013
Photo by Wei-Chieh Hsia (@twxia)Photo by Wei-Chieh Hsia (@twxia)Photo by Wei-Chieh Hsia (@twxia)Photo by Wei-Chieh Hsia (@twxia)Photo by Wei-Chieh Hsia (@twxia)Photo by Wei-Chieh Hsia (@twxia)Photo by Wei-Chieh Hsia (@twxia)Photo by Wei-Chieh Hsia (@twxia)Photo by Wei-Chieh Hsia (@twxia)
Wei-Chieh Hsia retweeted
After 48 hours of hard work, thanks to @paradigm_ctf for hosting such an amazing CTF challenge. Time to ramp up my cryptography knowledge this year! Goal for next year: Top 10 !!! SHOUT OUT TO my incredible teammates, @paco0x and @twxia!
2
2
19
1,762
Wei-Chieh Hsia retweeted
Here's my favorite git feature that no one knows about: You can reference commits using the commit message instead of the hash. The ":/" syntax accepts a regex that matches any part of the commit message, returning the youngest matching commit. git-scm.com/docs/revisions/2…
13
571
70
2,232
Wei-Chieh Hsia retweeted
Tip: You can name capture groups for Regular Expressions in JavaScript. Define a named capture in angle brackets <> and they get returned under .groups.
23
651
56
3,321
Wei-Chieh Hsia retweeted
New post 🆕 Record tests with the puppeteer recorder built right into DevTools (experimental) umaar.com/dev-tips/241-puppe… Helpful for scaffolding out code which would otherwise be tedious to write.
17
305
119
1,163
Wei-Chieh Hsia retweeted
PRO TIP: Check the vault's funds before the withdrawal. If the amount withdrawn is less than the vault's idle funds, there's no 0.5% fee. The 0.5% fee logic is inside the strategy. 👇vault's code r = the amount withdrawn by you b = vault's total amount (not the yvault's token)
1
2
Turns out Discords image upload algorithm identifies floppy gun man as a naked human and wont upload on regular channels till I add a black bar. 🤠Floppy gun man will not be censored🤠
29
90
7
641
Dear Programmers, Stop requiring postal codes. They're not a universal thing. Thx
37
88
7
488
Wei-Chieh Hsia retweeted
A good Hacker News comment on tech interviews.
40
1,901
184
7,912
Wei-Chieh Hsia retweeted
twitter did someone want a touchbar tamagotchi?
406
15,840
1,317
49,389
Wei-Chieh Hsia retweeted
Cool effect by @nealagarwal! @twxia made a sandbox so you can try it out buff.ly/2Wco1q9 📦✨
Hiding images in highlighted text
3
14
Wei-Chieh Hsia retweeted
How I feel when I ssh using my mobile phone
101
2,258
182
8,726
Wei-Chieh Hsia retweeted
HK原本是从CN fork出来的,后来被UK push了好多feature,现在要merge回CN,conflict太多了……
43
250
47
933
Wei-Chieh Hsia retweeted
七月初,cloudflare 曾经全球中断服务,原因是一个正则表达式耗尽了 CPU 资源。 今天,他们公布了这个正则表达式(下图)。看着是很复杂,简化以后,出问题是这个模式 .*.*=.* ,它会导致急剧放大的计算量。后面链接详细解释,为什么这个模式有问题。blog.cloudflare.com/details-…
20
172
10
459
Wei-Chieh Hsia retweeted
Your code. Your packages. One login. Meet GitHub Package Registry 🎁 Publish public or private packages next to your source code, easily. github.co/2DZiJGY
167
3,454
839
7,576
Wei-Chieh Hsia retweeted
So, it turns out that css background-images don't get loaded until the relevant selector is triggered. Many people might say "neat!" I used it to build a bi-directional CSS-only async chat.
33
242
40
767
Wei-Chieh Hsia retweeted
Don't mind me, just driving through tab city 🏙️
11
46
2
545
Wei-Chieh Hsia retweeted
🌞
Replying to @spiral_xyz
This is me explaining Bitcoin to my dad.
6
32
5
320
I never thought I would experience a XSS on Google Search. But @kinugawamasato blew my mind! This is a video going over the difficulties of sanitizing HTML in JavaScript. youtube.com/watch?v=lG7U3fuN…
26
1,110
95
2,750
Wei-Chieh Hsia retweeted
stackoverflow.com/questions/… 本日奇文共賞 在 shell script 裡面把 // 當成註解 結果造成了等同 rm -rf /* 的效果 原本以為只是 MongoDB 不見 結果是整個 filesystem 都 GG
3
67
11
142
Wei-Chieh Hsia retweeted
My first tattoo will probably be: tar -xvzf file.tar.gz Then I'll never need to look it up again
224
1,348
169
8,940