Skip to content

Instantly share code, notes, and snippets.

View uogbuji's full-sized avatar

Uche Ogbuji uogbuji

View GitHub Profile
@uogbuji
uogbuji / gist:b136f9bc9f7fca861cb3
Last active June 26, 2024 17:45
Boulder/Denver pick-up soccer resources

Visiting the Front Range, or live here? Love to play soccer, or want to try it out? Lots of good groups & opportunities!

Boulder/Denver (Front Range) pick-up soccer resources (bias towards the Boulder area)

Groups/pages with a variety of game groups/times/locations

Balisage, they say, is Tops
And all things markup excellent
Like all the different content blocks
ID and node path, relevant
Schematron, they say, it's fun
And also good and valid
Go make a parsing pipeline run
Encode a div soup salad
I think you'll need to query
Stylesheets and definitions
@uogbuji
uogbuji / uxpath.md
Last active July 10, 2023 14:54
MicroXPath Grammar

MicroXPath outline

MicroXPath is based on XPath 1, except for sequences, borrowed from XPath 2. MicroXPath adopts this approach. The results of all MicroXPath expressions are sequences.

Sequences

MicroXPath provides a syntax for creating sequences, borrowing from XPath 2.0/3.0. The following are the examples of expressions that construct sequences, taken from 3.4.1 of the XPath 3 spec. They have the same semantics as in MicroXPath.

  • (10, 1, 2, 3, 4) results in a sequence of five integers.
@uogbuji
uogbuji / pixelbook-dev-setup.md
Last active May 17, 2024 00:35 — forked from cassiozen/pixelbook-dev-setup.md
Notes on setting up Pixelbook for development

Pixelbook or Pixel Slate Setup

Partly updated June 2023

General caution: Chrome OS is a secure OS by design, but this has at least one key consequence. If you change your Google account password, you will still be required to enter the old password the next time you access each Chrome OS device. Devices are encrypted with that password, so the OS needs to decrypt using the old password then re-encrypt using the new one. If you forget your old password you will lose access to your Chrome OS device data. As always, make sure you keep backups up to date.

Fast User Switching

If you have multiple Chrome OS accounts (Say, work and play), you can quickly sitch between them without logging out:

@uogbuji
uogbuji / debian-pydev.md
Last active August 25, 2023 01:10
My Python dev setup for Linux (Debian, Ubuntu, Mint & ChromeOS/Crostini)

Python dev environment on Linux

User local install as much as possible, leaving system-wide kit (e.g. python & python-pip .debs) alone. Tested on Debian, Ubuntu, Mint & ChromeOS/Crostini.

Environment

Set up the dev environment (this is the only system-wide part):

sudo apt install build-essential libsqlite3-dev sqlite3 bzip2 libbz2-dev zlib1g-dev libssl-dev openssl libgdbm-dev liblzma-dev libreadline-dev libncursesw5-dev libffi-dev uuid-dev

Python dev environment on Mac

User local install as much as possible, leaving system-wide kit alone, and no mega-distributions such as homebrew. Tested all the way through Ventura.

SSH

Make sure SSH is set up. Allow a remote computer to access your Mac and generate a new SSH Key. See appendix below.

There is automatically an ssh agent. Just use ssh-add.