Skip to content
Topic

Coding

66 notes.

PERL Sep 7, 2012 1 min read

Perl: Send an E-Mail using Email::Simple and Email::Sender

Email::Simple is the first deliverable of the "Perl Email Project." The Email:: namespace was begun as a reaction against the increasing complexity and bugginess of Perl's existing email…

HTML Aug 17, 2012 1 min read

Perl: How to Upload a file using perl CGI

This is a tutorial on how to upload a file using perl CGI.

Coding Jul 25, 2012 1 min read

How to make a Div (Lightbox) appear over a Flash / Youtube embedded video

Do you have a Flash / Youtube video on your website, and have you ever tried to put a Lightbox on top of everything on your site? It…

PHP Jun 20, 2012 1 min read

WordPress: Fix – Parameter 1 to fdl_the_content() expected to be a reference – error

Today, i moved my blog to a new server. Everything was set up easily. But, when i pulled out a blog post, everything was working correctly, except that…

iOS Jun 17, 2012 1 min read

iOS: Hide/Show the Status bar in an iPhone/iPad application

Lets see how to change the visibility of the status bar in an iphone/ipad application. The UIApplication class provides a centralized point of control and coordination for applications…

iOS Jun 17, 2012 1 min read

iOS: Change the Orientation of the Status Bar

Lets see how to change the orientation of the status bar programmatically in an iphone/ipad application. There are four orientations: Portrait, PortraitUpsideDown, LandscapeLeft, LandscapeRight. The…

iOS Jun 11, 2012 1 min read

iOS: How to get App’s Version number (CFBundleVersion)

  Recently, i had to make an update to one of my apps. I was trying to figure out a way to see if all the users have…

iOS May 4, 2012 1 min read

iOS: NSNotificationCenter – broadcast information within a program

An NSNotificationCenter object (or simply, notification center) provides a mechanism for broadcasting information within a program. An NSNotificationCenter object is essentially a notification…

iOS Apr 28, 2012 1 min read

iOS: Check whether internet connection is available

Updated for 2026: this tutorial is from 2012. For a current version in SwiftUI, see SwiftUI: Check Internet Connection with NWPathMonitor. Here, i am just checking whether network…

Android Apr 19, 2012 1 min read

android.os.NetworkOnMainThreadException due to StrictMode.ThreadPolicy

StrictMode.ThreadPolicy was introduced since API Level 9 and the default thread policy had been changed since API Level 11, which in short, does not allow network operation (include HttpClient and HttpUrlConnection) get executed on UI thread. if you do this, you get NetworkOnMainThreadException.

iOS Mar 24, 2012 3 min read

iOS LOGIN Screen Tutorial with Server Authentication – JSON – PHP

This tutorial will guide you to create a simple app with a Login screen which takes username and password from the user and then posts it to a url and parses the JSON response form the server.

PERL Mar 17, 2012 1 min read

Perl: Process an array or a hash inside a Template

Process and array or a hash inside a perl template 17185335746ab7751a1bb28_000052 Enjoy coding! :)