What is a side effect in JavaScript?
A side effect is any application state change that is observable outside the called function other than its return value. For example modifying any external...
A side effect is any application state change that is observable outside the called function other than its return value. For example modifying any external...
Dependency Injection is a pattern where instead of creating or requiring dependencies directly inside a module, we pass them as paramaeters or reference.
Component composition is where a more “specific” component renders a more “generic” one and configures it with props.
Bundle Produced from a number of distinct modules, bundles contain the final versions of source files that have already undergone the loading and compilatio...
React JS , provides ReactDOMServer object which enables to render components to static markup. Typically, it’s used on a Node server.
Minimal amount of changes in actual code Webpack compiler can understand modules written as ES2015 modules, CommonJS or AMD. Existing code using define() fun...
Webpack is module bundler for modern JavaScript applications.
“CSS in JS” refers to ideas on modularizing CSS , so it helps in maintaing large and medium scale applications easier.
An object is a collection of properties. A property is a associate between a name and a value.
An array is an ordered list of values that you refer to with a name and an index. JavaScript does not have a explicity array data type. JavaScript provides p...
CORS is a mechanism that use additional HTTP headers to tell browser to give web application running at one origin access to selected resources from a diffe...
ECMAScript2015(ES6) introduced four new collections Map, Set, WeakMap and WeakSet.
JavaScript Iterators were added in ECMAScript 2015(ES6). It allows JavaScript objects to specify how custom objects can be used in for...of loops. For a obje...
Generator functions , allow you to define a function whose execution is not continuous. Generator functions are written using the function* syntax.
React Default Props values ensure that the prop will have a value if it was not specified by the parent component.
React PropTypes help with typechecking on the props for a component. When a invalid value is provided for a prop,a warning will be shown in the JavaScript co...
async functions and await are part of ECMAScript 2017(ES8). These features basically act as syntactic sugar on top of promises. They make asynchronous code l...
JavaScript classes were introduced in ECMAScript 2015(ES6). They are primarily syntactical sugar over JavaScript’s existing prototype based inheritance.
What’s the difference between == and === ?
Angular JS
Much of what makes application development difficult is tracking mutation and maintaining state. Immutability means that once you call that data structure in...
The Web Workers specification defines an API for spawning background scripts in your web application. Web Workers allow you to do things like fire up long-ru...
The CSS Object Model is a set of APIs allowing the manipulation of CSS from JavaScript. It is much like the DOM, but for the CSS rather than the HTML. It all...
The Document Object Model (DOM) is the data representation of the objects that comprise the structure and content of a document on the web.
React Hot Loader is a plugin that allows React components to be live reloaded without the loss of state. Basically DOM is re-rendered on each save without do...
Hooks let you use more of React’s features without classes. Hooks embrace functions, but without sacrificing the practical spirit of React.
Two-way data-binding is a mechanism that synchronizes data in a bidirectional way. Two-way binding is a pattern that connects a data model to the UI.
A throttle is a cousin of the debounce, and they both improve the performance of web applications.
Flux is the application architecture that Facebook uses for building client-side web applications. It complements React’s composable view components by utili...
In HTML, form elements such as input, textarea, and select typically maintain their own state and update it based on user input. In React, mutable state is t...
Design patterns are important to write maintainable and reusable code. A pattern is a reusable solution that can be applied to commonly occurring problems in...
The bubble sort makes multiple passes through a list. It compares adjacent items and exchanges those that are out of order. Each pass through the list places...
An IIFE or Immediately Invoked Function Expression is a function that is gonna get invoked or executed after its creation or declaration. The syntax for crea...
Hoisting is a JavaScript mechanism where variables and function declarations are moved to the top of their scope before code execution.
A common need is to execute two or more asynchronous operations back to back, where each subsequent operation starts when the previous operation succeeds, wi...
AMD (Asynchronous Module Definition) The AMD module format itself is a proposal for defining modules where both the module and dependencies can be asynchron...
It converts Object to boolean. If it was falsey (e.g. 0, null, undefined, etc.), it will be false, otherwise, true.
React.PureComponent is similar to React.Component. The difference between them is that React.Component doesn’t implement shouldComponentUpdate(), but React.P...
Currying is a technique of evaluating function with multiple arguments, into sequence of function with single argument. That is, when we turn a function call...
If you have a large project with the need for flexibility and customization then Mocha is probably the choice for you. If you have a smaller project and don’...
Mocha provides developers with a base test framework, allowing you to have options as to which assertion, moking and spy libraries you want to use. Chai is o...
Yes!! We can unit test Backbone JS applications using Jest
A programming language is said to have first-class functions if it supports passing functions as arguments to other functions, returning them as the values f...
Debounce function returns a function that as long as it continues to be invoked, will not be triggered. The function will be called after it stops being cal...
“Universal JavaScript” is used to describe JavaScript code that “can execute on the client and the server”.
Functions that operate on other functions, either by taking them as arguments or by returing them, are called higher order functions.
NODE_ENV is an environment variable made popular by the Express.js framework. It is specifically used to state whethere a particular environment is productio...
In Node.js, you can retrieve environment variables by key from process.env object.
Declarative programming is more like what you do, or something. Imperative programming is like how you dome something. Declartive programming can be context-...
Factories are simply functions that create objects. You can use factories instead of classes, and factories are simpler than classes and easier to reason abo...
Destructuring assignment allows you to assign the properties of an array or object to variables using syntax that looks similar to array or object literals. ...
The rest parameter syntax allows us to represent an indefinite number of arguments as an array. If you prefix a parameter name with the rest operator (…), th...
ES6 is the first time JavaScript has built in modules.
npm-shrinkwrap command locks down the versions of a package’s dependencies so that you can control exactly which versions of each dependency will be used whe...
The spread syntax allows an expression to be expanded in places where multiple arguments (for function calls) or multiple elements (for array literals) or mu...
If React components render() function renders the same result given the same props and state , you can use PureComponent for a performance boost.
The term duck typing comes from the saying “If it looks like a duck, swims like a duck, and quacks like a duck, then it probably is a duck”.
A promise is an object that may produce a single value some time in the future: either a resolved value, or a reason that it’s not resolved. A promise may be...
Closures are function which ‘remember’ the environment in which they were created. A closure is a combination of a function and the lexical environment withi...
ECMAScript 2015 or commonly called as ES6 specification of JavaScript introduced let and const
Arrow functions are a more concise syntax for writing function expressions. They were introduced in ECMAScript 2015 (ES6). They are also called as lambda fun...
Props Props are read only. Whether a component is defined as a function or a class, it must never modify its own props. All react component must act like pur...
Store
The simplest way to define a component is to write a JavaScript function. The function accepts a single “props” object and returns a React element. Such comp...
A pure function is a function which:
JavaScript code runs single threaded. Javascript has a concurrency model based on an event loop. The event loop is in the heart of Node.js / Javascript - it...
The same-origin policy restricts how a document or script loaded from one origin can interact with a resource from another origin.
undeclared variables don’t even exist undefined variables exist, but don’t have anything assigned to them null variables exist and have null assigned ...
Javascript auto converts any value used in Boolean context (example an if condition) to either true or false. This way of implicitly converting a type is c...
Explained below are some of the different ways of creating Objects in JavaScript.
Each JavaScript object has a private property which holds a link to another object called its prototype. That prototype object has a prototype of its own, an...
A constructor in JavaScript is a function that is called with the “new” operator.
Difference is scope is function based and context is object based.
Data types JavaScript has six primitive data types, undefined - A variable that has not been assigned a value is of type undefined. null - A special keywo...
In JavaScript, binding is always explicit, and can be easily lost, so a method using “this” will not refer to the proper object in all situations, unless yo...
JavaScript event delegation is a simple technique by which you add a single event handler to a parent element in order to avoid having to add event handlers ...
Public The members of an object are all public members. There are two ways for putting members in a new object. In Constructor function Container(param) {...
Function declaration function name([param[, param[, ... param]]]) { statements } Example function sum(a, b) { return a + b; } name - The function ...
Arguments In every JavaScript function a private variable argument is automatically created, holding array of the arguments passed to the function. Prototy...
*JavaScript is a prototype-based language which contains no class statement. Instead JavaScript uses functions as classes. Defining a class is as easy as def...
A closure is a special kind of object that combines two things: a function, and the environment in which that function was created. The environment consists ...
Module Pattern - It stays out of the global namespace, provides publicly addressable API methods, and supports protected or “private” data and methods along ...
To create a HTML link which does nothing when user clicks it, use like below
Requirement Reference For loop variable i in setTimeout function Wrong way for(var i = 1 ; i <= 10; i++) { console.log('i in for :: ' + i); ...
== Equals>If the two operands are not of the same type, JavaScript converts the operands then applies strict comparison.
I was looking if there was a way to stop an already running AJAX request, like we can stop an http request using browser stop button. Yes there is a way to...
I was looking if there was any standards for writing Javascript API documentation and if there is a tool to parse and generate the document.
http://api.jquery.com/serialize/
If you have a requirement to just do a single field validation, instead of calling the form validate method which will validate all the fields, then you have...
Possible reasons for JSONP success method not getting called*In jQuery.getJSON method check if you are adding the
Error: $.validator.methods[method] is undefined
I was using 500 - Internal Server Error for validation errors, but problem was the application error handler caught this and shows generic error page, which...
Refer this Stack overflow post for the solution
If you are looking for a jQuery tooltip plugin to use for your project, http://craigsworks.com/projects/qtip/ is the right one for you.
You can user browser native function JSON.stringify to do this
If you pass html content in the template variables, you have to use format to make sure that the html content gets converted into real html elements.
Here is a Stack overflow post with javascript regex solution for this problem.
See this A List Apart post - Clickable Region Fix - about this
This happens when the script code is not correct , or if the script code is a JSON string then the string may not be well formed.
I could not select Dom elements with ID having dot character in them. Quick google search gave me this Stack overflow post, which solved my problem.
http://jscrollpane.kelvinluck.com/
I am using this plugin in my current project, and its pretty good. The API usage is simple and the output is what we need.
This page neatly explains about “this” keyword
While building Mashup or building Portals this may be a common development problem. There are 2 ways to solve this 1) Through JSON 2) Through iframe hack - ...
Common requirement in any web application development is to show data in Grid / Tabular format.
jQuery Form plugin provides AJAX form upload capabilities . Since XMLHttpRequest does not support upload , the plugin does it neatly using hidden iframe
http://jsbeautifier.org/
Monorepo, is a single repository which contains more than one logical project like a web application and its iOS application.
"Design Challenge - Remix Jetpack Girl" by ScratchEdTeam is licensed under CC BY 2.0
Design patterns are important to write maintainable and reusable code. A pattern is a reusable solution that can be applied to commonly occurring problems in...
A programming language is said to have first-class functions if it supports passing functions as arguments to other functions, returning them as the values f...
.bash_profile is executed for login shells, while .bashrc is executed for interactive non-login shells.
To delete the local branch use: $ git branch -d branch_name
Git commit squash allows to take a series of commits and squash them down into a single commit with the interactive rebasing tool.
Semantic commit message is a commit message format which helps to write better commit message.
A software regression is a software bug which makes a feature to stop functioning as intended after a certain event, for example a system upgrade, system pa...
Declarative programming is more like what you do, or something. Imperative programming is like how you dome something. Declartive programming can be context-...
Big O notation is used in computer science to describe the the performance or complexity of an algorithm. Big O specifically describes the the worst case sce...
Public The members of an object are all public members. There are two ways for putting members in a new object. In Constructor function Container(param) {...
Object Object is an instance of a class. All objects have a state and behavior. Class Class is the blueprint from which individual objects are created I...
*JavaScript is a prototype-based language which contains no class statement. Instead JavaScript uses functions as classes. Defining a class is as easy as def...
If you are sharing a project which would be edited both in Windows and Unix systems, then its best to set the New text file line delimiter settings for eclip...
Found this Open source code review tool http://www.reviewboard.org/screenshots/ through this Yelp Engineering blog post - http://engineeringblog.yelp.com/...
On reading about Google App Inventor for Android - http://appinventor.googlelabs.com/about/ , I thought of searching the web to find out if there are service...
I was looking if there was a way to stop an already running AJAX request, like we can stop an http request using browser stop button. Yes there is a way to...
I was looking if there was any standards for writing Javascript API documentation and if there is a tool to parse and generate the document.
http://api.jquery.com/serialize/
If you have a requirement to just do a single field validation, instead of calling the form validate method which will validate all the fields, then you have...
Possible reasons for JSONP success method not getting called*In jQuery.getJSON method check if you are adding the
Error: $.validator.methods[method] is undefined
Refer this Stack overflow post for the solution
If you are looking for a jQuery tooltip plugin to use for your project, http://craigsworks.com/projects/qtip/ is the right one for you.
This happens when the script code is not correct , or if the script code is a JSON string then the string may not be well formed.
I could not select Dom elements with ID having dot character in them. Quick google search gave me this Stack overflow post, which solved my problem.
http://jscrollpane.kelvinluck.com/
I am using this plugin in my current project, and its pretty good. The API usage is simple and the output is what we need.
While building Mashup or building Portals this may be a common development problem. There are 2 ways to solve this 1) Through JSON 2) Through iframe hack - ...
Common requirement in any web application development is to show data in Grid / Tabular format.
jQuery Form plugin provides AJAX form upload capabilities . Since XMLHttpRequest does not support upload , the plugin does it neatly using hidden iframe
If you want to support Back buttons for Ajax or want to give bookmark links for Ajax content, I suggest using jQuery Address plugin
Starship is a minimal, fast, and highly customizable shell prompt written in Rust. It works the same way across Bash, Zsh, Fish, PowerShell, and more, so you...
The Windows Subsystem for Linux lets developers run a GNU/Linux environment – including most command-line tools, utilities, and applications – directly on Wi...
EC2 private key file has extension .pem , which cannot be used by PuTTY. So we have to convert .pem to .ppk format which PuTTY accepts. Listing the steps be...
Solution 1: NoMachine
*Make sure you have Wine installed http://www.winehq.org/download/ubuntu
While running Wubi.exe got from Ubuntu 8.04.4 LTS (Hardy Heron) download page http://releases.ubuntu.com/8.04/,
Got this error while upgrading from Ubuntu 10.10 to 11.04>The disc drive for / is not ready yet or not present. Continue to wait, press S to skip or M for...
*Go to “HP Linux Imaging and Printing” project in SourceForge.net http://sourceforge.net/projects/hplip/
I wanted to use Kindle For PC in Ubuntu 10.10 Maverick Meerkat using “Wine”, but got the below error while running install .exe
To convert Convert PDF to Image and from Image to PDF, follow the below steps,*Install ImageMagick - https://help.ubuntu.com/community/ImageMagick
Yesterday while installing Ubuntu 10.10 (Maverick Meerkat) Desktop Edition 32 bit, I faced an error like below -
I was using PuTTY at a screen resolution of 1600x1200, in which the default font setting caused the text too small to read. So I changed the font to 12px s...
Install xmbc standalone scripts sudo apt-get install xbmc-standalone
This was question for which I could not find answer in XBMC documentation/wiki. So thought this might be useful for someone who wants do the same thing. ...
Recently I discovered that my local public library was offering books to download and read in ebook format. Thought to try it out, because ebooks were better...
React JS , provides ReactDOMServer object which enables to render components to static markup. Typically, it’s used on a Node server.
Webpack is module bundler for modern JavaScript applications.
“CSS in JS” refers to ideas on modularizing CSS , so it helps in maintaing large and medium scale applications easier.
React Default Props values ensure that the prop will have a value if it was not specified by the parent component.
React PropTypes help with typechecking on the props for a component. When a invalid value is provided for a prop,a warning will be shown in the JavaScript co...
React Native is a JavaScript framework for writing real, natively rendering mobile applications for iOS and Android. It’s based on React, Facebook’s JavaScri...
React Hot Loader is a plugin that allows React components to be live reloaded without the loss of state. Basically DOM is re-rendered on each save without do...
Hooks let you use more of React’s features without classes. Hooks embrace functions, but without sacrificing the practical spirit of React.
In HTML, form elements such as input, textarea, and select typically maintain their own state and update it based on user input. In React, mutable state is t...
If React components render() function renders the same result given the same props and state , you can use PureComponent for a performance boost.
Props Props are read only. Whether a component is defined as a function or a class, it must never modify its own props. All react component must act like pur...
The simplest way to define a component is to write a JavaScript function. The function accepts a single “props” object and returns a React element. Such comp...
Monorepo, is a single repository which contains more than one logical project like a web application and its iOS application.
To delete the local branch use: $ git branch -d branch_name
References https://github.com/blog/2019-how-to-undo-almost-anything-with-git
Git commit squash allows to take a series of commits and squash them down into a single commit with the interactive rebasing tool.
Git blame helps in viewing the line by line revision history for an entire file.
Below are The seven rules of a great Git commit message.
If you are sharing a project which would be edited both in Windows and Unix systems, then its best to set the New text file line delimiter settings for eclip...
To checkout a single file using Git GUI, go to the Tools menu and add the following command
The most common reason for “Git fatal: remote end hung up” is due to wrong ssh authentication or some other SSH issue.
I wanted to install Git in CentOS release 5.3, but running command
I wanted to avoid Git asking for password every time I do
A reverse proxy is a server that sits in front of web servers and forwards client request to those web servers.
CORS is a mechanism that use additional HTTP headers to tell browser to give web application running at one origin access to selected resources from a diffe...
HttpOnly is an additional flag included in Set-Cookie HTTP response header. Using the HttpOnly flag when generating a cookie helps mitigate the risk of clie...
REST stands for Representational State Transfer 5 key principles of REST are -*Give everything a ID Examples http://example.com/orders/2007/11 http://exampl...
I was using 500 - Internal Server Error for validation errors, but problem was the application error handler caught this and shows generic error page, which...
http://www.hccp.org/java-net-cookie-how-to.html
http://stackoverflow.com/questions/725998/are-there-firefox-extension-or-any-other-browser-that-allow-to-send-arbitrary-p
Today when I started my Tomcat server it was not starting, saying that port 80 was occupied. Then I downloaded this useful tool TCP View - http://technet.m...
| Apache mod_rewrite NE | noescape |
I faced an issue where the URL for example /saved/ was getting rewritten to %2Fsaved%2F, which caused the web application to give 404 error because it expect...
Does browser cache HTTPS responses? This was a question I had while doing development. Giving below my findings, Did some debugging with Firebug and Fiddle...
ECMAScript2015(ES6) introduced four new collections Map, Set, WeakMap and WeakSet.
JavaScript Iterators were added in ECMAScript 2015(ES6). It allows JavaScript objects to specify how custom objects can be used in for...of loops. For a obje...
Generator functions , allow you to define a function whose execution is not continuous. Generator functions are written using the function* syntax.
JavaScript classes were introduced in ECMAScript 2015(ES6). They are primarily syntactical sugar over JavaScript’s existing prototype based inheritance.
Destructuring assignment allows you to assign the properties of an array or object to variables using syntax that looks similar to array or object literals. ...
The rest parameter syntax allows us to represent an indefinite number of arguments as an array. If you prefix a parameter name with the rest operator (…), th...
ES6 is the first time JavaScript has built in modules.
The spread syntax allows an expression to be expanded in places where multiple arguments (for function calls) or multiple elements (for array literals) or mu...
ECMAScript 2015 or commonly called as ES6 specification of JavaScript introduced let and const
Arrow functions are a more concise syntax for writing function expressions. They were introduced in ECMAScript 2015 (ES6). They are also called as lambda fun...
"File:HolyGrail.svg" by David Lark is licensed under CC BY-SA 4.0
The browser’s viewport is the area of the window in which web content can be seen. This is often not the same size as the rendered page, in which case the br...
The Document Object Model (DOM) is the data representation of the objects that comprise the structure and content of a document on the web.
To create a HTML link which does nothing when user clicks it, use like below
Good article in the link below about this
If you need to center a div within another div, here is the solution from Stack overflow post -
See this A List Apart post - Clickable Region Fix - about this
http://www.html5rocks.com/
Found this neat graphic through this Ajaxian blog post
Objects that are equal (according to their equals()) must return the same hash code. It’s not required for different objects to return different hash codes.
A collection is a object that groups multiple elements into a single unit.
To execute an Ant target based on condition, use the “if” attribute of the target,
*Change Directory under Tomcat bin folder C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\bin
http://www.hccp.org/java-net-cookie-how-to.html
http://jadclipse.sourceforge.net/wiki/index.php/Main_Page#Download
I had a jar file which I wanted to included into classpath of maven compile so that it could compile the project source files. Quick google search landed m...
Today when I started my Tomcat server it was not starting, saying that port 80 was occupied. Then I downloaded this useful tool TCP View - http://technet.m...
Recently I read a slashdot article - http://it.slashdot.org/story/10/07/28/2121259/Oracles-Java-Company-Change-Breaks-Eclipse about Java 1.6.0_21 release cr...
“CSS in JS” refers to ideas on modularizing CSS , so it helps in maintaing large and medium scale applications easier.
"File:HolyGrail.svg" by David Lark is licensed under CC BY-SA 4.0
CSS style guides are a group of documents that outline the coding style, best practices, and visual design properties (e.g. colors, layout grid dimensions, ...
CSS frameworks provide a basic structure for designing consistent solutions to tackle common recurring issues across front end web development. They provide ...
The CSS Object Model is a set of APIs allowing the manipulation of CSS from JavaScript. It is much like the DOM, but for the CSS rather than the HTML. It all...
overflow-wrap (word-wrap) and word-break behave very similarly and can be used to solve similar problems. word-break is best used with non-English content t...
Responsive Design - Responsive websites respond to the browser size at any given point. No matter the browser width, the site adjusts its layout.
Normalize.css Preserves useful defaults rather than “unstyling” everything. Corrects some common bugs that are out of scope for reset.css. Doesn’t clu...
If you need to center a div within another div, here is the solution from Stack overflow post -
Solution 1: NoMachine
*Make sure you have Wine installed http://www.winehq.org/download/ubuntu
Got this error while upgrading from Ubuntu 10.10 to 11.04>The disc drive for / is not ready yet or not present. Continue to wait, press S to skip or M for...
*Go to “HP Linux Imaging and Printing” project in SourceForge.net http://sourceforge.net/projects/hplip/
I wanted to use Kindle For PC in Ubuntu 10.10 Maverick Meerkat using “Wine”, but got the below error while running install .exe
To convert Convert PDF to Image and from Image to PDF, follow the below steps,*Install ImageMagick - https://help.ubuntu.com/community/ImageMagick
Couple of times I wanted to use Boxee in Ubuntu 64 bit, but failed attempting it because there was no official support for it. Recently I found that they ha...
Install xmbc standalone scripts sudo apt-get install xbmc-standalone
"PI GPIO reference board on a Rasperry Pi Rev 1" by Low Voltage Labs is licensed under CC BY-SA 2.0
"Design Challenge - Remix Jetpack Girl" by ScratchEdTeam is licensed under CC BY 2.0
Essential accessories to get started with Raspberry Pi.
The Raspberry Pi is a low cost, credit-card sized computer that plugs into a computer monitor or TV, and uses a standard keyboard and mouse. It is a capable...
"Various Electronic Components" by mercadoviagens.com is licensed under CC BY 2.0
IR Remote model which I am using is “Noah Company MediaGate HA-IR01SV Windows Vista Home Premium and Windows Vista Ultimate MCE Remote Control, 1 Channel IR ...
Couple of times I wanted to use Boxee in Ubuntu 64 bit, but failed attempting it because there was no official support for it. Recently I found that they ha...
Install xmbc standalone scripts sudo apt-get install xbmc-standalone
This was question for which I could not find answer in XBMC documentation/wiki. So thought this might be useful for someone who wants do the same thing. ...
JPEG (Joint Photographic Experts Group)
If the min-width property does not work in Internet Explorer
Does browser cache HTTPS responses? This was a question I had while doing development. Giving below my findings, Did some debugging with Firebug and Fiddle...
I wanted to get a Encyclopedia CD, but thought are there any other open source alternatives. Even though I couldn’t find any alternative, I found there was ...
I had a PDF which had about 400 pages which I wanted to print with a low cost solution. I searched internet but couldn’t find any service matching my need, b...
Frequently I have faced situations where I had to print a page, but I didn’t have a printer. For example say I ordered for a camera on Frys.com, and It give...
I have had couple of occasions where I had to print more than 1 PDF file, but problem was if I sent each PDF one by one to the printer, the printer prints e...
I wanted to get a Encyclopedia CD, but thought are there any other open source alternatives. Even though I couldn’t find any alternative, I found there was ...
I had a PDF which had about 400 pages which I wanted to print with a low cost solution. I searched internet but couldn’t find any service matching my need, b...
Frequently I have faced situations where I had to print a page, but I didn’t have a printer. For example say I ordered for a camera on Frys.com, and It give...
I have had couple of occasions where I had to print more than 1 PDF file, but problem was if I sent each PDF one by one to the printer, the printer prints e...
EC2 private key file has extension .pem , which cannot be used by PuTTY. So we have to convert .pem to .ppk format which PuTTY accepts. Listing the steps be...
Pogoplug Gets Down to Business.
On reading about Google App Inventor for Android - http://appinventor.googlelabs.com/about/ , I thought of searching the web to find out if there are service...
I find the classification of NoSQL databases useful, if I am going to use a NoSQL db anytime in future I am going to look at this table.
"PI GPIO reference board on a Rasperry Pi Rev 1" by Low Voltage Labs is licensed under CC BY-SA 2.0
"Design Challenge - Remix Jetpack Girl" by ScratchEdTeam is licensed under CC BY 2.0
Essential accessories to get started with Raspberry Pi.
The Raspberry Pi is a low cost, credit-card sized computer that plugs into a computer monitor or TV, and uses a standard keyboard and mouse. It is a capable...
Cooliris gives a interface which seems more natural for viewing photos or videos instead of clicking next and previous buttons. This interface seems to be si...
For Firefox, there is this addon more details about the tool here - Memory Profiler. But this addon is not available for Firefox 3.6.3, So if you are plan...
I was using latest version of Firefox 3.6.3, but wanted to install a add on which works only on Firefox 3.5. But I didn’t want to uninstall my latest Firef...
http://www.html5rocks.com/
Found this neat graphic through this Ajaxian blog post
I wanted to know if my browser Firefox 3.6.3 supported HTML5 video. Easy solution was to try out the HTML5 video demos provided in this site HTML5video.org
To execute an Ant target based on condition, use the “if” attribute of the target,
I had a jar file which I wanted to included into classpath of maven compile so that it could compile the project source files. Quick google search landed m...
Do you get this kind of error “Hudson detected that you appear to be running more than one instance of Hudson that share the same home directory”
EC2 private key file has extension .pem , which cannot be used by PuTTY. So we have to convert .pem to .ppk format which PuTTY accepts. Listing the steps be...
Setting up an SSH tunnel with PuTTY
I was using PuTTY at a screen resolution of 1600x1200, in which the default font setting caused the text too small to read. So I changed the font to 12px s...
NODE_ENV is an environment variable made popular by the Express.js framework. It is specifically used to state whethere a particular environment is productio...
In Node.js, you can retrieve environment variables by key from process.env object.
npm-shrinkwrap command locks down the versions of a package’s dependencies so that you can control exactly which versions of each dependency will be used whe...
IE 8 Developer Tools gives a feature called Browser Modes, with which you can check how your web site works and look in IE 7 without having to install IE 7 ....
For Firefox, there is this addon more details about the tool here - Memory Profiler. But this addon is not available for Firefox 3.6.3, So if you are plan...
The Windows Subsystem for Linux lets developers run a GNU/Linux environment – including most command-line tools, utilities, and applications – directly on Wi...
My friend recently bought a Sony Vaio laptop with Windows 7 pre installed. Don’t know what he did, he called me up and said he forgot the password and couldn...
Do you get this kind of error “Hudson detected that you appear to be running more than one instance of Hudson that share the same home directory”
If you want to quickly find out the environmental variables available in your Hudson instance go to the following URL **http:///env-vars.html** or [this pa...
http://www.pbs.org/parents/photo/
Found this website http://www.epubbooks.com/genre/fairy-tales offering free ebooks, while reading this Ajaxian article - http://ajaxian.com/archives/poc-ep...
http://www.youtube.com/leanback
From what I can understand after seeing the video hosted on http://www.google.com/tv/, it’s a Google search interface for TV channels. Also there is featur...
*Make sure you have Wine installed http://www.winehq.org/download/ubuntu
I am using Pandora in PC either through Boxee or Web Browser, so I can’t comment about using it on Iphone, but why I like and why I think its increasing its ...
React Native is a JavaScript framework for writing real, natively rendering mobile applications for iOS and Android. It’s based on React, Facebook’s JavaScri...
Follow steps below to sync your Google contacts with Nokia E63 phone contacts.
C-r in Emacs multi term invokes (isearch-backward) command. To search bash command history we can use M-r instead.
To configure multi term in Emacs to allow login shell
For Firefox, there is this addon more details about the tool here - Memory Profiler. But this addon is not available for Firefox 3.6.3, So if you are plan...
Couple of times I wanted to use Boxee in Ubuntu 64 bit, but failed attempting it because there was no official support for it. Recently I found that they ha...
Tux Paint Unique feature for kids is the Coloring Book , where we can load a coloring book type image from the available library of images and then allow...
Found this cool online tool - Roomle through Lifehacker
I wanted to count the number of lines of code for java /jsp/ javascript etc files in my project. Unix word count (wc) tool could have given me the results wi...
Found this website http://www.epubbooks.com/genre/fairy-tales offering free ebooks, while reading this Ajaxian article - http://ajaxian.com/archives/poc-ep...
http://www.nrel.gov/features/20100611_ac.html#nogo A new A/C technology has been invented which will reduce energy consumption by 50 to 90% which is really a...
http://www.pixlr.com/editor/
I find the classification of NoSQL databases useful, if I am going to use a NoSQL db anytime in future I am going to look at this table.
YouTube Blog: What’s bigger than 1080p? 4K video comes to YouTube.
I am using Pandora in PC either through Boxee or Web Browser, so I can’t comment about using it on Iphone, but why I like and why I think its increasing its ...
If you pass html content in the template variables, you have to use format to make sure that the html content gets converted into real html elements.
IR Remote model which I am using is “Noah Company MediaGate HA-IR01SV Windows Vista Home Premium and Windows Vista Ultimate MCE Remote Control, 1 Channel IR ...
In JavaScript classes can be created using functions. Let’s see how.
In JavaScript classes can be created using functions. Let’s see how.
Responsive Design - Responsive websites respond to the browser size at any given point. No matter the browser width, the site adjusts its layout.
A test fixture is a fixed state of a set of objects used as a baseline for running tests. The purpose of test fixture is to ensure that there is a well known...
The bubble sort makes multiple passes through a list. It compares adjacent items and exchanges those that are out of order. Each pass through the list places...
Running Jekyll local server with Ruby 2.7.0 gives warnings as below,
Running Jekyll local server with Ruby 2.7.0 gives warnings as below,
"File:Logitech Rumblepad F510, 1.jpg" by Morn is licensed under CC BY-SA 3.0
"File:Logitech Rumblepad F510, 1.jpg" by Morn is licensed under CC BY-SA 3.0
"'Falcon' Lego Mindstorms EV3 Robot by Kyle Markland" by dluders is licensed under CC BY 2.0
"'Falcon' Lego Mindstorms EV3 Robot by Kyle Markland" by dluders is licensed under CC BY 2.0
"'Falcon' Lego Mindstorms EV3 Robot by Kyle Markland" by dluders is licensed under CC BY 2.0
async functions and await are part of ECMAScript 2017(ES8). These features basically act as syntactic sugar on top of promises. They make asynchronous code l...
Bundle Produced from a number of distinct modules, bundles contain the final versions of source files that have already undergone the loading and compilatio...
Component composition is where a more “specific” component renders a more “generic” one and configures it with props.