how to split a file in chunk in IOS or Javascript

How to split a file in chunk in IOS or Javascript Uploading in HTML has always left much to be desired from developers. Uploading files which are only a few hundred kilobytes in one go is all fine and good…

Tips for beginner programming mistakes

Fear and lack of self-confidence The number one mistake you can make as a beginner programmer is to think you’re not good enough, not smart enough: that you have the wrong type of brain, and you’ll just never get it.…

Tips to avoid JavaScript Mistakes

- You’re Using Global Variables If you’re just getting started with JavaScript, you probably think it’s a great thing that all variables are global. Actually, if you’re just getting started, you might not know what that means. Global variables are…

Storing objects in IndexedDB in HTML5

Storing objects in IndexedDB in HTML5 IndexedDB has a concept of “Object Stores.” You can think of this as a typical database table.Object stores have data (obviously) but also a keypath and an optional set of indexes. Keypaths are basically…

How to Check your browser supports IndexedDB or not .

The very first thing we should do is check for IndexedDB support. While there are tools out there that provide generic ways to check for browser features, we can make this much simpler since we’re just checking for one particular…

.htaccess Tips and Tricks

.htaccess is the most useful file when you are developing PHP website and working with PHP and Apache. The directory level configuration of Apache server software is provided via .htaccess (Hypertext access) files. The htaccess rules falls in four categories…

How to color fonts using javascript

Those two parentheses denote the method and hold instructions on what should happen. For instance: <SCRIPT LANGUAGE="javascript"> document.write('<FONT COLOR=green>Green Text</FONT>') </SCRIPT> That script will produce this: Green Text See what's happening? The document is being acted upon by the method…

How to Get System Informations Using Javascript

//Application Code Name var codeName = navigator.appCodeName; //Application Name var appName = navigator.appName; //Application Version var appName = navigator.appVersion; //User Language and Language var language = getLanguage(); function getLanguage() { if (navigator.userLanguage == "string") { return(navigator.userLanguage); } else if (navigator.language…