Author Archives: LZH

Backup of outlook data file

Doing backup of your personal files are very critical. That would include backup-ing your outlook pst/ost file. In this post, I would teach you how to automatically create a backup of the pst/ost. A good idea would be to backup … Continue reading

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

Detecting OS and Redirect to a specify site

There will be some instance where we need to redirect user to different site based on their platform. As such the following javascript will do the job to which OS the user is on. In this case, Android, iOS, and … Continue reading

Posted in Web Development | Tagged , , , , , , , | Leave a comment

Flask: Hello World

Originally posted on techtutorialsx:
The objective of this post is to explain how to create a simple “Hello world” application with Python and Flask. Introduction Flask is a web micro framework for Python [1] which allows us to create and…

Posted in Uncategorized | 2 Comments

Backup Digital Ocean VPS to image

While Digital Ocean does provide backup service, it would also be advisable that we have a local backup of our VPS. You could do the following It might take a while to load the entire depending on how huge your … Continue reading

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

Deploying WAR file to Tomcat

In this post, I will continue to go thru the steps required to deploy a WAR file to the raspberry pi. And yes, it will works for other linux based system. To deploy the WAR file, simply copy the WAR … Continue reading

Posted in apache tomcat, Raspberry Pi | Tagged , , , , | Leave a comment

Backup a img of Raspbian for Raspberry Pi

We cannot deny that it is important to always backup your data. It is even much more important to backup your entire Raspberry Pi SD card after going thru so much to setting up all the configuration which you never … Continue reading

Posted in Raspberry Pi | Tagged , , , , , , | Leave a comment

Tomcat: redirecting traffic from port 8080 to 80 using iptables

Originally posted on Glass Onion Blog:
First verify that Tomcat is running on port 8080. Run the following command # netstat -ntl The output will look something like Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address               Foreign Address            …

Posted in Uncategorized | Leave a comment