Skip to content

Instantly share code, notes, and snippets.

View qdot's full-sized avatar
🦊

qDot qdot

🦊
View GitHub Profile
@qdot
qdot / buttplugschema.json
Last active May 10, 2017 03:20
Buttplug Message JSON Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Buttplug Messages",
"description": "The JSON Protocol format for the Buttplug Protocol",
"components" : {
"Id": {
"description": "User-set id for the message. 0 denotes system message and is reserved.",
"type": "integer",
"minimum": 0,
"maximum": 4294967295
@qdot
qdot / gist:a8c2d294c8c6cd546082b239d18005dc
Created April 8, 2017 22:23
msbuild Build log for noble-uwp
Microsoft (R) Build Engine version 14.0.25420.1
Copyright (C) Microsoft Corporation. All rights reserved.
c:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe /p:Configuration=Release /p:Platform=x64 /v:diag binding.vcxproj
Build started 4/8/2017 3:22:16 PM.
Environment at start of build:
aliases = C:\Users\qdot\Programs\cmder\config\user-aliases.cmd
ALLUSERSPROFILE = C:\ProgramData
ANSICON = 180x1000 (180x30)
ANSICON_DEF = 7
@qdot
qdot / gist:eb1c729b04f82f069899115f92ed6555
Last active April 8, 2017 21:03
build errors for noble-uwp
stderr:
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.0
gyp info using node@6.10.2 | win32 | x64
gyp info spawn C:\Users\qdot\.windows-build-tools\python27\python.exe
gyp info spawn args [ 'C:\\Users\\qdot\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'msvs',
navigator.bluetooth.requestDevice({filters: [{ services: ['6e400001-b5a3-f393-e0a9-e50e24dcca9e']}]}).then((device) => { d = device });
d.gatt.connect().then(server => s = server).catch(er => { console.log(er) });
s.getPrimaryService('6e400001-b5a3-f393-e0a9-e50e24dcca9e').then(service => ser = service);
ser.getCharacteristic('6e400002-b5a3-f393-e0a9-e50e24dcca9e').then(char => c = char);
c.writeValue(new TextEncoder('ASCII').encode("Vibrate:20;")).then(l => console.log("sent!")).catch(e => console.log(e));
c.writeValue(new TextEncoder('ASCII').encode("Vibrate:0;")).then(l => console.log("sent!")).catch(e => console.log(e));
@qdot
qdot / gist:fdb51762e71b45887e60bc80babda1c3
Created November 4, 2016 00:26
vibease/hush bluetooth info
* TODO Bluetooth Sex Toy Reverse Engineering
*** hcitool lescan
566962726174653a32303b
566962726174653a32303b
566962726174653a303b
Lovense
D1:74:D2:E0:64:5E LVS-Z001
*** Vibease
Vibease
5C:B6:CC:03:61:46 VIBEASE46
@qdot
qdot / gist:a82b6d1d7463540224e6f2428a54d5f7
Created June 4, 2016 04:00
Error on update message about bot being removed from a group
2016-06-03 20:56:07,834 - telegram.bot - DEBUG - Getting updates: [802131457]
2016-06-03 20:56:07,834 - telegram.bot - DEBUG - [<telegram.update.Update object at 0x7f4150dd4828>]
2016-06-03 20:56:07,834 - telegram.ext.updater - ERROR - unhandled exception
Traceback (most recent call last):
File "/home/qdot/venvs/tgbot/lib/python3.4/site-packages/telegram/ext/updater.py", line 105, in _thread_wrapper
target(*args, **kwargs)
File "/home/qdot/venvs/tgbot/lib/python3.4/site-packages/telegram/ext/updater.py", line 219, in _start_polling
network_delay=network_delay)
File "/home/qdot/venvs/tgbot/lib/python3.4/site-packages/telegram/bot.py", line 109, in decorator
result = func(self, *args, **kwargs)
_NET_DESKTOP_GEOMETRY: no such atom on any window.
_NET_DESKTOP_VIEWPORT: no such atom on any window.
_NET_NUMBER_OF_DESKTOPS: not found.
-geometry 3600x1080+0+0
@qdot
qdot / gist:6f83b7d3bd2fca9a1f6c
Created March 30, 2015 23:02
buffer local erc-hide-list
(defvar qdot/erc-status-allow-list nil
"alist of channels and the event messages to show for them.")
(setq qdot/erc-status-allow-list
'(("&bitlbee" . ("PART" "JOIN" "MODE" "NICK" "QUIT"))
("znc-bitlbee" . ("PART" "JOIN" "MODE" "NICK" "QUIT"))))
(defadvice erc-hide-current-message-p (around qdot/erc-hide-per-buffer-advice last (parsed) activate)
"Addition to hide message predicate to check for channel
specific or network specific join/part showing. PART/JOIN/MODE
@qdot
qdot / keybase.md
Created September 25, 2014 04:03
keybase.md

Keybase proof

I hereby claim:

  • I am qdot on github.
  • I am qdot (https://keybase.io/qdot) on keybase.
  • I have a public key whose fingerprint is ADD0 14EC B46B 232F 5D3A DDBF 1A3D 9385 157A 86FC

To claim this, I am signing this object:

~/code/mozbuild/gaia $ ./bin/gaia-marionette apps/communications/ftu/test/marionette/ftu_tests.js
make: Entering directory `/share/mozbuild/gaia'
./node_modules/.bin/mozilla-download \
--verbose \
--product b2g \
--channel tinderbox \
--branch mozilla-central b2g
make: Leaving directory `/share/mozbuild/gaia'
npm WARN package.json marionette-client@1.1.0 No repository field.
npm WARN package.json marionette-content-script@0.0.0 No repository field.