
Search In
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
Brute Force Attack
A Brute-force attack is a technique(Procedure or Method) for obtaining or finding-out information by trying every key combination in an effort to find an unknown value and to try a large number of possible values by using an autom
EXISTS simply tests whether the inner query returns any row. If it does, then the outer query proceeds.
If not, the outer query does not execute, and the entire SQL statement returns nothing.
The general syntax for the Exist stateme
IPv6 - Address Types & Formats
Hexadecimal Number System
Before introducing IPv6 Address format, we shall look into Hexadecimal Number System. Hexadecimal is a positional number system that uses base of 16.
&n
How to display a powerset using the following code? what is the mistake and where? why the output is not getting displayed? What to do to display the output?
def power_set(items):
N = len(items)
# enumerate the 2 ** N possible combi
Hii,
Below I have written a script for get the time duration of a MP3 file-
For this first you need to download the getID3, You can download form http://getid3.sourceforge.net/ OR https://github.com/JamesHeinrich/getID3/ .
After downloading the lib
Making a group by query in traditional database like MySQL,MySQL etc in quite easy but when its come to NoSQL like MongoDb we have to twist it a bit to get result we want :
There are two ways in which you can do group by in MongoDb :
a) Using group
This event will be fired when user enter an input. This event is mostly used with the input and textareat elements. This event is similar to onchange event. But there is a bit difference between them, oninput event will fired after the value of a ele
In the below example code I have created blur background image function. In activity_main.xml layout I have added a Button and ImageView.
Now see programming area, here I have used Bitmap class. When a user clicks on button background image wi
Some time we need to pass a tabular form data to our database.
one option is to using loop in Datatable and on every iteration we have to make a Database call.
But this approach is not too good and also it's a time taking and decrease our application
