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/env python | |
# coding: UTF-8 | |
import socket | |
import struct | |
DEBUG = True | |
DEBUG2 = False | |
PTP_OC_GetDeviceInfo = 0x1001 |
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/env python | |
# coding: UTF-8 | |
from __future__ import with_statement | |
import sys | |
import serial | |
import os.path | |
import datetime |
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
var request = require('request'); | |
var options = { | |
uri: 'http://192.168.1.1/osc/commands/execute', | |
headers: { 'Content-Type': 'application/json;charset=utf-8' }, | |
json: true, | |
keepAlive: false, | |
body: { "name": "camera.startSession" } | |
}; |
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
var request = require('request'); | |
var options = { | |
uri: 'http://192.168.1.1/osc/commands/execute', | |
headers: { 'Content-Type': 'application/json;charset=utf-8' }, | |
json: true, | |
keepAlive: false, | |
body: { "name": "camera.listImages", | |
"parameters": { | |
"entryCount": 100, |
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
var request = require('request'); | |
var fs = require('fs'); | |
if (process.argv.length < 3) { | |
console.log('node get_image.js [Filename]'); | |
console.log("\tFilename: Image Filename such as R0010010.JPG"); | |
return; | |
} | |
var file_uri = process.argv[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/env python | |
# coding: UTF-8 | |
import sys | |
import StringIO | |
############################################################################### | |
class NMEAParser: | |
# ------------------------------------------------------------------------- | |
def __init__(self): |
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/env python | |
# coding: UTF-8 | |
from PIL import Image, ImageEnhance | |
import Tkinter | |
from ScrolledText import * | |
############################################################################### | |
def draw_bitmap(canvas, rgb, max_xy, bmp_xy, start_xy, mask): |
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/env python | |
# coding: UTF-8 | |
# Arduboy HEX File Manager | |
import Tkinter | |
from ScrolledText import * | |
from PIL import Image, ImageEnhance, ImageTk |
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
var request = require('request'); | |
var fs = require('fs'); | |
function postMessages(body, callback) | |
{ | |
var options = { | |
uri: 'http://esp_irkit.local/messages', | |
method: 'POST', | |
headers: { 'Content-Type': 'application/json', | |
'Content-Length': body.length }, |
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
{"format":"raw","freq":38,"data":[3394,5190,1778,1600,1806,3632,1756,1598,1806,1554,1754,3684,1744,1608,1752,3684,1754,3674,1754,107540,5272,5224,1756,1546,1762,3674,1752,1602,1762,1598,1762,3674,1756,1596,1764,3684,1744,3674,1806,107496,5228,5268,1704,1604,1756,3674,1806,1546,1764,1600,1806,3630,1756,1598,1806,3630,1756,3674,1754,107550,5220,5198,1782,1598,1762,3674,1754,1598,1810,1554,1756,3680,1756,1598,1762,3674,1754,3674,1808,107496,5222,5276,1702,1598,1764,3674,1754,1598,1764,1598,1764,3674,1752,1602,1806,3630,1754,3674,1752,107550,5222,5276,1692,1608,1756,3674,1806,1554,1756,1598,1762,3674,1756,1598,1762,3674,1754,3674,1756]} |
OlderNewer