Skip to content

Instantly share code, notes, and snippets.

Richard Grundy grundyoso

Block or report user

Report or block grundyoso

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
grundyoso / PyroPalma.ino
Created Jul 29, 2019
Arduino sketch for LightBlue Bean for PyroPalma project
View PyroPalma.ino
#define PYRORLY 5
#define PYROBTN 13
void setup() {
digitalWrite(PYRORLY, HIGH);
View nissan pass.json
"formatVersion" : 1,
"passTypeIdentifier" : "",
"serialNumber" : "8j23fm3",
"webServiceURL" : "",
"authenticationToken" : "vxwxd7J8AlNNFPS8k0a0FfUFtq0ewzFdc",
"teamIdentifier" : "Q338UYGFZ8",
"barcode" : {
"message" : "123456789",
"format" : "PKBarcodeFormatPDF417",
View gist:67e0f199cc70c74dd06095e984b92902
pi@SmartBasket:~/pn-cli-dont-share $ grep -nsHR pass-ninja .
./pn.js:35326:eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.awsResourcesDev = { region: 'us-east-1',\n stackName: 'pass-ninja-web-dev',\n UserPool: 'us-east-1_IKX2BYIbL',\n ApiGatewayRestApi: '59ddsai502',\n DemoPassBucket: 'pass-ninja-web-dev-us-east-1-demo-passes-bucket',\n UserPoolClient: '31rageklk93ge7k82e4it9jmp4',\n IdentityPool: 'us-east-1:99a31351-e839-4cb5-87d1-6da385cb3779',\n iotOwnThingsPolicy: 'pass-ninja-web-dev-us-east-1-cognitos-own',\n iotThingsOwnPolicy: 'pass-ninja-web-dev-us-east-1-things-own' };\n\n\n//# sourceURL=webpack://commonjs/./src/config/aws-resources-dev.ts?");
./pn.js:35338:eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.awsResourcesTest = { region: 'us-east-1',\n stackName: 'pass-ninja-web-test',\n UserPool: 'us-east-1_A1YVKkzgz',\n ApiGatewayRestApi: 'v9b4qnu6c7',\n DemoPassBucket: 'pass-ninja-web-test-us-east-1
View readme.txt
Hi, welcome to the Passninja coding challenge. This challenge is meant to give us an understanding of your capabilities using the technologies we use to build our applications. The subject matter (bitcoin) is unrelated to what we do on a daily basis, so don't worry if you don't have a deep understanding of it (you won't need it beyond this challenge).
The Challenge
We're going to be building a Node.JS API endpoint that creates a bitcoin wallet, writing tests and deploying it on AWS lambda.
We'll also have a front end portion that uses the lambda endpoint to create a wallet that will be deployed/uploaded to S3.
View PassNinja REST API structure
curl '' -v \
-H 'accept-encoding: gzip, deflate, br' \
-H 'accept-language: en-US,en;q=0.9' \
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36' \
-H 'content-type: application/json' \
-H 'accept: application/json, text/plain, */*' \
-H 'referer:' \
-H 'authority:' \
--data-binary \
'{"googlePass": \
View PassNinja REST API call
curl '' -v \
-H 'origin:' \
-H 'accept-encoding: gzip, deflate, br' \
-H 'accept-language: en-US,en;q=0.9' \
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36' \
-H 'content-type: application/json' \
-H 'accept: application/json, text/plain, */*' \
-H 'referer:' \
-H 'authority:' \
--data-binary '{"googlePass":{"kind":"walletobjects#loyaltyObject","id":"3175895186863635130.PassNinjaDemoLoyaltyClass.TODO","classId":"3175895186863635130.PassNinjaDemoLoyaltyClass","version":"1","state":"active","hasUsers":false,"smartTapRedemptionValue":"3175895186863635130.PassNinjaDemoLoyaltyClass.TODO","classReference":{"kind":"walletobjects#loyaltyClass","id":"3175895186863635130.PassNinjaDemoLoyaltyClass","version":"1","issuerName":"Ninja Fashionista","messages":[{"kind":"walletobjects#wall
View gist:b0d1d7d9f9e4523621972b5adcc0bd03
2018-04-23 19:31:49.709414-0400 Test[3883:1686522] ::centralManagerDidUpdateState supports 5
2018-04-23 19:31:49.709608-0400 Test[3883:1686522] CBCentralManagerStatePoweredOn
2018-04-23 19:31:49.824330-0400 Test[3883:1686522] ::discovered peripheral [TV] UN40J5500 DEC070ED-D838-3874-5045-7720DBB5AC91
2018-04-23 19:31:49.828085-0400 Test[3883:1686522] ::discovered peripheral (null) EBE95E9E-2424-CDB9-B755-D7133E0D3C3E
2018-04-23 19:31:49.839243-0400 Test[3883:1686522] ::discovered peripheral (null) 48170FA4-5A18-B7AF-C1AD-CF510EC9EF97
2018-04-23 19:31:49.847880-0400 Test[3883:1686522] ::discovered peripheral Grundyoso 6ABC677F-0DD6-C6BC-6E51-2D0A5C992FAA
2018-04-23 19:31:50.624800-0400 Test[3883:1686522] ::discovered peripheral Bose AE2 SoundLink 4E6F485F-B6CE-5F7D-8B0F-BB176F66F9F9
2018-04-23 19:31:51.369745-0400 Test[3883:1686522] ::discovered peripheral Lockitron Bridge 788742AA-971B-304D-A712-0D766CBEEACC
2018-04-23 19:31:52.492112-0400 Test[3883:1686522] ::discovered peripheral 958e76ea 72313212-82C7-6094
View gist:5668b846e02722b9246754557de38ff4
Name: Luke Martin
Subject: ACR122U | NFC Contactless Smart Card Reader
What's on your mind?: Hi,
Note: my correct email is but your form is not allowing it to be entered.
We have developed a standalone kiosk for a retail client, including an app that we have developed which provides services to the retailers customers (such as checking their account). The app is iOS; and the kiosk is running an iPad managed via an MDM platform.
grundyoso / logcat
Created Jul 5, 2017
Fresh launch of SmartCart app with hardcoded IP address... detects price tags... I enter admin view and click GET WIFI CREDS and GET SW VERSION
View logcat
07-05 17:36:54.847 22443-22443/? E/Zygote: v2
07-05 17:36:54.847 22443-22443/? I/libpersona: KNOX_SDCARD checking this for 10239
07-05 17:36:54.847 22443-22443/? I/libpersona: KNOX_SDCARD not a persona
07-05 17:36:54.848 22443-22443/? E/Zygote: accessInfo : 0
07-05 17:36:54.853 22443-22443/? W/SELinux: SELinux selinux_android_compute_policy_index : Policy Index[1], Con:u:r:zygote:s0 SPD:SEPF_SECMOBILE_7.0_0006 RAM:SEPF_SECMOBILE_7.0_0005, [-1 -1 0 1 0 1]
07-05 17:36:54.853 22443-22443/? I/SELinux: SELinux: seapp_context_lookup: seinfo=untrusted, level=s0:c512,c768, pkgname=com.flomio.smartcart
07-05 17:36:54.856 22443-22443/? I/art: Late-enabling -Xcheck:jni
07-05 17:36:54.869 22443-22443/? D/TimaKeyStoreProvider: TimaSignature is unavailable
07-05 17:36:54.869 22443-22443/? D/ActivityThread: Added TimaKeyStore provider
07-05 17:36:54.985 22443-22443/com.flomio.smartcart W/System: ClassLoader referenced unknown path: /data/app/com.flomio.smartcart-1/lib/arm64
View gist:fbc89f5421a9ed99491427156c65f071
"use strict";
/* -------------------------------- REQUIRES -------------------------------- */
Object.defineProperty(exports, "__esModule", { value: true });
const crypto = require("crypto");
const util = require("util");
const bleno = require("bleno");
const fs = require('fs');
const childProcess = require('child_process')
You can’t perform that action at this time.