erDiagram
rancher_releases {
INTEGER RancherReleaseId
NVARCHAR Version
}
hosted_runtime_versions {
INTEGER HostedRuntimeVersionId
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static function form(Form $form) | |
{ | |
return $form | |
->schema([ | |
SpatieTagsInput::make('form_tags') | |
->relationship('tags', 'name') | |
]); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Simple HTTP static file server using Swoole | |
$host = $argv[1] ?? '127.0.0.1'; | |
$port = $argv[2] ?? 9501; | |
$http = new swoole_http_server($host, $port); | |
// The usage of enable_static_handler seems to produce errors | |
// $http->set([ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\View\Components; | |
use Carbon\Carbon; | |
use Illuminate\View\Component; | |
class HumanDateTimeDiff extends Component | |
{ | |
public $dateTime; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export LANG=C | |
TMP=`mktemp -d` | |
umask 022 | |
mkdir -p $TMP/earlycpio | |
mkdir $TMP/initramfs | |
umask 077 | |
cd $TMP/earlycpio |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function missyElliott(int $id): int { | |
if ($id > 4294967295) { | |
throw new \RuntimeException('Maximum integer size is 4_294_967_295'); | |
} | |
// Int to Binary - ensure at least 32 char long binary string | |
$binaryInt = str_pad(decbin($id), 32, '0', STR_PAD_LEFT); | |
// Split into workIt array | |
$workIt = str_split($binaryInt, 1); |
Type | Chipset | Total Pins | GPIO Pins | Usable GPIO | Vcc | USB |
---|---|---|---|---|---|---|
AVR | ATmega16U2 / ATmega32U2 | 32 | 22 | 17 | 5v | Native |
AVR | ATmega16U4 / ATmega32U4 | 44 | 26 | 22 | 5v | Native |
AVR | AT90USB64 / AT90USB128 | 64 | 48 | 44 | 5v | Native |
AVR | AT90USB162 | 32 | 22 | 17 | 5v | Native |
AVR | ATmega32A | 44 | 32 | 29 | 5v | vUSB |
AVR | ATmega328P | 32 | 23 | 15 | 5v | vUSB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/ | |
services: | |
pihole: | |
container_name: piholes | |
image: pihole/pihole:2022.07 | |
network_mode: host # I do this to keep things simple - but could also do macvlan | |
environment: | |
TZ: 'America/Detroit' # Update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
placeholder to control gist title name |
This document is created purely for entertainment purposes and is not meant to imply any authoratative stance. The memo has been created by a fan of the EDH game format and is not at all associated with the EDH rules committee.
This document serves as a specification for the properties of a single player's "Game State" in the context of an EDH Commander Magic: The Gathering game.
The intention of this specification is to provide a comprehensive overview of the game state elements that should be tracked for each player during gameplay. It is important to note that this document is not authoritative and is independent of the EDH Rules Committee.