How to get video id from a Youtube url in Javascript?
Snippete.g. if the youtube, video url is:http://www.youtube.com/watch?v=xptDCPlSSfI& The snippet will return xptDCPlSSfI var url = "http://www.youtube.com/watch?v=xptDCPlSSfI"; var video_id =...
View ArticleHow to configure PhpMyAdmin in Apache WebServer?
A typical configuration of PhpMyAdmin as configured in apache.conf looks like.# phpMyAdmin default Apache configurationAlias /phpmyadmin /usr/share/phpmyadmin<Directory /usr/share/phpmyadmin>...
View ArticleHow to embed Youtube Video using from flashvars using HDFlvPlayer?
SnippetThe following snippet shows the HDFlashPlayer embeding a YouTube video into HTML using the FlashVars. It assumes the the flash player is located in hdflvplayer/hdplayer.swf relative to the page...
View ArticleWhat is YUI Library?
<!--?xml version="1.0" encoding="UTF-8"?-->The YUI Library is a set of utilities and controls, written with JavaScript and CSS, for building richly interactive web applications using techniques...
View ArticleSELinux does not allow Apache to use Sendmail
SELinux is activated and configured by default. As such SELinux does not allow Apache (httpd,phpmailer) to use the sendmail function and make any sort of network connection.Using the getsebool command...
View ArticleWhat are the various HTML Entities?
HTML EntitiesHTML has some special reserved characters e.g. < , > etc. that have special meaning and thus cannot be used freely in the document. But what if we have to display an > or < in...
View ArticleHow to create a shortcut to Export images in Pixelmator?
Pixelmator is a great Photo Editing tool for Mac. However of the important function like Exporting the image to PNG, JPEG etc. is not accessible via a shortcode. This is required specially when you one...
View Article[Errno 13] Permission denied: when installing CherryPy Python Framework
Common Issuemymac:CherryPy-3.2.2 mvohra$ python setup.py installrunning installerror: can't create or remove files in install directoryThe following error occurred while trying to add or remove files...
View ArticleWhat are Micro Frameworks for Python Web Development?
What are Micro Frameworks? • Minimalist approach that helps to python websites • Examples – Bottle.py, Flask, Cherry Python, many others • Maps URL routes to Python function calls: –Request Routing...
View ArticleHow to check the version of MySQL database using Python?
#!/usr/bin/python# -*- coding: utf-8 -*- import MySQLdb as mdbimport sys con = None try: con = mdb.connect('localhost','username', 'password','dbname'); cur = con.cursor()...
View ArticleThread Dump in JSP
<%@ page language="java" import="java.util.*,java.lang.Thread.State" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%><html><head><meta...
View ArticleCoolest Things in HTML5
HTML (hypertext markup language) is very used markup language for the building the web pages. Currently we are using version 4.x of this great language. HTML 5 is the next revision of the HTML language...
View ArticleSetup URL Redirection in Apache
Let's say you have changed the location of one page to another. Since the url for the page has changed, when some other tries to reach that page via Search Engine or a Bookmark, they would get a HTTP...
View ArticleHow to proxy static content via Apache Server?
Basically the content in a website can be categorized into to categories:Dynamic content - generated by using of Web Sever/Application Server runing JSP, Servlets etc. This content is dynamically...
View ArticleApache Server Guide
This guide provides a collection of articles related to Apache Web Server.
View ArticleWhat are the advantages of Spring MVC over Struts(Original)?
When we talk about MVC frameworks Struts(original and not Struts2) is the first framework that comes to mind, not only its because has been the pioneers in this space, but its one of best frameworks...
View ArticleBefore you begin creating a website
So before you begin to create a site, let review what down the road. Please review the following topics. How to Create Website
View ArticleBasic skills needed to create a Website
Basically I assume the following about you skills and resources at you disposal to get started.<!--break--> Minimum You have a basic knowledge of computers.Have a good knowledge of written...
View ArticleWebmaster's evaluate your technical skills
Lets see where you stand here.How much technical know how do you have? Classify your self.Low - Just know basic computer, MS Word etc.Medium - Know HTML, CSS, Photo Editing, Blogs etc.High - Know...
View ArticleHow to retreive web page contents using Ruby?
This script retrieves the content of url and dumps it to the output .Example copy this script into file named : get_page.rb#!/usr/bin/rubyrequire 'net/http'host,port,url = ARGV http =...
View Article