This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def insertionSort(ar): | |
for q in range(1,len(ar)): | |
for i in range(q): | |
if(ar[q] < ar[i]): | |
temp=ar[q] | |
ar[q]=ar[i] | |
ar[i]=temp | |
for x in ar: | |
print x, | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Program to find the type of operating system 32bit or 64 bit | |
#include<stdio.h> | |
void findit(char s[]) // Function which accepts array of characters(String) | |
{ | |
int a=sizeof(s); // Finding the size of s[] which is a pointer | |
if(a==4) // checking whether a is 4byte | |
printf(" 32bit system\n"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Program for Printing first N terms of Fibonacci series using for loop (without taking input from user) | |
* Code by Vivek R (vividvilla) - Contact me at - http://vivek.techiestuffs.com | |
*/ | |
public class FibonacciFor { | |
public static void main(String[] args) | |
{ | |
int n=10,first=0,second=1,next,i; | |
System.out.println("Printing first "+n+" numbers in Fibonacci Series \n"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Java Program to print first N terms of Fibonacci series using Recursive function (without taking input from user) | |
* Code by Vivek R (vividvilla) - Contact me at - http://vivek.techiestuffs.com | |
*/ | |
public class FibonacciRecursive | |
{ | |
public static void main(String[] args) | |
{ | |
int n=10,i,j=0; | |
System.out.println("Printing first "+n+" numbers in Fibonacci Series \n"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Register Topads widget area */ | |
genesis_register_sidebar( array( | |
'id' => 'topads', | |
'name' => __( 'topads', 'custom-theme' ), | |
'description' => __( 'Here you can place 720*90 Ad', 'custom-theme' ), | |
) ); | |
/** Add topads widget after the primary menu */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Code written by Anand K | |
contact me at [email protected] */ | |
module ring_count(q,clk,clr); | |
input clk,clr; | |
output [3:0]q; | |
reg [3:0]q; | |
always @(posedge clk) | |
if(clr==1) | |
q<=4′b1000; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const int LED = 9; | |
int i = 0; | |
void setup() | |
{ | |
pinMode(LED, OUTPUT); | |
} | |
void loop() | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://blogsearch.google.com/ping/RPC2 | |
http://1470.net/api/ping | |
http://api.feedster.com/ping | |
http://api.moreover.com/RPC2 | |
http://api.moreover.com/ping | |
http://api.my.yahoo.com/RPC2 | |
http://api.my.yahoo.com/rss/ping | |
http://bblog.com/ping.php | |
http://blog.goo.ne.jp/XMLRPC | |
http://blogdb.jp/xmlrpc |
NewerOlder