Posts

Disable right click script and Google Instant Map Search

<!DOCTYPE html created my solomon  > <html>     <head>         <meta name="viewport" content="initial-scale=1.0, user-scalable=no"/>         <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>         <title>Google Instant Map Search | spixup- demo </title>         <style type="text/css">             #map_canvas{                 height: 400px;                 width: 500px;                 margin: 5px auto;             }      </style>     </head>     <body> <SCRIPT TYPE="text/javascript"> //-------------Disable right click script ------------ //visit http://www.rainbow.arch.scr...

How to enable .htaccess in wamp server

Image
How to enable .htaccess in wamp server In this article,I will explain how  to enable  . htaccess  in wamp server. 1 .  Open wamp_server   (Go to  Wamp  -> Right click at icon in the taskbar=>  Apache =>  httpd.conf ) 2.Edit httpd.conf file. 3 . Just remove the # sign before the  LoadModule  rewrite_module modules/mod_rewrite.so  4 .  Save  the file .Mod Rewriting is enabled. 5.Restart the Server (Go to  Wamp  -> Right click at icon in the taskbar=>  Restart All services ) 6 . Now Create new file. Copy and paste the following code in it. Options +FollowSymLinks RewriteEngine On 7 .Save it as  .htaccess  in the root directory. 8 .Done. We have successfully enabled .htaccess in Wamp server.

Web Scraping Amazon with PHP

This snippet of PHP code demonstrates web scraping. It reads a sample page from Amazon.com, compares the HTML text against certain class name and outputs that matched text in an RSS feed.  <?php  $now   = date("D, d M Y H:i:s T"); $ASIN  = $url = $img = $title = $bio = $name = ""; $head = '<?xml version="1.0" encoding="ISO-8859-1"?>'; $head .= '<rss version="2.0">'; $head .= '<channel>'; $head .= '<title>Amazon </title>'; $head .= '<link>http://www.amazon.com</link>'; $head .= '<description>Amazon RSS Feed</description>'; $url = "http://www.amazon.com/Best-Sellers-Kindle-Store/zgbs/digital-text/"; $text = file_get_html($url); foreach ($text->find("div.zg_item_compact") as $class) {   foreach ($class->find('strong.price') as $price) {     if ($price->plaintext == "Free...

jQuery dynamic number ticker

This is a fascinating little script that helps you display a dynamic JSON feed of numbers that automatically updates on the page by animating up or down to the current number. A great addition as part of a realtime analytical dashboard. read more Click Here

jQuery Spectragram – An Instagram API jQuery plugin

Spectragram.js  is a jQuery plugin using the Instagram API to fetch and display user, popular or tags photo feeds inside a list or any container you define and display the results as list items or any other HTML tag you define. You can also define the size of the pictures (small, medium, large). Read More Click Here

BUSTING THAT CREATIVE SLUMP YOU’RE IN

BUSTING THAT CREATIVE SLUMP YOU’RE IN Read More  Link1   LEARNING PRINCIPLES FOR IMPROVING YOUR CSS Read More  Link2

jQuery Open Responsive Panel

Open Panel OpenPanel is a jQuery plugin that allows you to open panel at any where in your page, unlimited panels as you want and support for responsive design. With this small plugin you can open more space for your site to add anything you want. Features: Open Panels Anywhere in Your Sites. Unlimited Panels Support Responsive Design. Inline Content for SEO Purpose. Support Ajax Content. Four Directions Slide and Fade Effects. More Details  click here