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
# python script to take the output of a tml/export api call and | |
# extract the edoc value required for the tml/import import_objects key | |
# | |
# | |
# argv[1] tml filename | |
# argv[2] output filename | |
# | |
import json | |
import sys |
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
{ | |
"info": { | |
"_postman_id": "edc9b1b6-7b9c-4736-a05e-eb49c481e4f1", | |
"name": "ThoughtSpot", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "Login", | |
"request": { |
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
func sendSMSSurvey(opportunityId: String, surveyType: String, completion: @escaping DashDataCompletion) { | |
let data = [ | |
"To" : "4159999999", | |
"From" : "+18319999999", //twilio account number | |
"Parameters" : "{\"opportunityId\":\"\(opportunityId)\",\"surveyType\":\"\(surveyType)\"}" | |
] | |
let urlString = "https://studio.twilio.com/v1/Flows/FW98f493a6cd8c930ede81fd31f16f62e3/Executions" |
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
// | |
// | |
// | |
// Created by QUINTON WALL on 7/31/16. | |
// Copyright © 2016 Quinton Wall. All rights reserved. | |
// | |
import UIKit | |
public extension UIDevice { |
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
public with sharing class PushPriceChangeNotification { | |
@InvocableMethod(label='Push Price Change Notification') | |
public static void pushNotification(List<Id> propertyId) { | |
Id propId = propertyId[0]; // If bulk, only post first to avoid spamming | |
System.debug('Price updated on property id '+propId); | |
Property__c property = [SELECT Name, Picture__c, Price__c from Property__c WHERE Id=:propId]; | |
String message = property.Name + '. New Price: $' + property.Price__c.setScale(0).format(); | |
Set<String> userIds = new Set<String>(); |
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
// | |
// TaskRowController.swift | |
// SalesforceWatch | |
// | |
// Created by Quinton Wall on 3/23/15. | |
// Copyright (c) 2015 Salesforce, Inc. All rights reserved. | |
// | |
import Foundation | |
import WatchKit |
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
// | |
// TaskListController.swift | |
// SalesforceWatch | |
// | |
// Created by Quinton Wall on 3/23/15. | |
// Copyright (c) 2015 Salesforce, Inc. All rights reserved. | |
// | |
import Foundation | |
import WatchKit |
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
// | |
// TaskHandler.swift | |
// SalesforceWatch | |
// | |
// Created by Quinton Wall on 3/23/15. | |
// Copyright (c) 2015 Salesforce, Inc. All rights reserved. | |
// | |
import Foundation |
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
System.debug('cli rocks'); |
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> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>IIDS: Multipage Boilerplate: Page 2</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
NewerOlder