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
var _jsxFileName = "testc.js"; | |
import React from "react"; | |
export default (function () { | |
return React.createElement( | |
"div", | |
{ | |
__source: { | |
fileName: _jsxFileName, | |
lineNumber: 1 | |
} |
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
<link rel="import" href="../google-map/google-map.html"> | |
<link rel="import" href="../chart-js/chart-js.html"> | |
<link rel="import" href="../topeka-elements/category-images.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<polymer-element name="my-element"> |
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
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"> | |
<Header> | |
<SessionHeader xmlns="http://soap.sforce.com/schemas/class/EmployeeMetrics"> | |
<sessionId>SESSION_ID_HERE</sessionId> | |
</SessionHeader> | |
</Header> | |
<Body> | |
<wsMetrics xmlns="http://soap.sforce.com/schemas/class/MetricsEmployeeService"> | |
<period>LAST_N_MONTHS:600</period> | |
</wsMetrics> |
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
function(sessionId, className, methodName) { | |
var x=new XMLHttpRequest(); | |
x.onreadystatechange=function() { | |
if(x.readyState === 4) {alert('done')} | |
}; | |
x.open('POST','/services/Soap/package/' + className, true);x.setRequestHeader('SOAPAction', '');x.send('<se:Envelope xmlns:se="http://schemas.xmlsoap.org/soap/envelope/"><se:Header xmlns:sfns="http://soap.sforce.com/schemas/package/' + className + '"><sfns:SessionHeader><sessionId>' + sessionId + '</sessionId></sfns:SessionHeader></se:Header><se:Body><' + methodName + ' xmlns="http://soap.sforce.com/schemas/package/' + className + '"/></se:Body></se:Envelope>'); | |
} |
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
;; function | |
(defun sf-deploy () | |
(interactive) | |
(message "Deploying") | |
(async-shell-command (format "spm deploy --rollbackOnError -F %s" buffer-file-name)) | |
) | |
;; key binding | |
(global-set-key (kbd "M-S") 'sf-deploy) |
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
g6Rib2R5hqhkZXRhY2hlZMOpaGFzaF90eXBlCqNrZXnEIwEgVZJAh+rf9gRAg9ya2iOpGVK6PMNZdLiCd0DIrS9NgbUKp3BheWxvYWTFAuh7ImJvZHkiOnsia2V5Ijp7ImVsZGVzdF9raWQiOiIwMTAxYTIzMjJhMDQ0MzAwOTUwNWViZDZkMjlhYzY1N2VmNjgyZjQzZWNkNDgxNTkyOWE3YTRjMGRmNjhkMjBhMWVjYjBhIiwiaG9zdCI6ImtleWJhc2UuaW8iLCJraWQiOiIwMTIwNTU5MjQwODdlYWRmZjYwNDQwODNkYzlhZGEyM2E5MTk1MmJhM2NjMzU5NzRiODgyNzc0MGM4YWQyZjRkODFiNTBhIiwidWlkIjoiOGM3MWIyYjg1YTNkYjhjMWUwMDE5Nzk1MGY1ZDdiMTkiLCJ1c2VybmFtZSI6ImRuYWtvdiJ9LCJzZXJ2aWNlIjp7Im5hbWUiOiJnaXRodWIiLCJ1c2VybmFtZSI6ImRuYWtvdiJ9LCJ0eXBlIjoid2ViX3NlcnZpY2VfYmluZGluZyIsInZlcnNpb24iOjF9LCJjbGllbnQiOnsibmFtZSI6ImtleWJhc2UuaW8gZ28gY2xpZW50IiwidmVyc2lvbiI6IjEuMC4xNSJ9LCJjdGltZSI6MTQ2MjQ2NzE0NCwiZXhwaXJlX2luIjo1MDQ1NzYwMDAsIm1lcmtsZV9yb290Ijp7ImN0aW1lIjoxNDYyNDY3MDk4LCJoYXNoIjoiOWQ1NjI2ZmQ3YjI0ZjAyNjg2NjA4NjAyNjkxN2FhNTlhMDI5YjRiNDQwNjJiNTI2NjgxMmUzMDgwODcyYmY4OGFjOGI1OThiNDg3ZTdjOGY2OWJlZmQzMThiZmZkYjZlZWIxODA0NzA3YWZkODFiNDBjMTI3YWQxZDVlZmNhOTMiLCJzZXFubyI6NDU3NjM2fSwicHJldiI6ImYwMTU0M2Y3M2YwNDkxZjI2ZTNiYWRmMDhhYjEzZmIyOTJjMTYz |
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
var http = require('http'); | |
var https = require('https'); | |
var queryString = require('querystring'); | |
function checkResos(restId, body, cb) { | |
// the post options | |
var optionspost = { | |
hostname: 'www.opentable.com', | |
path: '/restaurant/profile/' + restId + '/search', | |
method: 'POST', |
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
source,target,value | |
Barry,Elvis,2 | |
Frodo,Elvis,2 | |
Frodo,Sarah,2 | |
Barry,Alice,2 | |
Elvis,Sarah,2 | |
Elvis,Alice,2 | |
Sarah,Alice,4 |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>d3.chart.sankey (product demo)</title> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<script src="https://rawgit.com/newrelic-forks/d3-plugins-sankey/master/sankey.js"></script> | |
<script src="https://rawgit.com/misoproject/d3.chart/master/d3.chart.min.js"></script> | |
<script src="https://rawgit.com/q-m/d3.chart.sankey/master/d3.chart.sankey.min.js"></script> | |
<style> |
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
{ | |
"nodes" : [ | |
{ | |
"name" : "Total", | |
"id" : "final_score" | |
}, | |
{ | |
"name" : "Ramp", | |
"id" : "ramp" | |
}, |
NewerOlder