- 2010: Introductory STL (10 parts)
- microsoft/nurikabe: I open-sourced and slightly modernized my Nurikabe puzzle solver.
- 2011: Advanced STL: Part 1, Part 2, Part 3, Part 4, Part 5, Part 6
- These videos weren't migrated
<# | |
- BIOS of host machine also needs to be configured to allow hardware virtualization | |
- Windows 10 Pro or otherwise is needed; Windows 10 Home Edition CANNOT get WSL | |
- This gist WSLv2, but can use WSLv1 instead. I needed v1 as I run Windows 10 in a VM in Virtualbox. | |
- WSLv2 has been giving me problems in Virtualbox 6.1, but WSLv1 works properly. | |
- vbox has issues with the GUI settings when it comes to nested virtualization on certain systems, | |
so run the following if needing to give a VM this enabled setting: | |
VBoxManage modifyvm <vm-name> --nested-hw-virt on | |
#> |
#!/usr/bin/env bash | |
# Wraps around GitHub CLI (gh): https://cli.github.com/ | |
# Check all other open PRs that are working on | |
# files being deleted by the target PR. | |
# Usage: | |
# ./gh-delete-auditor.sh <PR> | |
# | |
# Example: | |
# ./gh-delete-auditor.sh 57645 |
#!/bin/bash | |
# | |
# Created by Pico Mitchell (of Random Applications) on 1/5/23 | |
# | |
# https://gist.github.com/PicoMitchell/877b645b113c9a5db95248ed1d496243#file-get_compatible_macos_versions-asls-sh | |
# | |
# MIT License | |
# | |
# Copyright (c) 2023 Pico Mitchell (Random Applications) |
# Example docker-compose.yml for plex. | |
version: "2" | |
services: | |
plex: | |
image: plexinc/pms-docker:plexpass | |
runtime: nvidia | |
container_name: "plex" | |
restart: always | |
hostname: "MY-PLEX" | |
volumes: |
import { NodeRuntime } from "@effect/platform-node"; | |
import { Schema } from "@effect/schema"; | |
import { SqsLive, SqsService } from "@repo/shared/src/Sqs"; | |
import { Chunk, Console, Effect, Option, Stream, pipe } from "effect"; | |
import { logError, logInfo } from "effect/Effect"; | |
import { Consumer } from "sqs-consumer"; | |
function makeStream<T, U>({ | |
queueName, |
Let's say contributor
has submitted a pull request to your (author
) project (repo
). They have made changes on their
branch feature
and have proposed to merge this into origin/master
, where
origin -> https://github.com/author/repo.git
Now say you would like to make commits to their PR and push those changes. First, add their fork as a remote called
''' | |
Copyright (C) 2018 by Daniel Foose | |
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. | |
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE | |
''' | |
import re | |
import docker |