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
var jsonToken ="PUT HERE YOUR JSONP Token"; | |
var tokenUrl = "https://api.mashape.com/requestToken?jsonptoken="+jsonToken; |
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
var pointsArray = new Array( new Array("San Francisco","37.75","-122.5"), | |
new Array("Monterey Peninsula","36.593849","-121.8341182"), | |
new Array("San Jose","37.3394444","-121.8938889"), | |
new Array("Silicon Valley","37.37","-122.04") ); |
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
var currentLocation; | |
var currentLatitude; | |
var currentLongitude; | |
/* Default map provider. You can select Bing,Facebook,Foursquare,Google,Ovi,Openstreetmap */ | |
var provider="Google"; | |
var textFromDatabase=""; | |
var goNext=0; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Localstreamer Wrapper of Static Image Maps - Api Demo by Orfeo Morello</title> | |
<style> | |
*{ | |
margin:0; | |
padding:0; | |
} |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head> | |
<title> www.localstreamer.com - Twitter trend cities example </title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script> | |
<script type="text/javascript"> | |
function startme(){ | |
$.ajax({ | |
url: 'http://api.twitter.com/1/trends/available.json', |
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
<script type="text/javascript"> | |
var your_url = 'http://www.example.com'; | |
</script> | |
<script type="text/javascript" src="jquery.min.js" ></script> | |
<script type="text/javascript"> | |
// jquery.xdomainajax.js ------ from padolsey | |
jQuery.ajax = (function(_ajax){ |
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
var connect = require('connect'); | |
var http = require('http'); | |
var app = connect(); | |
var compression = require('compression') | |
app.use(compression()) | |
var static = require('serve-static'); | |
app.use(static(__dirname + "/httpdocs")); |
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
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
xmlns:components="http://schemas.android.com/apk/res-auto" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:paddingLeft="@dimen/activity_horizontal_margin" | |
android:paddingRight="@dimen/activity_horizontal_margin" | |
android:paddingTop="@dimen/activity_vertical_margin" | |
android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity"> |
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
package com.sample; | |
import android.app.Activity; | |
import android.os.Bundle; | |
import com.beardedhen.androidbootstrap.TypefaceProvider; | |
public class MainActivity extends Activity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); |
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
<?php | |
/* | |
Plugin Name: Simplify Post Edit List | |
Description: Show only the author's posts in the edit list | |
Version: 0.1 | |
License: GPL | |
Author: Sarah Gooding | |
*/ | |
function mypo_parse_query_useronly( $wp_query ) { |
OlderNewer