Home

in

Livrona- Software Development made simple. Thanks to my readers for their support and interest!

Latest Posts

1

What do Programmers Feel About their Software?

http://www.natpryce.com

Tomcat Source Code AnalyzerWhat do programmers feel about their software? Are they happy with they system? Disgusted? Saddened?

Read more »
By administrator Created 23 hours 29 min ago – Made popular 23 hours 29 min ago
Category: Humour   Tags: ()
1

How To Create Your Own Stats Program (JavaScript, AJAX, PHP)

http://www.noupe.com

Stats ToolWhen creating a website, one main goal is to attract visitors. Traffic generation is a necessity for monetary purposes, showing off your work, or just expressing your thoughts. There are many ways to create traffic for your website. Search engines, social bookmarking, and word of mouth are just a few examples. But how do you know whether this traffic is genuine? How do you know if your visitors are coming back for a second time?..

Read more »
By administrator Created 1 day 22 hours ago – Made popular 1 day 22 hours ago
Category: Web   Tags: ()
1

Why Jailbreak? Top 5 Reasons to jailbreak iPhone

http://www.simonblog.com

Iphone JailBreak

In brief, jailbreak your iphone means you are allowed to install 3rd party applications on iPhone. This applies to all version of firmware. And, for unlocking iPhone, it refers to the process to open up your iPhone to accept all carriers. Unlocked iPhone allows you to use SIM card from all carriers. You are no longer bind to the official carrier (e.g. AT&T) approved by Apple.

Read more »
By administrator Created 1 day 22 hours ago – Made popular 1 day 22 hours ago
Category: Tip & Tricks   Tags: ()
1

20 Open Source Php Developement Frameworks

http://www.webdesignbooth.com

Open Source FrameworkPHP is a widely used programming language for web development. Although there are a lot of alternative programming languages for web development such as ASP and Ruby, but PHP is still the most popular among them.

So, what makes PHP so popular?

Read more »
By administrator Created 1 day 22 hours ago – Made popular 1 day 22 hours ago
Category: Web   Tags: ()
1

20 Promising Open Source Php CMS

http://www.webdesignbooth.com

Open Source CMSContent Management System, or CMS is an application used to manage news easily so that users can publish, edit and delete articles from the back-end admin system. HTML and other scripting language are not necessary to operate a CMS, though having them will add more advantages.

Read more »
By administrator Created 1 day 22 hours ago – Made popular 1 day 22 hours ago
Category: Web   Tags: ()

Runtime Jar File Loader

ClassLoaderNormally all the classes we need to run a java program are packaged in the jar files.
These jars are added to the classpath by the JVM which loaded them as required. What if we want these jars to be added at runtime instead of startup?
 
This snippet shows how the load class at Runtime by adding the jar path into using

Executing Shell Command

Execute Shell Command JavaThis snippets demonstrates how to execute shell command (navtive to OS) and captures its output as if it was running from the command line. Once the command is executed, it waits for it, and captures any output produced by the command and dumps it to the screen.
 
Remember this piece of code has to be executed from a Unix/Linux shell, or cygwin or dos shell in order for this to work.

Classpath Property Loader

Classpath loader
 Loading  properties is easy as long as you know the path to the properties file. This can be issue 
at times when you either don't know the exact location of the file or it can change based on
 environment. In this case loading such file using the classpath loader turns out to handy.  

Get StackTrace as String

Java StackTrace

Its easy to print the stack trace using e.printStackTrace() where e is instance of an Exception/Throwable.  This prints the trace to the Standard Error stream. But how about if you want to have the stacktrace stored in file or database or want to search as text. This snippets shows how to get the stack trace as String.

How to create nonexistent directories recursively ?

Recursive Directory Create

The following snippet checks if a given directory exists or not. If it does not it, then creates it. It also creates any non existent directories in the path. The magic is performed by the java.io.File mkdirs() method.

Back to top