This file contains 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
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | |
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js"></script> | |
<script> | |
if (!window.jQuery) { | |
document.write('<script src="js/jquery-1.11.1.min.js"><\/script>'); | |
} | |
if(!window.angular) { | |
document.write('<script src="js/angular.min.js"><\/script>'); | |
} |
This file contains 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
// Intercepting HTTP calls with AngularJS. | |
angular.module('MyApp', []) | |
.config(function ($provide, $httpProvider) { | |
// Intercept http calls. | |
$provide.factory('MyHttpInterceptor', function ($q) { | |
return { | |
// On request success | |
request: function (config) { | |
// console.log(config); // Contains the data about the request before it is sent. |
This file contains 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
[ | |
{ | |
"bookmarks":24, | |
"views":47561, | |
"link":"/community/businessobjects-design-studio/blog/2014/05/29/design-studio-1213-sdk--design-studio-utility-pack", | |
"likes":28, | |
"title":"Design Studio 1.2/1.3 SDK - Design Studio Utility Pack" | |
}, | |
{ | |
"bookmarks":3, |
This file contains 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 |
This file contains 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 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 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 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"); |
OlderNewer