Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
# Project Policy | |
This policy provides a single, authoritative, and machine-readable source of truth for AI coding agents and humans, ensuring that all work is governed by clear, unambiguous rules and workflows. It aims to eliminate ambiguity, reduce supervision needs, and facilitate automation while maintaining accountability and compliance with best practices. | |
# 1. Introduction | |
> Rationale: Sets the context, actors, and compliance requirements for the policy, ensuring all participants understand their roles and responsibilities. | |
## 1.1 Actors |
// ==UserScript== | |
// @name Web Worker in Userscript | |
// @namespace http://baivong.github.io | |
// @version 2.0.1 | |
// @description Use Web Worker in Userscript with libraries | |
// @author Zzbaivong | |
// @match https://github.com/baivong | |
// @require https://greasyfork.org/scripts/18532-filesaver/code/FileSaver.js?version=128198 | |
// @resource jszip https://greasyfork.org/scripts/19855-jszip/code/jszip.js?version=126859 | |
// @resource worker https://gist.githubusercontent.com/baivong/e8a13c341a4814e726653d1f9fce02c2/raw/75e747879d1fab98708b08112d228e4acd3dec35/worker-withLibs.js |
#!/usr/bin/env python3 | |
import argparse | |
import base64 | |
import hashlib | |
import json | |
import os | |
import secrets | |
import sys | |
import time |
All control characteristics are under Service 00001523-1212-EFDE-1523-785FEABCD124
Mode = 00001524-1212-EFDE-1523-785FEABCD124
(READ, WRITE, NOTIFY)
Identify = 00008421-1212-EFDE-1523-785FEABCD124
(WRITE)
Power State = 00001525-1212-EFDE-1523-785FEABCD124
(WRITE, newer firmware also had READ and NOTIFY)
This document provides a hands-on guide to understanding how runtimes interacts with network devices and namespaces, focusing on the new "Network Devices" feature described in the OCI (Open Container Initiative) runtime specification. The feature is expected to be released in the version 1.3.0 of the OCI specification.
In high-level container orchestration systems like Kubernetes, the management of network namespaces and interfaces is handled by the [Container Runtime Interface
import datetime | |
import json | |
import os | |
import subprocess | |
import sys | |
############# | |
### USAGE ### | |
############# |
const geometry = {}; | |
// for all the functions below, assume screen coordinates: the x-axis is rightward, the y-axis is downward | |
// finds a point with the lowest vertical position (leftmost wins in case of a tie) | |
geometry.lowestPoint = (points) => points.reduce((lowest, point) => { | |
if (point[1] > lowest[1]) { | |
return point; | |
} | |
if (point[1] === lowest[1] && point[0] < lowest[0]) { |
alias: Light Control | |
description: Uses an entity's state to control a light | |
triggers: | |
- trigger: state | |
entity_id: | |
- binary_sensor.motion_sensor | |
from: "off" | |
to: "on" | |
conditions: [] | |
actions: |