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
$ curl --data-binary @l.xml https://www.salesforce.com/services/Soap/u/27.0 -v | |
* Trying 96.43.144.26... | |
* TCP_NODELAY set | |
* Connected to www.salesforce.com (96.43.144.26) port 443 (#0) | |
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 | |
* Server certificate: www.salesforce.com | |
* Server certificate: DigiCert SHA2 Secure Server CA | |
* Server certificate: DigiCert Global Root CA | |
> POST /services/Soap/u/27.0 HTTP/1.1 | |
> Host: www.salesforce.com |
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
#include <ESP8266WiFi.h> | |
////////////////////// | |
// WiFi Definitions // | |
////////////////////// | |
const char WiFiName[] = "<network>"; | |
const char WiFiPwd[] = "<password>"; | |
/////////////////////////// | |
// LED Light Controller // |
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
#include <ESP8266WiFi.h> | |
////////////////////// | |
// WiFi Definitions // | |
////////////////////// | |
const char WiFiName[] = "<a network>"; | |
const char WiFiPwd[] = "<a password>"; | |
/////////////////////////// | |
// LED Light Controller // |
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
package main | |
import ( | |
"bytes" | |
"flag" | |
"fmt" | |
"log" | |
"os" | |
"sync" | |
"time" |
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
Process: Fitbit Connect Menubar Helper [3804] | |
Path: /Applications/Fitbit Connect.app/Contents/MacOS/Fitbit Connect Menubar Helper.app/Contents/MacOS/Fitbit Connect Menubar Helper | |
Identifier: com.fitbit.GalileoMenubar | |
Version: 2.0.1.6761 (2.0.1.6761) | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: Fitbit Connect Menubar Helper [3804] | |
User ID: 501 | |
Date/Time: 2016-10-15 15:26:02.723 -0700 |
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
package main | |
import ( | |
"fmt" | |
"io" | |
"net" | |
"os" | |
"path/filepath" | |
"strconv" | |
"time" |
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
Account a1 = new Account(name = 'woop'); | |
Account a2 = new Account(name = 'woop'); | |
Account a3 = (Account)JSON.deserialize('{"name" : "woop"}', Account.class); | |
Account a4 = (Account)JSON.deserialize(JSON.serialize(a1), Account.class); | |
System.debug( a1 == a2 ); // true | |
System.debug( a1 === a2); // false | |
System.debug( a3 == a1 ); // true | |
System.debug( a4 == a1 ); // false but should be true | |
System.debug( a3 == a4 ); // false but should be true |
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
// | |
// Generated by JSON2Apex http://json2apex.herokuapp.com/ | |
// | |
public class JSON2Apex { | |
public class TagDimensions_Z { | |
public Pro Pro; | |
} |
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 class Data { | |
public Boolean installed; | |
public String id; | |
} | |
public class Paging { | |
public String next; | |
} | |
public class Root { |
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
String j = '{ "bob": "bobby" }'; | |
Map<String, String> b = (Map<String,String>) JSON.deserialize(j, Map<String,String>.class); | |
System.debug(b); |
NewerOlder