(Technical) Whimsical Writings of the Web
Backup Full Disk in Linux
#sudo fdisk /dev/sda to get size dd if=/dev/sda | pv -s SIZE | gzip --fast > output.
Running OpenVPN with custom options in Chrome OS
Finally managed to make my Chrome OS work with OpenVPN. The process is a little hairy, as there were certain customised settings that the GUI did not provide, such as customized port numbers and encryption type.
Have you ever reused code?
The term ‘Code Reuse’ feels like a software developer’s cliche that had since fallen into the list with other unfashionable tech lexicons.
Vim: When Copy and Paste doesn't work ...
I used to remember that copying and pasting to the clipboard used to work a long while ago, but I just couldn’t remember what exactly did I do in order to get it to work.
Adding extra jar files to Ant path in Fedora/RHEL
The default RPM packaged version of ‘Ant’ that comes with Fedora/JPackage doesn’t doesn’t respect the $ANT_HOME environment variable the same way as if you have downloaded and installed it directly from Apache itself.
Google Drive does not work if your network is slow
I solely use Google Docs, erm Drive, for working with documents these days.
The x86_64 Calling Convention
I suppose I can consider myself an ‘old-school’ developer now; even though I have been reading the AMD64 ABI documentation, I still haven’t fully absorbed it into my head yet, which is evidenced by the recent two situations I had today where RTFM-ing would have had saved me hours of GDB debugging pain.
Page Faults
While going through some code emitted by a Just-In-Time compiler (JIT), I’ve encountered a curious piece of code which suggested that if access to the process' utilisable stack space isn’t done incrementally, it will cause an “access violation”.