
Search In
To export a table data from Postgres database to a CSV file, use the "COPY to" command. You can create a CSV file using MS-Excel or directly create a file from the command.
Syntax: COPY (SELECT * FROM table_name) to E'C:\Users\main\Documents\file.c
Here's how you can create short URLs using Bit.ly services
/* returns the shortened url */
function get_bitly_short_url($url,$login,$appkey,$format='txt')
{
$connectURL = 'http://api.bit.ly/v3/shorten?login='.$login.'&apiKey='.$appkey.'&a
Hello All,
The following code below will help you to create Tab Bar in phoneGap Onesen UI.
<ons-tabbar>
<ons-tabbar-item
icon="home"
label="Home"
page="FirstPage.html"
active="true"></ons-tabbar-item>
<
If you want to import large sql file to mysql via terminal, here are the steps:
First go to terminal, for Linux (UBNTU) user can go directly by pressing Ctrl-Alt-t key.
Now write down the following commands in Terminal.
mysql -u <username> -p
function.php - brain of WordPress theme
functions.php or the theme functions file is a file used by WordPress themes. It acts like a plugin and gets automatically loaded in both admin and front-end UI pages of a WordPress site. This file is used to
CountDownTimer is an abstract class available in android. This class contains two abstract method i.e. onTick(long) and onFinish().
onTick(long millisUntilFinished): Callback fired on regular interval.
onFinish() : Callback fire
Hello Readers,
Here I am mentioning steps to integrate Skype with a webpage.
Hope it will help you somewhere.
To generate code for Skype buttons, use URL
http://www.skype.com/en/features/skype-buttons/create-skype-buttons/
You will get the Skype s
This is a simple method to compare two arrays and get all the common objects from these arrays.
Take two arrays(say firstArray & secondArray)
NSMutableSet* arraySet1 = [NSMutableSet setWithArray:firstArray]; //create NSMutableSet for firstArra
With the help of javascript we can create changing clock time function. In the example given below I am using setTimeout function (changed other value) when clock refresh it will show the exact time once in every seconds.
<html>
<head>
&
If you want to make Cashiers in Point Of Sale in OpenERP(Odoo) follow the below mentioned steps:-
Step-1 Go to Point Of sale module and Click it.
Step-2 Go to Cashiers ->Cashiers
Step-3 Go to Create Button and click it.
Step-4 Click on
