Advertisement · 728 × 90

Posts by Sam Apostel

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...

1 year ago 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?

1 year ago 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))
```

1 year ago 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

1 year ago 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>
);
}
```

1 year ago 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.

1 year ago 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.

1 year ago 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`.

1 year ago 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

1 year ago 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).

1 year ago 0 0 0 0
Advertisement

Custom handle choice paralysis:

@sam.apostel.be
or
@sams.land

1 year ago 2 0 0 0