Archive for the ‘Computing’ Category

Flask + GitLab OAuth

Monday, September 5th, 2016

I’m back. A lot of things have changed since I last wrote and one of that is my go-to language. Earlier today, I needed to write a simple Flask application using GitLab as the OAuth2 provider. I immediately turned to Flask-OAuth to do the job, but it keeps on failing with: SSLHandshakeError: [Errno 1] _ssl.c:510: […]

CloudWatch INSUFFICIENT_DATA for Linux System Metric

Tuesday, March 24th, 2015

I recently had to recreate images for our production systems on EC2 because they didn’t have ephemeral storage that we require to keep our temporary tcp dumps. Considering that they are EC2 instances, it was quite easy. We use mon-get-instance-stats.pl to monitor system metrics such as memory utilization and disk space. Naturally, I copied alarms […]

DD-WRT: OpenVPN Server Using Certificates

Monday, October 14th, 2013

GUI confuses me sometimes, so I prefer to make configurations in text files. For DD-WRT, OpenVPN server is available in OpenVPN, OpenVPN Small, Big, Mega, and Giga builds: K2.6 Build Features. Since I have never used any router with USB storage capabilities, I can’t be sure but I think OpenVPN can be installed using ipkg […]

CrashPlan 3.5.3 Headless Upgrade

Saturday, April 20th, 2013

A headless installation of CrashPlan will fail when it tries to update itself. This short post assumes that you already have it setup and successfully running before, and is targeted only to help you save some time by identifying important files to copy. Running the installer again will also work, but we actually spend more […]

Inbox Zero: Gmail vs. Mailbox

Monday, February 18th, 2013

Mailbox is really cool for someone who has a lot of emails like me. It was worth the wait although I didn’t have to wait long (registered in the queue weeks ago). Have you been activated?

CloudFlare: Reliable?

Monday, January 21st, 2013

This website and some other websites I maintain had their ups and downs. All of my websites are running via CloudFlare. When you are utilizing CloudFlare and your website is dynamic (not static HTML pages), CloudFlare will still need to contact the server where your website is hosted in order to get the latest contents. […]

Redirecting WordPress Permalinks in Nginx

Saturday, January 19th, 2013

I know, it’s been really a long time since I last wrote an article in this blog. But trust me, I’ve done a lot of improvements at the back end. The blog is now in a new server, with new backup infrastructure, and most importantly served by Nginx. I was just casually looking at 404 […]

Sluggish iChat, Messages, Terminal, and Others in Mac OS X Lion

Saturday, May 12th, 2012

After about 60 days using my MacBook Pro running Mac OS X Lion (10.7.3), I saw some sluggishness in some apps. At first, it was Messages (iChat replacement for Mountain Lion). It went unresponsive and displays the rainbow wheel for a few seconds, enough to annoy an impatient user. Then, the same behavior happened in […]

Build LFTP on Mac OS X Lion

Saturday, May 5th, 2012

If you’re a seasoned Linux SysAdmin, you’ll miss LFTP. It’s a really powerful FTP client. Yes, you can also install it using MacPorts or Fink but right now, this is much quicker for me. Here’s how I built LFTP 4.3.6 on my MacBook Pro. For the record, I’m on 10.7.3 Prerequisite: Apple developer tools (Xcode) […]

Mac Messages Beta

Friday, February 17th, 2012

Apple has just released the developer preview for OS X Mountain Lion yesterday and at the same time released the beta version of Messages, an upgrade of iChat. Here is the link to download Messages. Installation is straight forward but you will be warned that the machine will need to be restarted. After installation, the […]

VirtueMart Custom Login Module in Joomla!

Thursday, February 9th, 2012

Here’s a short article on making a simple module to include on your Joomla! pages that displays login / logout links. I’m a Joomla! newbie so there might be better ways to accomplish this. I was helping a friend-client to accomplish redirection to the same page after logout. Here’s the basic code that you need […]

Leverage Browser Caching

Saturday, January 7th, 2012

In the previous post I wrote about enabling compression for your pages so that they would load faster to the visitor. Today I’m going to write about how you can make use of browser caching to save some bandwidth. Some people told me that their ISP or hosting provider requested that they upgrade the hosting […]

Let Apache Compress Your Website

Saturday, December 24th, 2011

Website speed is one of the most important factor to make people like to visit more. In 2008, I wrote Compressing WordPress Output and this is done by adding one line to index.php The problem with that approach is that when you upgrade WordPress you have to manually add the line into index.php, and the […]

Sparrow and Shortmail

Friday, December 9th, 2011

I’ve been pushing the limits of my mid-2010 13″ MacBook Pro lately, running all sort of applications and leaving them running. There has been occasions where the machine will freeze while it struggles to schedule the CPU time to all of the applications. I use a lot of email, and by a lot I don’t […]

Compiling flip on Mac OS X

Saturday, July 23rd, 2011

I was looking for a simple utility that will work like dos2unix tool on Linux to convert endlines from DOS to UNIX. I was scraping some contents from a server running .NET and those ugly ^M characters appeared in vim. I found this https://ccrma.stanford.edu/~craig/utility/flip/, downloaded the PPC binary and used it happily for a while. […]