Category Archives: Uncategorized

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

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

Configuring App Transport Security Exceptions in iOS 9 and OSX 10.11

Originally posted on Steven Peterson:
What is App Transport Security (ATS)? At WWDC 2015, Apple announced “App Transport Security” for iOS 9 and OSX 10.11 El Capitan. The “What’s New in iOS” guide for iOS 9 explains: App Transport Security…

Posted in Uncategorized | Leave a comment

Mass download of files via wget

A couple of days ago Eric Ligman, Microsoft Director of Sales Excellence had posted on the give away of free Microsoft eBooks. The list of eBook for give away is indeed long and in this post, I will be teaching … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

facebook Hackathon Finals 2015

The annual facebook hackathon finals 2015 was held was at facebook HQ at Menlo Park. I was privileged to be invited after winning the local hackathon in Singapore. We had created Pensieve during the final hack. Our hack is an attempt … Continue reading

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

Measuring bat script execution time

There are times when we need to measure the performance of a bat script. While CMD has been able to do it, it was really a hassle to do it as there are lots of variables to declare and etc. … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment