~A Moment To Remember~

Set Up Headless Windows 10 Virtual Machine on Remote Linux Server

I have a remote server with Intel E5 1620v2 CPU which supports VT-x, VT-d and EPT. The server runs with Debian Stretch and I need to set up a headless Window 10 virtual machine on it. After comparing different virtualizer products, I chose VirtualBox, which is free, and use Windows Remote Desktop as client.

Use Rename to Rename Files

Recently I begin to use Onedrive to store my photos instead of Dropbox. When I try to move my photos from Dropbox to Onedrive, I find that Onedrive and Dropbox use different forms to name photos taken by cell phone. Onedrive uses YYYYMMDD_HHMMSS.jpg and Dropbox uses YYYY-MM-DD HH.MM.SS.jpg. So I want to rename my photos files in Dropbox to match Onedrive form. As I use macOS so software rename can be a good choice. Use homebrew to install rename if you like.

Enable Two-Way SSl Verification Between Reverse Proxy and Proxied Server

I have two servers now, one in Canada and one in France. Due to the disk storage, I put this site on the France server and build a reverse proxy on the Canada server for a better time delay. Because I don’t want users to access the France server, I enable proxy_ssl_verify and and ssl_client_verify in NGINX. This article records a brief process of the set up. All servers are with Debian Jessie and NGINX 1.11.5.

Streaming Mkv in Chrome From Nginx Server

Recently I setup nginx server with default modules and find that streaming the MP4 container format with the H.264 video codec and the AAC audio codec is supported by Chrome. But streaming the MKV container format with the same video and audio codec is not supported. Chrome starts to download the file after I click the link. Actually, there is no MKV type in nginx mime.types file. So I add video/webm mkv; to the file and it works.


To-morrow, and to-morrow, and to-morrow, Creeps in this petty pace from day to day, To the last syllable of recorded time; And all our yesterdays have lighted fools The way to dusty death. Out, out, brief candle! Life’s but a walking shadow, a poor player, That struts and frets his hour upon the stage, And then is heard no more. It is a tale Told by an idiot, full of sound and fury,