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
<!-- Change the color of map pin clusters in the IDX Broker Map page or widgets Simply change the rgba values --> | |
<!-- CSS is unsupported by IDX Broker. DO NOT contact IDX Broker for support on any of this CSS --> | |
.marker-cluster div {background-color: #1e73be !Important;} | |
.marker-cluster-medium {color: #ffffff !Important;} | |
.marker-cluster-medium span {color: #ffffff !Important;} | |
.leaflet-marker-icon.marker-cluster.marker-cluster-small.leaflet-zoom-animated.leaflet-clickable {color: #ffffff !Important;} | |
.marker-cluster-medium { | |
background-color: rgba(252, 252, 252, 0.6) !Important; | |
} |
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
.leaflet-marker-icon.leaflet-zoom-animated.leaflet-clickable { padding: 16px 16px 0px 0px; | |
background: url('yourimage.jpg'); | |
background-size:auto; width:0px !Important; height: 0px !Important; background-repeat:no-repeat } |
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 will pull agent ID from bio page url and auto append to cookie lead to that agent | |
var local = location.href; | |
var pathArray = window.location.pathname.split( '/' ); | |
var append = '?agentHeaderID='; | |
var appendID = pathArray[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
<!-- auto suggest kb articles --> | |
<div class="message_suggest" id="form_suggest_web"> | |
<div class="autosuggest right-side hide"></div> | |
<div id="common" class="right-side"> | |
<h2 class="muted">Common Questions</h2> | |
<ul class="unstyled"> | |
<li><em>Start typing your question in the form, and you'll see knowledge base results here.</em></li> | |
</ul> | |
</div> |
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
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | |
</head> | |
<body> | |
<style> | |
a.form-link { | |
display: block; | |
box-sizing: border-box; |
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
<?php | |
$subdomain = 'your-sitename'; | |
$req_url = 'https://'.$subdomain.'.desk.com/oauth/request_token'; | |
$authurl = 'https://'.$subdomain.'.desk.com/oauth/authorize'; | |
$acc_url = 'https://'.$subdomain.'.desk.com/oauth/access_token'; | |
$api_url = 'https://'.$subdomain.'.desk.com/api/v2'; | |
// SET YOUR CALLBACK URL | |
$callback = 'http://localhost:3000/auth/desk/callback'; | |
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
<!--- | |
@author : Karanraj | |
@Description : A Visualforce page to demonstrate the functionality of Remote Objects | |
--> | |
<apex:page showHeader="false" standardStylesheets="false"> | |
<!-- Boostrap and jQuery file --> | |
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" /> | |
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css" /> |
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
{ | |
"type": "FeatureCollection", | |
"features": [ | |
{ | |
"type": "Feature", | |
"geometry": { | |
"type": "Point", | |
"coordinates": [ | |
-73.995962, | |
40.705329 |
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
import urllib2 | |
urllib2.urlopen("http://example.com/").read() |
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
[ | |
{ | |
"id": "216", | |
"firstName": "Bruce", | |
"lastName": "Wayne", | |
"email": "bats@test.com", | |
"email2": "", | |
"phone": "555-bat-phone", | |
"address": "Wayne Manor", | |
"city": "Gotham", |
OlderNewer