Building stuff

When I was 12, a relative lend me a set of PC, I vaguely remember it was a Pentium 133, has a turbo button in its case, and a fairly large, 400MB hard drive. He lend it to me so I can take it apart and put it back, see if everything is still working.

I always like taking thing apart and put it back together, sometimes the latter part wasn't smooth, but it is pure fun. For that Pentium 133, after I put it back and POST-ed, I called and ask some questions - it involved using mscdex to load CD-ROM device driver, so I could access it and install Windows.

22 years passed, I have become something that I couldn't imagine at 12. Working in the heart of Technology - Silicon Valley - as a software engineer, and recently, engineering manager. But the fundamentals have not changed for the past two decades. Building stuff. The difference is the target audience. When I build a PC, it is tailored for my preferences. when I build a new module on Yahoo News, it was used by tens of millions of people around the world. However, to my surprise, the joy of building something is just as pure, in both cases.

Whether it's re-compiling ffmpeg for the 1001st time, for it to use NVENC, or to devise yet another IE hack, or assembling the pipe with awk, tee, and find, or build another PC for yourself because yours is getting too old to do any HEVC codec - It is still the same pure joy.


Configure a http/2 Nginx using Let's Encrypt free SSL certificate

Once upon a time (circa. 2015), it would cost you for a few dozen bucks, to a few hundred dollars, per year, to get that shiny green little locky thingy appear on your URL bar in the browser. The cost would be justifiable for someone that runs a large business on the web, not so much for small companies or someone who occasionally runs a random httpd somewhere, like me. That was the dark time of the internet.

Setting up a LAMP alternative on Ubuntu 16.04 - Nginx / HHVM / MariaDB / Nodejs

When I started my freelancer career a decade ago, AppServ was my development environment. It is essentially an one-click setup WAMP. I run Wordpress, xtCommerce, MediaWiki, and lots of other popular packages. Time flies, people changed, things changed. And the time to upgrade my old server has come.


FreeNAS 開箱與組裝

更新: 似乎有許多外站連結到這篇文章,像是這篇, Google 翻譯出來慘不忍睹,所以我稍微翻譯了一下

Edit: So I got linked from a lot of places like this and Google Translate is horrible, so I decided to translate it myself.


There are two kinds of hard drive: broken ones; and will be broken ones. Two of my hard drives were categorized as the latter three months ago. There is nothing important on those, just inconvenient - thou shalt not be short on storage ever.






sudo apt-get p7zip p7zip-full


7z a -mx=[壓縮比] -t[類型] -v[分割大小] [檔名] [欲壓縮檔案]

範例 (flag與option間無空格)

將 verybigfile.ext 用zip格式壓縮成 archive.zip, 每200M分割, 用最高壓縮比(9最高,1最低)

7z a -mx=9 -tzip -v200m archive.zip verybigfile.ext

最後會輸出archive.zip.001, archive.zip.002 ....




Building stuff

When I was 12, a relative lend me a set of PC, I vaguely remember it was a Pentium 133, has a turbo button in its case, and a fairly large,...