This file has been truncated, but you can view the full file.
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
[ | |
{ | |
"reading": "ああ", | |
"notation": "", | |
"meaning": "あのように。あんな。" | |
}, | |
{ | |
"reading": "ああいう", | |
"notation": "", | |
"meaning": "あのような。あんな。" |
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
{ | |
"version": 1, | |
"notes": "", | |
"documentation": "\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n", | |
"keyboard": "massdrop/ctrl", | |
"keymap": "massdrop_ctrl_layout_mine", | |
"layout": "LAYOUT", | |
"layers": [ | |
[ | |
"KC_ESC", |
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
import re | |
from typing import Any, Tuple, Union | |
"""A very rough JSON parser. | |
Implementing the standard outlined in https://www.json.org/json-en.html | |
Number parsing is handled by Python. | |
Usage: | |
>>> data, _ = parse_json('{"key": ["value", -1e20, true, false, null]}') | |
>>> assert data == {"key": ["value", -1e20, True, False, None]} |
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
#%% | |
key = open("/Users/blueset/Downloads/key.txt", "r").read() | |
idx = key.find("3jX8lFiNQ7JHQBVuXAEQXIajamj1EDqa9n34eHZ7y0XbfuxPt7pMj") | |
key = key[idx - 143:] | |
# key = key[idx - 200:] | |
#%% | |
def vba_decode(sequence, offset, key): | |
# Input a list and an integer | |
# key = "XAEQXIajamj1EDqa9n34eHZ7y0XbfuxPt7pMj3jX8lFiNQ7JHQBVu" |
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
import subprocess | |
import requests | |
# MAC address of device running this script | |
self_mac = "00:11:22:33:44:55" | |
# MAC address of devices to check | |
to_monitor = {"66:77:88:99:aa:bb", "cc:dd:ee:ff:00:11"} | |
# MAC address of device which must be in the LAN for notifications to be sent |
plltxe v. say.
This bot is running on https://t.me/plltxe with tweets from https://twitter.com/blueset, and toots from https://mastodon.social/web/accounts/1150683.
For details, see https://blog.1a23.com/2020/03/21/sync-tweets-to-a-telegram-channel-using-account-activity-api/ .
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
@startuml | |
skinparam monochrome true | |
skinparam backgroundColor #fefefe | |
skinparam sequenceReferenceAlign center | |
skinparam sequenceMessageAlign center | |
actor User | |
== Send message == |
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
{"sip": {"build": "223", "version": "2.2.3"}, "index": 2, "name": "Material Amber", "colors": [{"blue": 0.034370001405477524, "id": "7D57DD3E-EBF9-9D4D-DC8A-A3ED77454871", "createdAt": "2020-01-23 06:02:58", "red": 0.9921799898147583, "name": "Amber A700", "green": 0.6087899804115295, "alpha": 1}, {"createdAt": "2020-01-23 06:02:58", "red": 0.9943900108337402, "alpha": 1, "name": "Amber A400", "green": 0.7259799838066101, "id": "69AAA373-3087-7536-6D87-7224A53A0A97", "blue": 0.03618999943137169}, {"blue": 0.19728000462055206, "green": 0.8167200088500977, "createdAt": "2020-01-23 06:02:58", "name": "Amber A200", "alpha": 1, "red": 0.9962700009346008, "id": "F5946576-6396-6379-9AB2-22E7FE19ACE1"}, {"alpha": 1, "blue": 0.4251199960708618, "createdAt": "2020-01-23 06:02:58", "red": 0.9976599812507629, "id": "C4325271-1539-9DFA-AF9E-E7901BCEEC53", "green": 0.8826199769973755, "name": "Amber A100"}, {"alpha": 1, "createdAt": "2020-01-23 06:02:58", "id": "10126CB6-670B-BFA8-80E5-5E3323056DC2", "green": 0.34540000557 |
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
# ... | |
logging: | |
version: 1 | |
disable_existing_loggers: false | |
formatters: | |
sample: | |
format: '%(asctime)s [%(levelname)s] %(name)s: %(message)s' | |
handlers: | |
rotation: |
NewerOlder