Browsing articles in "How To"
Dec
14
2011

Netbeans Shortcut ( Part II )

netbeans-shorcut

Continuing on my series of stones on Netbeans, I bring on the second part of the shortcuts in Netbeans. This post will primarily deal with the various coding shortcuts NetBeans has to offer along with a few editor code templates. So without any further ado let’s begin. Move/copy up/down. Press Ctrl-Shift-Up and the current selection are copied to the lines right above the current selection. Press Alt instead of Ctrl and it is moved instead [...]

Dec
11
2011

Add Facebook Comment Box in Blogspot Blogs (Blogger)

comment box facebook

Facebook social plugin enables users to comment on your Blogspot blog using their Facebook credentials. Visitors don’t need to provide any additional identification (name, email, website) nor need to log in everytime. Here I have listed few pros and cons of the Facebook Comment Box, which will help you decide whether or not to replace your old comment system with the Facebook Social Plugin. Pros: Comments made can be posted on your wall and eventually [...]

Dec
9
2011

NetBeans Shortcuts ( Part I )

netbeans-shorcut

 Coding for the best of us is a long tedious and frustrating process. Yes at times it can be all exhilarating when we get stuff right but there are moments when we feel like throwing our laptop through the window. An IDE or an Integrated Development Environment makes coding a whole lot easier and yes prevents the guy down on the street from getting hit by a laptop. NetBeans is a powerful IDE and is [...]

Aug
3
2011

10 Tips to Make Your C Program Effective

programming

The beauty of any code lies not only in finding the solution to a given problem but is in its simplicity, effectiveness, compactness and efficiency( memory ). Designing the code is harder than actually implementing it. Hence every programmer should keep a couple of basic things in mind while programming in C. Here we introduce you to such 10 ways of standardizing your C code. 1. Avoid unwarranted function calls Consider the following two functions: [...]

Jun
26
2011

PHP Form: Validation and Security

php-programming

This article is the continuation of our PHP Form Tutorial Series. If you are not yet familiar with our previous stones, it is highly recommended you go through them first: Inserting, Retrieving and Security. The scripts that you saw in our previous stones were solely for introduction purposes only; we highly discourage using those scripts in any live application. Now, in this article, we introduce validation of form data including security and filtering. Download File [...]

Jun
25
2011

A Simple Backup Shell Script

shell-scripts

This article contains a simple shell script which on execution will back up your linux system. If you are not familiar with Backup or Restore, I highly recommend you go through our previous stones on Backup your Linux System, Restore your Backups and Tips on Backup and Restore. Since, the entire posts on Backup was based on GNU tar, the following script will be using tar utility to backup. You might be wondering why to [...]

Jun
18
2011

PHP Forms: Form Security

php-scripting

In my last two php posts, I showed you how to insert and retrieve values from the database. In the scripts done in those stones, we have not used any kind of security and those scripts were only meant to learn those topics. In this stone I will try and teach you how to secure our form from various attacks like XSS, SQL injection etc. Before diving into the code, I would like to talk about [...]

Pages:1234»