Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Getting a Youtube video thumbnail using youtube Api

You can use YouTube video related information using YouTube API, using this API you can retrieve details such as video thumbnails, caption, description, statistics and more. You just need to obtain the YouTube key and create a videos: list request:

How to increase or decrease dates in the given dates

Hello Reader's if you have the current date and you want to get some past dates or future dates then here you can see it. PHP offers you to use inbuilt function strtotime. Lets see how you can adjust the dates with this. Here you will get the next d

How to get Tree structure for array in php

Hello reader's I have created a conversion format that can convert array in tree structure. In this code i use while loop but you can either use the recursive also. So here is the function as below:- function treeze( &$a, $parent_key, $children_

How to select first child of an element

In some cases we need to add or remove an attribute to an element and we have only his parent ID then we can get the child element by using parent ID. For example I have a UL element which have many <li> and each <li> has an anchor tag.

Executing a parameterised bat file in C#

In one of my recent projects, I had to execute a bat file which was expecting one argument before execution. Content of bat file was like this : "%~dp0phantomjs.exe" "%~dp0..\examples\rasterize.js" "%1" "%~dp0twingle.jpg" If you Analise the above

How to create a custom two-dimensional Array in javascript

Hello friends, Most of time we need to create 2-D array in javascript but javascript does not provide direct syntax of multidimensional array . But we can create custom two-dimensional array in javascript. For Example : var myarray=new Array(3) for

How to append elements to an array?

There are methods to add elements to the array using push method and concat method. The array push method adds element at the end of an array and returns its new length. *Syntax :- array.push(item1, item2, ..., itemX) Below is the example code :

How to add default navigation drawer activity to all the activities in android studio

Firstscreen is where naviagtiondarwer is created and in that screen there is a button as "rate card" after clicking on that button new screen opens that is new-Bid as in image Actionlbar is not having navigation drawer this is what i m not able to d

How to swap two variables in one line in python?

Python program to swap two variables in single line in python Python program to swap two variables in single line a = 5 b = 10 a, b = a, b print "Swapped values of a and b are", a, b Output Swapped values of a and b are 10 5 Explanation: Py

Can someone help me annotate this code, I don't fully understand it

This was the only piece of code that I could find to clear all the radio buttons in my form but I don't know how to explain it. I've only been learning basic C# and can't find a clear explanation for the code or how it works. public IEnumerable<C

1 113 720
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: