Sam Apostel's Avatar

Sam Apostel

@sams.land.bsky.social

Always making stuff https://sams.land

40 Followers  |  509 Following  |  11 Posts  |  Joined: 01.11.2024  |  1.4491

Latest posts by sams.land on Bluesky

list of currency symbols that have 2 parallel lines, completed with the X.com logo.

list of currency symbols that have 2 parallel lines, completed with the X.com logo.

The X.com logo having 2 parallel lines makes way more sense now...

03.02.2025 11:51 — 👍 5    🔁 0    💬 0    📌 0

Question for @sentry.io
Not mentioned in the terms and conditions:

Do I still enter the raffle if I debug the day after it was released? What are the cutoff dates?

14.12.2024 11:28 — 👍 0    🔁 0    💬 0    📌 0

I've been having fun code golfing the @sentry.io Debug December solutions.

Got it down to 77 chars today.

```js
let generateCallbacks=n=>Array.from({length:n},(_,i)=>l=>generateToken(l??i))
```

14.12.2024 11:28 — 👍 2    🔁 0    💬 1    📌 0

Do you have any idea if the problems will get harder?

I’ve started to code-golf my solutions to create a bit more of a challenge

09.12.2024 08:41 — 👍 1    🔁 0    💬 1    📌 0

React:
```tsx
'use client';
import { registerMasonry } from 'masonry-pf';

function Masonry({ children }: PropsWithChildren) {
return (
<div
className="grid grid-rows-[masonry] grid-cols-1 md:grid-cols-3 gap-4"
ref={registerMasonry}
>
{children}
</div>
);
}
```

08.12.2024 23:58 — 👍 0    🔁 0    💬 0    📌 0
Preview
How To Create An NPM Package Learn how to publish a package to npm with a complete setup including, TypeScript, Prettier, Vitest, GitHub Actions, and versioning with Changesets.

It composes very well with react (which I use) but it's just a native js package (with typescript types)

Thanks to @mattpocock.com for his awesome article on how to create an NPM package. It helped me quickly set up an npm package with changesets, which I had been wanting to try out.

08.12.2024 23:58 — 👍 2    🔁 0    💬 1    📌 0
GitHub - Sam-Apostel/masonry-pf: css masonry grid polyfill css masonry grid polyfill. Contribute to Sam-Apostel/masonry-pf development by creating an account on GitHub.

It's a simple utility function that registers a grid as masonry and tries to match the masonry layout by shifting items up.

08.12.2024 23:58 — 👍 0    🔁 0    💬 1    📌 0
Gadget Observer Discover and share the most formidable gadgets.

Last year I build gadget.observer to share my Christmas list with family. This weekend I noticed that chrome still doesn't support css grid masonry and that it's still behind a flag for other browsers.

I couldn't share it anymore, knowing that it's broken for most.

So today I made `masonry-pf`.

08.12.2024 23:58 — 👍 2    🔁 0    💬 1    📌 0
Day 1 - Advent of Code 2024

Let's do this thing.

✅ "Historian Hysteria" - Day 1 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/1

01.12.2024 05:26 — 👍 3    🔁 0    💬 0    📌 0

Not the catit pixi. It’s amazing at first but a hassle to clean and the pump broke after only 3 months (yesterday).

18.11.2024 06:44 — 👍 0    🔁 0    💬 0    📌 0

Custom handle choice paralysis:

@sam.apostel.be
or
@sams.land

06.11.2024 11:57 — 👍 2    🔁 0    💬 0    📌 0

@sams.land is following 20 prominent accounts