Apr
9
2015

Setting up Laravel 5 on Digital Ocean Ubuntu Apache

digitalocean

Hello, I am assuming you already have digital ocean account and your droplet. Here are the prerequisites: Ubuntu 14.04 LAMP installed You have SSH access To check once that LAMP is installed and running, you can open the default page of the server by typing the IP address. You should see a default page from Apache. If you see it, great. Let’s get it rolling and in next 20 minutes you will be able to […]

Mar
14
2015

Subdomain on Digital Ocean Cloud in Simple Steps

digitalocean

Here are the steps to add a subdomain and get it working from a sub-folder in less than 20 minutes. Step 1: Create an ‘A’ record for the subdomain. To enable the subdomain we need to first add a subdomain host. Go to your DNS settings page and open the records where you have main domain DNS settings. Now add an ‘A’ record with subdomain in ‘Enter Name’ field (only add subdomain part. For example if […]

Jul
26
2014

How to create custom post types in WordPress

custom-post-type-wordpress-luutaa

Using custom post types in WordPress makes is a lot easier to create new type of contents. Your clients may ask for different content types like Movies, Books, Testimonials, Projects, Products, Clients, Hotels, Trips etc. A custom post type is created using register_post_type method in functions.php file. Simplest form of the custom post type implementation is:

Above code will create a custom post type Movie . Its enough to create basic version but you […]

Jun
2
2013

Flex Slider Code

Flex Slider Code

Jun
2
2013

Change color/opacity of the header when page scrolls

Script,to change the color/ opacity of header when page scrolls upward.

Mar
7
2013

US States MYSQL Dump Quick Copy

USAMap50StatesMapNames

Copy and paste MYSQL Query in phpmyadmin to generate a table and store all US state with names & abbreviations.

Feb
28
2013

Setting up Codeigniter in Subfolder

codeigniter-lg6

setting up codeigniter can be nightmare with slightest mistake in .htaccess commands. I am pasting htaccess code which works perfectly for quick reference.

Oct
26
2012

How To Create Infinite Scroll Pagination With WordPress

wordpress-must-dos

We will use WordPress’ ajax functionality to make the call for this pagination. First we prepare the basic function for our pagination, please insert the following code to theme’s functions.php

This function will be used to make the call for our pagination, basically we send two variables to this function via ajax, one is the page number and another is the file template we are going to use for our pagination. To enable this […]

Sep
4
2012

How to create a bootable Windows 7 USB ?

step4

Three things required to create a bootable Windows7 are: ISO Files. Magic Disc. Win to Flash. ISO Files: ISO file, which is also known as a disc image, has .iso file extension. It contains a copy of the entire CD/DVD from which it was extracted. It means when you burn an ISO file to a blank disc, you’ll get the same files, folders, and properties as the original disc. This can be downloaded from Torrents […]

Aug
31
2012

Generating a PDF in CodeIgniter using MPDF

ci_logo_flame

Many times we need to generate reports in our applications it may be in the form of charts, excel sheets, or PDF. I assume that you are at an intermediate level and able to generate the report in HTML form and now only facing problem to convert it into PDF format. Here we are going to Generate a report in PDF format. There are many libraries available for these purpose like FPDF, PDF etc. In […]

Pages:123»