Skip to content

Instantly share code, notes, and snippets.

Charles Korn charleskorn

Block or report user

Report or block charleskorn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am charleskorn on github.
  • I am charleskorn (https://keybase.io/charleskorn) on keybase.
  • I have a public key ASAfndyLfZAm1N2jWK0HC9P1e190CH681E0akTU8HRyo5Qo

To claim this, I am signing this object:

@charleskorn
charleskorn / sample.cpp
Created Jul 14, 2016
HTTP sample for Particle
View sample.cpp
String requestBody = constructRequestBody(time, values);
byte server[] = {10, 242, 127, 30};
TCPClient client;
if (client.connect(server, 8000))
{
Serial.println("Connected.");
@charleskorn
charleskorn / superagent.js
Last active Nov 4, 2019 — forked from pherris/superagent.js
A Jest mock for superagent. Place in your __mocks__ directory.
View superagent.js
'use strict';
var mockDelay;
var mockError;
var mockResponse = {
status: function () {
return 200;
},
ok: true,
get: jest.genMockFunction(),
You can’t perform that action at this time.