Skip to content

Instantly share code, notes, and snippets.

/******************
* minesweeper.js *
******************
*
* So much for Asimov's Laws. They're actually trying to kill
* you now. Not to be alarmist, but the floor is littered
* with mines. Rushing for the exit blindly may be unwise.
* I need you alive, after all.
*
* If only there was some way you could track the positions
Maintainers:
christoph-heiss: mqtt-exporter, mqtt-exporter, mqtt-exporter, mqtt-exporter
aarch64-linux mqtt-exporter
x86_64-darwin mqtt-exporter
x86_64-linux mqtt-exporter
aarch64-linux nixos-install-tools
x86_64-linux tests.nixos-functions.nixos-test
aarch64-darwin mqtt-exporter
x86_64-linux nixos-install-tools
<!doctype html>
<html>
<head>
<style>
canvas {
border: 1px solid black;
}
</style>
</head>
@miyo74
miyo74 / 百家乐技巧心得 -【3977.AM 浏览器输入】
Created May 21, 2024 10:18
百家乐技巧心得 -【3977.AM 浏览器输入】
百家乐技巧心得 -【3977.AM 浏览器输入】
C:\Users\USER>adb logcat -s Unity
--------- beginning of main
05-21 15:43:38.397 21288 21341 I Unity : Card was clicked isClickEnabled? True : => member name: OnMouseDown : => source line number: 170
05-21 15:43:38.397 21288 21341 I Unity : Card was clicked Nine : => member name: OnMouseDown : => source line number: 178
05-21 15:43:38.397 21288 21341 I Unity : 0_tilged:: OnCardClick: networkID 108 cardRank Nine cardColor Red selected True isWildCard False isSpecialCard False isLocal True null? False : => member name: PrintLog : => source line number: 42
05-21 15:43:38.398 21288 21341 I Unity : NakamaController:: OnCardClick {"c":"{\"i\":108,\"c\":2,\"r\":9,\"w\":0}","s":true,"h":0,"i":-1} : => member name: PrintLog : => source line number: 42
05-21 15:43:38.721 21288 21341 I Unity : 0_tilged:: OnDiscardPileMeldClicked : => member name: PrintLog : => source line number: 42
05-21 15:43:38.721 21288 21341 I Unity : GameController:: GetServerIdFromLocalID localID 0 : => member name: PrintLog : => s
[ReproRunner] Inference Model successfully loaded
INFO 11:13:56,021 sim.graph_sim.node_executor execute_node status=success, duration_ms=3021.1, node=get_runner
INFO 11:13:56,021 sim.graph_sim.node_executor execute_node status=start, node=get_vehicle_dynamics_config
INFO 11:13:56,021 sim.graph_sim.node_executor execute_node status=success, duration_ms=0.1, node=get_vehicle_dynamics_config
INFO 11:13:56,021 sim.graph_sim.node_executor execute_node status=start, node=execute_runner
[Mapping] Found in cache: map_tile_15_16371_10889
[Mapping] Found in cache: map_tile_15_16372_10889
__ERROR_IMG_WRITER__: /tmp/minkowski/captured_images/front-left-leftward/1709550781514938unixus.jpeg ofstream status was not good
__ERROR_IMG_WRITER__: image->getSize()=759047
__ERROR_IMG_WRITER__: image->getDataPtr()[0]=255
@hsk
hsk / mdminipadmap.py
Created May 21, 2024 10:17
MDMiniPadKeyMapper
import usb.core, usb.util, pyautogui, time
class MDMiniPad:
def __init__(self):
self.dev = usb.core.find(idVendor=0x0ca3,idProduct=0x0024)
self.ep = usb.util.find_descriptor(
self.dev.get_active_configuration()[(0,0)],
custom_match = lambda e:
usb.util.endpoint_direction(e.bEndpointAddress) == usb.util.ENDPOINT_IN)
interface = 0
if self.dev.is_kernel_driver_active(interface):
@miyo74
miyo74 / 百家乐庄闲技巧稳赢 -【3977.AM 浏览器输入】
Created May 21, 2024 10:17
百家乐庄闲技巧稳赢 -【3977.AM 浏览器输入】
百家乐庄闲技巧稳赢 -【3977.AM 浏览器输入】
Maintainers:
loicreynier: python312Packages.myst-parser, python311Packages.myst-parser, python312Packages.myst-parser, python312Packages.myst-parser, python311Packages.myst-parser, python312Packages.myst-parser, python311Packages.myst-parser, python311Packages.myst-parser