Skip to content

Instantly share code, notes, and snippets.

View dolmios's full-sized avatar
🐒

Jackson Dolman dolmios

🐒
View GitHub Profile
@dolmios
dolmios / macos-dock-spaces.md
Created October 8, 2023 19:27
Adding a Space to Your Dock on MacOS

Adding a Space to Your Dock on MacOS

Follow these steps to add a space to your Dock on MacOS:

Step 1: Open Terminal

Open Terminal by searching for Terminal in Spotlight. You can do this by pressing Cmd + Space and typing "Terminal", then pressing Enter.

Step 2: Add a Space to Your Dock

@dolmios
dolmios / postcodes-australia.yaml
Created December 22, 2022 17:58
Postcodes of Australia
This file has been truncated, but you can view the full file.
- postcode: '2850'
suburb: Aarons Pass
state: NSW
lat: '-32.860'
lon: '149.800'
- postcode: '6280'
suburb: Abba River
state: WA
lat: '-33.680'
lon: '115.460'
@dolmios
dolmios / postcodes-australia.csv
Created December 22, 2022 17:55
Postcodes of Australia
We can't make this file beautiful and searchable because it's too large.
postcode,suburb,state,lat,lon
2850,Aarons Pass,NSW,-32.860,149.800
6280,Abba River,WA,-33.680,115.460
6280,Abbey,WA,-33.680,115.460
3737,Abbeyard,VIC,-36.980,146.780
4613,Abbeywood,QLD,-26.110,151.630
2176,Abbotsbury,NSW,-33.880,150.870
2046,Abbotsford,NSW,-33.850,151.130
3067,Abbotsford,VIC,-37.800,145.000
4670,Abbotsford,QLD,-24.840,152.020
@dolmios
dolmios / postcodes-australia.json
Created December 20, 2022 23:41
Postcodes of Australia
This file has been truncated, but you can view the full file.
[
{
"postcode": "2850",
"suburb": "Aarons Pass",
"state": "NSW",
"lat": "-32.860",
"lon": "149.800"
},
{
"postcode": "6280",
@dolmios
dolmios / lil-clock.tsx
Last active December 22, 2022 17:59
A SVG clock with hour hands
interface ClockProps {
time: Date;
size?: number;
abbr?: string;
}
export function Clock({ time, size = 14, abbr }: ClockProps): JSX.Element {
const hour = time.getHours() % 12;
const minute = time.getMinutes();
const hourAngle = (hour + minute / 60) * 30;
@dolmios
dolmios / standard-readme.md
Created December 12, 2022 21:36
Standard README

repo name

repo description

Install

install script/s
@dolmios
dolmios / conventional-commits.md
Last active October 6, 2023 18:45
Conventional Commits

Conventional Commits

A very slightly tweaked cheatsheet on the Conventional Commits specification.

type use case
fix A code change that fixes something.
build Changes to the build system or external dependencies.
feat A new feature.