Uploading files with Ajax using FormData Objects
HTML5 has One of the enhancements to XMLHttpRequest is the introduction of the FormData object. With the FormData object, you can create and send a set of key/value pairs and, optionally, files using...
View ArticleIntroduction to Node.js
What is Node.js? Node.js is an event-based, asynchronous I/O framework that uses Google’s V8 JavaScript Engine. Node.js — or just Node, as it’s commonly called — is used for developing applications...
View Articleexpressjs
Introduction to expressjs Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications. Installing expressjs First, create...
View ArticleMake Your HTML text Unselectable using CSS
In some cases we need to user unselect text from our website. Here is simple CSS trick. .unselectableText { -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -o-user-select:...
View ArticleGeolocation of visitors in Javascript with HTML 5
An interesting feature of HTML 5 that lets you geotag your visitors without Javascript additional library directly through the W3C specifications .This feature is pretty well integrated into most...
View ArticleZip and Unzip Linux Commands
The following examples illustrate typical uses of the command zip ,unzip To zip a single file $ zip myfile.zip myfile.txt To create a zip archive of several files: $ zip myfiles.zip file1.txt...
View ArticlephpThumb to create image thumbnails
Yii phpThumb to create image thumbnails phpThumb is a simple and lightweight library operates on the popular graphic formats GD was founded on the engine. Ideal for creating thumbnails of photos in...
View ArticleAndroid Delete Folder Recursively
Here is a small snippet that is helpful for delete a folder on external SD-card of device. Remember you need to add a use permission in manifesto file of application. uses-permission...
View Articleandroid get available memory stats
Here is a basic device utility class that list out all device storage info. Available internal memory size. Total internal memory size. Available external memory size. Total external memory size....
View ArticleHow to rename a file on SdCard on Android
How to rename a file on Sd-card for android Here is a small helper function to re-name a file in our file manipulation class for android . Which i have used in my code. It may helps others as well. To...
View Article
More Pages to Explore .....