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
[ | |
{ | |
"label": "1850's Daguerrotype", | |
"value": "Daguerrotype", | |
"filters": [ | |
"photography", | |
"digital art" | |
] | |
}, | |
{ |
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
{ | |
"@context": "http://purl.imsglobal.org/ctx/caliper/v1p1", | |
"type": "MessageEvent", | |
"actor": { | |
"id": "https://example.edu/users/554433", | |
"type": "Person" | |
}, | |
"action": "Posted", | |
"object": { | |
"id": "https://example.edu/sections/1/forums/2/topics/1/messages/2", |
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
#!/usr/bin/python | |
import os | |
import socket | |
import sys | |
def encode_packet(data): | |
output = bytearray() | |
for i in range(0, len(data)): | |
tmpoutput = bytearray([0, data[i]]) |
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
# Simple GitHub Webhook Listener | |
express = require 'express' | |
bodyParser = require 'body-parser' | |
crypto = require 'crypto' | |
bufPack = require 'bufferpack' | |
app = express() | |
PORT = process.argv[2] or process.env.PORT or 8081 | |
AUTH_SECRET = process.argv[3] or process.env.SECRET_TOKEN or 'test' |