How to clean Rails Sessions?
By default rails does not clear out stale sessions from the session store. If Depending on the configuration session can be stored in the local file system or the database.Method 1: (Applies to File...
View ArticleWebsite Niche Selection
Finding the right Nicheis one of important elements to look at carefully. The following guide will help you figure it out.
View ArticleUnderstanding RSS Feed in Plain English
RSS -Rich Site SyndicationA very simple and clear explanation in layman terms what is RSS.
View ArticleHow to disable secure and non secure warning message in IE 6?
IE6 has been outdated and not much supported, however still its in use a lot of places. One of common issues that we see is annoying warning "This page contains both secure and non secure items. Do you...
View ArticleWhat is difference between RGB and CMYK?
RGB vs. CMYKComputer or Web graphics use the RGB color mode. RGB stands for Red, Green and Blue. These colors combine to make the colors displayed on a computer monitor.CMYK stands for Cyan, Magenta,...
View ArticleWhat is WebP?
AnswerWebP is a new image format like JPG, PNG etc. developed by Google. Currently one of the main reason for slowness for web page loading is due to fact there are lot of images on the page and the...
View ArticleWhat is SPDY?
AnswerSPDY is a new web protocol developed by Google that will help to browse the Web faster (even 50%). It's pronounced as "speedy". It is not meant to replace HTTP, but to augment HTTP. The new...
View ArticleWha is Google Swiffy?
Swiffy is an experimental tool launched by Google in its Labs. It allows developers to convert Flash (SWF) files to HTML5. That means you can reuse Flash content on devices without a Flash Player, even...
View ArticleHow to create RSS Feed for a website not having RSS Feed?
Some websites even till date don't provide an RSS as either they are not actively working on it or are a legacy website and don't know or provide the option, some Free services are available like...
View ArticleHow do create multi select checkboxes in HTML?
Let's say you have html form where in you can accept multiple values for a same field and the GUI has to be presented as a series of checkboxes the user can check/uncheck.This is done by using the...
View ArticleWhat is image slicing?
Most of the websites are designed in photo editing software such as Photoshop then are 'sliced'. Slicing is the process of cutting up the image into smaller logical images. Normally these tools don't...
View ArticleWarning: mysql_connect(): [2002] No such file or directory
IssueWarning: mysql_connect(): [2002] No such file or directory (trying to connect via unix:///var/mysql/mysql.sock) in /Users/Mvohra/Sites/projects/webservices/apps/functions.php on line 8Warning:...
View ArticleWarning: mysql_connect(): [2002] No such file or directory
IssueWarning: mysql_connect(): [2002] No such file or directory (trying to connect via unix:///var/mysql/mysql.sock) in /Users/Mvohra/Sites/projects/webservices/apps/functions.php on line 8Warning:...
View ArticleHow to repair table marked as crashed in MySQL?
MySQL is a very common choice for webmasters and is pretty good and stable database. At times if the database is not shutdown cleanly (due to machine reboot etc.) it can leave the database in an...
View ArticleHow to make a straight line in Pixelmator?
SolutionTo make a straight line:1. Select the Brush Tool (B).2. Click on the canvas where you want to start drawing the line.3. Hold Shift and click at the point where you want to end the line, or if...
View ArticleUnderstanding Google PageRank Factors
Every now and then webmasters ask how can I increase my PageRank? The reason they ask is because the more the PageRank, the more are the chances for your content/page to get included higher in the...
View ArticleRuby Cheat Sheet
Ruby is a wonderful language for general purpose scripting and serious web development as well. Developers who want to learn Ruby or already know Ruby can benefit from this cheat sheet that I had...
View ArticleHow to create nosiy captcha using RMagick?
require'Rmagick' class NoisyImage include Magick attr_reader :code, :code_image Jiggle = 15 Wobble = 15 def initialize(len) chars = ('a'..'z').to_a-['a','e','i','o','u']...
View ArticleHow to create 2D Canvas in HTML5 using Javascript?
SnippetThe following snippet shows how to create a div called as canvas (can be any name) and then in javascript we get the handle to canvas by calling document.getElementById method. Finally we get...
View Article