I hereby claim:
- I am rpavlik on github.
- I am ryanpavlik (https://keybase.io/ryanpavlik) on keybase.
- I have a public key whose fingerprint is C076 38BF B23D 7D99 21EE 9696 CBC5 5E3D 986A 54C7
To claim this, I am signing this object:
# Copyright (c) 2012, Michael DeHaan <[email protected]> | |
# Copyright 2015 Abhijit Menon-Sen <[email protected]> | |
# Copyright 2017 Toshio Kuratomi <[email protected]> | |
# Copyright (c) 2017 Ansible Project | |
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) | |
from __future__ import absolute_import, division, print_function | |
__metaclass__ = type |
# from https://askubuntu.com/a/1363020 | |
wsl -l -v | |
wsl --terminate Debian # <distro> from the previous command | |
wsl -u root -d Debian # "-d <distro>" is only needed for non-default instances | |
# Now from in WSL | |
usermod -l rylie ryan | |
# Optionally change the home directory name to match | |
usermod -d /home/rylie -m rylie | |
# Optionally change the group name to match |
/* inspired by https://artemis.sh/2023/10/12/scrollbars.html and https://gist.github.com/devinrhode2/2573411 */ | |
/* tested out in logseq since it lets you monkey with the CSS of the app live. */ | |
html ::-webkit-scrollbar { | |
width: 15px; | |
background-color: #333; | |
-webkit-border-radius: 100px; | |
} | |
html ::-webkit-scrollbar-thumb:vertical { | |
background-color: #aaa; |
# SPDX-FileCopyrightText: 2021-2023 Ryan Pavlik | |
# | |
# A little bit of board setup based on code that is: | |
# | |
# SPDX-FileCopyrightText: 2021 Phil Burgess for Adafruit Industries | |
# | |
# SPDX-License-Identifier: MIT | |
""" | |
Display 'digital rain' aka 'the Matrix thing' on the Adafruit LED Glasses, | |
https://www.adafruit.com/product/5255 |
I hereby claim:
To claim this, I am signing this object:
{ | |
"version": "3.3.0", | |
"description": "A tool used to automatically format the OpenXR XML registry.", | |
"homepage": "https://github.com/rpavlik/PrettyRegistryXml", | |
"license": "MIT AND Apache-2.0", | |
"architecture": { | |
"64bit": { | |
"url": "https://github.com/rpavlik/PrettyRegistryXml/releases/download/v3.3.0/PrettyRegistryXml-Windows-3.3.0.7z", | |
"hash": "429eb0997e83d0f0df681bbda2b74123cc4671cfb2b86daeb3df269e94ea2622", | |
"extract_dir": "PrettyRegistryXml-Windows-3.3.0" |
# SPDX-FileCopyrightText: 2020 Phillip Burgess for Adafruit Industries | |
# SPDX-FileCopyrightText: 2021-2022 Ryan Pavlik <[email protected]> | |
# | |
# SPDX-License-Identifier: MIT | |
""" | |
RASTER EYES for Adafruit Matrix Portal: animated spooky eyes. | |
Updated by Ryan to hide the head fully and have MQTT control | |
""" |
# Note that there is actually a "fonts" bucket in scoop that makes this obsolete in this specific case | |
$FontRelease = "2111.01" | |
$FontArchive = "CascadiaCode-${FontRelease}.zip" | |
wget.exe "https://github.com/microsoft/cascadia-code/releases/download/v$FontRelease/$FontArchive" | |
# -aoa = always overwrite | |
7z x -oCascadiaCode -aoa "${FontArchive}" | |
# https://blog.simontimms.com/2021/06/11/installing-fonts/ | |
$fonts = (New-Object -ComObject Shell.Application).Namespace(0x14) |
// Copyright 2021, Collabora, Ltd. | |
// SPDX-License-Identifier: BSL-1.0 | |
/*! | |
* @file | |
* @brief Ringbuffer implementation for keeping track of the past state of things | |
* @author Ryan Pavlik <[email protected]> | |
* @author Moses Turner <[email protected]> | |
* @ingroup aux_util | |
*/ |
# SPDX-FileCopyrightText: 2021 Phil Burgess for Adafruit Industries | |
# SPDX-FileCopyrightText: 2021, Ryan Pavlik <[email protected]> | |
# | |
# SPDX-License-Identifier: MIT | |
import math | |
import random | |
import time | |
from supervisor import reload | |
import board |