Skip to content

Instantly share code, notes, and snippets.

View cwparsons's full-sized avatar

cwparsons

View GitHub Profile
Year Title Artist
2024 Romance Fontaines D.C.
2024 Manning Fireworks MJ Lenderman
2024 Brat Charli xcx
2024 3AM (LA LA LA) Confidence Man
2023 Desire, I Want to Turn Into You Caroline Polachek
2023 the record boygenius
2022 Dirt Femme Tove Lo
2022 How To Let Go Sigrid
2022 Wet Leg Wet Leg

TSSC Kickball Rules

Game Time

All matches of Kickball are 7 innings in length but have a 55-minute time limit. Please arrive early to ensure you get the full use of your allotted field time. Regardless of when your game begins your game will always end on time to allow the succeeding games to begin at their scheduled time.

Time Keeping

If you have an SSC Event Coordinator on site, they will be keeping track of time and will determine the end of your game. In this instance, you will receive a warning indicating the final five (5) minutes of your game and a final signal for the end of your game. Once the final signal occurs your game is over. If you do not have an Event Coordinator on- site, please designate one person from each team to keep track of the time. Games are 55 minutes in length, or 7 innings long (whichever comes first). If all 7 innings are not completed by the 55-minute curfew, the score will revert back to the last completed inning. No new inning can start within 5 minutes of the sc

declare module 'delegated-events' {
type Event = {
bubbles: boolean;
cancelable: boolean;
currentTarget: Element;
deepPath?: () => EventTarget[];
defaultPrevented: boolean;
eventPhase: number;
isTrusted: boolean;
scoped: boolean;
@cwparsons
cwparsons / Checklist.md
Last active April 25, 2019 11:43
A personal website checklist from experience.

External website checklist

This checklist is a dump of random ideas from my past two website projects. It is a work-in-progress and not yet organized.

@cwparsons
cwparsons / pca.d.ts
Last active February 12, 2024 21:17
A TypeScript definition file for Canada Post's AddressComplete.
declare namespace pca {
class Eventable {
constructor(source: any);
listen: (event: string, action: any) => void;
}
class Address extends Eventable {
constructor(fields?: Address.Binding[], options?: Address.Options);
}
<div data-react-component="CustomReactComponent"
data-prop-api-url="/api/service"
data-prop-data="{ items: [ ... ] }"
data-prop-has-load-more-button="true"
data-prop-no-results-label="No results..."
data-prop-page-limit="10"
/>
# Install
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
# Install from macOS App Store
# Divvy
# Microsoft Remote Desktop
# Packages
brew install \
1password \
<!DOCTYPE html>
<html>
<head>
<title>choices-react example</title>
<style>
body {
font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-size: 16px;
line-height: 1.4;
$contextItem = Get-Item .
$importFilePath = Receive-File -Path "$($SitecoreDataFolder)\importredirects" -Description "Creates simple redirect items from a CSV file with columns Name,Path,Target" -OkButtonName "Import"
if($importFilePath -eq "cancel") {
Exit
}
$csv = Import-Csv $importFilePath
$csv | % {
$name = $_.Name
$path = $_.Path
/**
* Add an event callback when pushing events to Google Tag Manager's datalayer.
* Also provides a fallback if Google Tag Manager is not available.
* @see https://www.simoahava.com/gtm-tips/use-eventtimeout-eventcallback/
*/
const GTM_CONTAINER_ID = 'GTM-XXXXX';
export default function dataLayerPush(
eventObject: { [key: string]: string | number },