Author Archives: davychiu

Installing oracle-java9-installer on Ubuntu Error Fix

The oracle-java9-installer, as of writing, has an old URL that doesn’t redirect properly to the right URL, which causes the installer to fail when it tries to download the binaries. Setting up oracle-java9-installer (9b162-1~webupd8~0) … Using wget settings from /var/cache/oracle-jdk9-installer/wgetrc … Continue reading

Posted in Uncategorized | 2 Comments

Resizing Virtualbox Fixed-Size VDI Disks

As of writing (2017-04-06), there is no native tooling to resize a fixed-size VDI. Those on the internet saying they can resize oneĀ are misinformed. You will get this error message: Progress state: VBOX_E_NOT_SUPPORTED VBoxManage.exe: error: Resize medium operation for this … Continue reading

Posted in Uncategorized | Leave a comment

Thoughts on Building Serverless Web Applications with Amazon Lambda

I spent several weekends working a project using the Amazon Lambda serverless micro-architecture to see whether it was worth using for larger projects. I created a micro SaaS – https://pdfbatchfill.com – that essentially takes a bunch of rows and spit … Continue reading

Posted in Uncategorized | Leave a comment

Ubuntu Linux Email Notification on Hard Disk S.M.A.R.T Errors

This is a short guide on setting up sendmail command on Ubuntu to work with smartmontools to monitor SMART statuses of drives and send email notifications on any failures. 1. Setup sendmail to relay to an external SMTP server (Gmail, … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Determining SSD Approximate Remaining Lifespan

I couldn’t find anything readily available that was trustworthy or free to determine the lifespan of an SSD. MTBF isn’t very useful as on-time doesn’t wear down like hard disks do. The next best thing is to get the total … Continue reading

Posted in Uncategorized | Leave a comment

Sony Vaio Pro 13 Disassembled

There aren’t any high resolution images of the Sony Vaio Pro 13 internals, so I thought I would post them since the fan started making rattling noises. One of the reasons I discovered the fan developing the noise is that … Continue reading

Posted in Uncategorized | Leave a comment

Setting Up CKAN 2.5 on Ubuntu 14.04

Install root certificates for work https (optional, required if https is intercepted) sudo mkdir /usr/share/ca-certificates/extra sudo cp root.crt /usr/share/ca-certificates/extra/root.crt sudo dpkg-reconfigure ca-certificates Install CKAN Package sudo apt-get install -y nginx apache2 libapache2-mod-wsgi libpq5 wget http://packaging.ckan.org/python-ckan_2.5-trusty_amd64.deb sudo dpkg -i wget python-ckan_2.5-trusty_amd64.deb … Continue reading

Posted in Uncategorized | Leave a comment

Cecilio CEVN-1NA Electric Silent Violin Internal Electronics

I got this relatively cheap electric violin by Cecilio (model CEVN-1NA) and wanted to see what was under the hood. Performance-wise, using a Sony MD 7505 headset, the sound was quite noisy and rather muddled. Tone adjustment just maded the … Continue reading

Posted in Uncategorized | Leave a comment

Strongswan PSK IPsec IKEv2 VPN on Ubuntu 14.04 with Blackberry

This is a short guide on configuring Strongswan on Ubuntu 14.04 with pre-shared keys (PSK) for a Blackberry 10 device to connect with. Setting this up requires in-depth knowledge of networking and routing. Install and configuring Strongswan: sudo apt-get install … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Running Ghost with cPanel on Shared Host via Rails

I have been looking to migrate my WordPress-driven blog over to Ghost but I don’t want to use a VPS since that would require me to configure and maintain every detail. Shared hosting is great in that it is essentially … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment