2017/06/11

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.

2015/11/27

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.

2010/03/13

2010/01/26

用7-zip在linux下分割壓縮

請先裝7-zip

ubuntu上可以用下列指令安裝

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 ....

由於.7z還不是那麼流行,所以我傾向壓成.zip

因為在Linux上找不大到Windows比較能支援的分割壓縮法(用split需要用cat合起來...)

算是折衷方案

2009/12/23

BELKIN OmniView Pro2 F1DA104T 購入心得

[前言]

我房間以前有三台電腦,也曾經有三組鍵盤滑鼠螢幕

但是CRT實在太龐大了,我第二張桌子根本就放電腦就好了...

後來買了一個$450的手動(非電子式)KVM切換器

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...