Skip to content

Instantly share code, notes, and snippets.

View sjehutch's full-sized avatar

scott hutchinson sjehutch

View GitHub Profile
This file has been truncated, but you can view the full file.
Date/Time: 2016-07-20 16:25:09 -0500
OS Version: Mac OS X 10.12 (Build 16A239j)
Architecture: x86_64
Report Version: 24
Data Source: Stackshots
Command: COPsync911
Path: /Applications/COPsync911.app/Contents/MacOS/COPsync911
Version: 1.0 (1)
Parent: launchd [1]
This file has been truncated, but you can view the full file.
Date/Time: 2016-07-22 11:06:06 -0500
OS Version: Mac OS X 10.12 (Build 16A239j)
Architecture: x86_64
Report Version: 24
Data Source: Stackshots
Command: COPsync911
Path: /private/var/folders/*/COPsync911.app/Contents/MacOS/COPsync911
Version: 1.0 (1)
Parent: launchd [1]
This file has been truncated, but you can view the full file.
Date/Time: 2016-07-27 14:47:32 -0500
OS Version: Mac OS X 10.12 (Build 16A239j)
Architecture: x86_64
Report Version: 24
Data Source: Stackshots
Command: COPsync911
Path: /private/var/folders/*/COPsync911.app/Contents/MacOS/COPsync911
Version: 1.0 (1)
Parent: launchd [1]
Process: COPsync911 [87465]
Path: /Users/USER/Library/Developer/Xcode/DerivedData/COPsync911-botmenjvdmkfjteyzdncvqgkfgrz/Build/Products/Debug/COPsync911.app/Contents/MacOS/COPsync911
Identifier: com.qualesce.copsync-osx
Version: 1.0 (1)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: COPsync911 [87465]
User ID: 504
Date/Time: 2016-11-15 10:23:44.151 -0600
https://internal-qa.dataonix.com/V2_0_0/devices/bbd3e1bd-2299-4328-a16a-2cf23d2d839c
response
{
"$type": "Dataonix.ServicesPlatform.Internal.V2_0_0.Dto.Device.DeviceResponseDto, Dataonix.ServicesPlatform.Internal",
"AudibleAlert": false,
"Description": "scott test 2001001",
"Name": "turd",
@sjehutch
sjehutch / jwt.php
Last active December 20, 2016 16:38
jwt-sample-php
// Using JWT from PHP requires you to first either install the JWT PEAR package from
// http://pear.php.net/pepr/pepr-proposal-show.php?id=688 or get the JWT project
// from https://github.com/firebase/php-jwt on GitHub.
// mobile app initializes zendesk sdk and passes NS user id to zendesk
// NS api webhook would be below (assuming php)
<?php
include_once "Authentication/JWT.php";
// Log your user in.
$key = "{my zendesk shared key}";
// Using JWT from PHP requires you to first either install the JWT PEAR package from
// http://pear.php.net/pepr/pepr-proposal-show.php?id=688 or get the JWT project
// from https://github.com/firebase/php-jwt on GitHub.
// mobile app initializes zendesk sdk and passes NS user id to zendesk
// NS api webhook would be below (assuming php)
<?php
include_once "Authentication/JWT.php";
// Log your user in.
$key = "{my zendesk shared key}";
package com.provagroup.provaserver.wamp.legit;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.io.File;
import java.io.FileOutputStream;
import java.net.URL;
package com.provagroup.wamp.client;
import java.io.File;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.provagroup.provaserver.wamp.ServerResponseMessage;
package com.provagroup.provaserver.wamp;
public interface WampApiFieldKeys {
// Paging
public static final String P_OFFSET = "off";
public static final String P_BLOCK_REQ = "blk";
public static final String P_MAX_RETURN = "max";
// Requests