Monthly Archives: December 2013

Every time we write code with FileInputStream, BufferReader  etc. we need to close those resource explicitly in finally block. Now from Java 7, there are two interfaces included Closeable and AutoCloseable with single abstract method close(),  which enables implementing class to close resources aromatically after try block. Lets see how it works. Conventional way of… Read Article →

From Java 7 Binary type also joins the category of literal with byte, short, int and long. Which means a binary value can be assigned  by using 0b or 0B  prefix to a  primitive type. What is a Literal :  A literal is source code representation of source code. Which can be directly assigned to any primitive type…. Read Article →

Session is amongst the most important part in creating asp.net applications. It is a variable where you can put data between page requests when the pages are either posting or redirecting to each other. It can contain small amount of data containing string, complex arrays or numbers. In Asp.net the copy of session variable is… Read Article →

I have already given the introduction to CSS and advantages.Now, there are few ways to use your custom CSS in your site/blog/wordpress. Using style tag with HTML elements. Using Style element inside HTML page Linking external CSS file in your pages Importing CSS file inside another CSS file 1. Using Style tag in HTML element:… Read Article →

CSS stands for Cascading Style Sheet which is used to style HTML elements. While loading any webpage browser simply create DOM of requested web page and renders the HTML. CSS is basically a better way of managing HTML attributes style of any element. To add style we simply use Style attribute to add color, effect,… Read Article →

Arduino, the world famous opensource electronic prototyping platform is undoubtedly the best series of boards used by makers & Engineers. However, the official Arduino IDE which is used to load the arduino sketch is bit clumsy. I never really liked Arduino IDE, so after searching a lot, I came to know about ‘Stino’, the plugin… Read Article →

Sublime Text Editor is one of the best cross-platform editor out there for editing source code. It is capable of syntax highlighting for wide range of file extensions like Python, C, C++, Java, HTML, JS, PHP, LaTeX & even Arduino. Sublime Text Editor is not opensource & not an free editor, but in last update… Read Article →

Most of the applications are available in the official repository of your Linux distribution. However, there are times when some of the applications you’re installing haven’t been updated in the repository & you want to get the latest version of that application.Learning how to install application from the source code comes handy during this time…. Read Article →

Welcome to your second tutorial on the C language. In this tutorial, we’ll be discussing about variables, their applications, their necessity both in general terms of programming and for C language as well. Variables in C are really very important. These are the fundamentals and you need to understand how variables in C are used… Read Article →

init.d is the sub-directory of /etc directory in Linux file system. init.d basically contains the bunch of start/stop scripts which are used to control (start,stop,reload,restart) the daemon while the system is running or during boot. If you look at /etc/init.d then you will notice all the scripts for different services of your system. The scripts… Read Article →

Scroll To Top