Author Archives: davychiu

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

Installing Grub2 on Both GPT HD in Software RAID1 on Ubuntu 14.04

I installed Ubuntu 14.04 on 2x 3TB mdadm raid 1 and wanted both drives to be bootable in case one fails. This took a rather long time to figure out but this is how you do it. Below was tested … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

PXE/Network ISO Boot with Ubuntu on Beagleboard and Tomato WRT54G

This is a short guide on configuring Ubuntu linux to provide network boot services to a local network. It works like this: DHCP responds with dhcp-boot option that tells the client to fetch the boot image from a certain computer. … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment