Basic Capabilities:
- WiFi
- Local SSH identity (hardware backed?)
- Mosh (wishful thinking)
- Text mode interface
- Batteries with decent life
- Good keyboard
- Local UI for some configuration options
- Non-trivial fonts
import collections.abc | |
import sys | |
class FooneList(collections.abc.MutableSequence): | |
def __init__(self, *keys: str): | |
self._store = sys._getframe(1).f_locals | |
self._keys = keys | |
def __getitem__(self, index): | |
return self._store[self._keys[index]] |
#### crowsnest.conf | |
#### This is a typical default config. | |
#### Also used as default in mainsail / MainsailOS | |
#### See: | |
#### https://github.com/mainsail-crew/crowsnest/blob/master/README.md | |
#### for details to configure to your needs. | |
##################################################################### | |
#### ##### |
#!/usr/bin/env python3 | |
""" | |
Uses GitHub's contributions APIs to summarize your activity on GitHub. | |
Leaves a stats.json with the stats of each block of time. | |
Must have the GitHub CLI installed and authenticated. | |
""" | |
import datetime | |
import json |
Import MoveForward="my_actions.MoveForward" Rotate="my_actions.Rotate" | |
Tree "foo" { | |
Sequence { | |
IncreaseValue "behavior_tree_runs" | |
MoveForward 10 | |
Rotate 90 | |
} | |
} |
# For Django Channels | |
import json | |
from channels.exceptions import StopConsumer | |
from channels.generic.http import AsyncHttpConsumer | |
from django.utils.http import parse_header_parameters | |
from django.utils.http import parse_header_parameters | |
<!doctype html> | |
<html> | |
<head><title>Pixels Quickie</title></head> | |
<body> | |
<script type=module> | |
import { | |
requestPixel | |
} from "https://unpkg.com/@systemic-games/pixels-web-connect?module"; |
#!/usr/bin/env python3 | |
import base64 | |
import logging | |
import paramiko | |
from paramiko.agent import AgentServerProxy | |
from paramiko.sftp import SFTP_NO_SUCH_FILE | |
from paramikosocket import SocketServerInterface, run_server |
#!/usr/bin/env python3 | |
""" | |
This looks in its directory for files. It looks in the format | |
`playlist/artist/album/1. title.ext`, allowing components to be omitted. | |
Requires ffmpeg. | |
""" | |
import os | |
from pathlib import Path | |
import re |
Basic Capabilities:
-- AstroNvim Configuration Table | |
-- All configuration changes should go inside of the table below | |
-- You can think of a Lua "table" as a dictionary like data structure the | |
-- normal format is "key = value". These also handle array like data structures | |
-- where a value with no key simply has an implicit numeric key | |
local config = { | |
-- Configure AstroNvim updates | |
updater = { |