Arjen

2K posts

Arjen banner
Arjen

Arjen

@Aratramba

Elixir LiveView Developer @turn_io, wood worker at home

Utrecht Netherlands Katılım Eylül 2007
130 Takip Edilen135 Takipçiler
Arjen
Arjen@Aratramba·
@benmaclaurin Great guy, can recommend hanging out with 😎
English
0
0
0
29
Arjen
Arjen@Aratramba·
You can rent children on Google Play 😀
Arjen tweet media
English
0
0
0
44
Arjen
Arjen@Aratramba·
Worst Github feature: hiding review comments in pull requests 🙈
Arjen tweet media
English
1
0
1
78
Arjen
Arjen@Aratramba·
@codestirring You'll need to book touristy things online. Park Guell, Sagrada Familia etc are all booked days/weeks/months in advance.
English
1
0
1
143
Chris Gregori 🧊 🏗
Chris Gregori 🧊 🏗@codestirring·
Heading to Barcelona in a few days for a few days. Any big recommendations?
English
8
0
2
1.8K
Chris Gregori 🧊 🏗
Chris Gregori 🧊 🏗@codestirring·
What are the top 3 most influential books you've read that have helped you find success in the indiehacker or programming world?
English
2
0
2
528
Chris Gregori 🧊 🏗
Chris Gregori 🧊 🏗@codestirring·
I have some LiveView Tailwind SaaS components I copy and paste around between projects I’ve accumulated. Avatars, gradient text, Tooltips, side bars, etc. Should I release them as an odd package or gists? Is this the start of my component library?
Chris Gregori 🧊 🏗 tweet media
English
9
0
35
2.5K
simeonGriggs
simeonGriggs@simeonGriggs·
Choose wisely.
English
3
2
16
1.2K
Arjen
Arjen@Aratramba·
@Jamiewarb @sanity_io @mawla_io I don't have access to this anymore, but it comes down to wrapping that block array with a React component that listens for a window.postmessage from the iframe and changes the open state of the matching item.
English
1
0
1
14
Arjen
Arjen@Aratramba·
Making @sanity_io studio v3 and Next.js live preview talk to each other 🪄 @mawla_io
English
7
3
37
2.5K
Arjen
Arjen@Aratramba·
Thrilled to announce that I've joined the incredible team at Turn.io, a social impact organisation that is changing the game in leveraging technology for positive change. 🚀 @turn_io
English
0
0
6
94
Arjen
Arjen@Aratramba·
type delete my project below @vercel
Arjen tweet media
English
0
0
2
83
Arjen
Arjen@Aratramba·
@tbassetto @jh3yy @sanity_io something like this should do the trick ✨ { ..., "matchedTags": coalesce(count(tags[@._ref in ^.^.tags[]._ref]), 0) } | order(matchedTags desc, publishedAt desc, _createdAt desc) [0...5]
English
0
0
2
27
Thomas Bassetto
Thomas Bassetto@tbassetto·
@jh3yy @sanity_io I am wondering if you can store the count in a new property, order by it, and only then order again by publishedAt and cut at 5.
English
2
0
2
221
jhey ʕ•ᴥ•ʔ
jhey ʕ•ᴥ•ʔ@jh3yy·
GROQ Tip for @sanity_io! 🤓 You can get related articles for an article by querying for all the articles that have an overlap in a field like "tags", ordered by date, and limited to 5 🤙 You don't need to make two requests 😎 This little snippet jus' saved me 🙏
jhey ʕ•ᴥ•ʔ tweet media
English
6
4
48
9.8K
Arjen
Arjen@Aratramba·
We also use it when writing generated random word strings and Sanity API keys to a .env file. Powerful tool to have in the tool belt.
English
0
0
1
84
Arjen
Arjen@Aratramba·
for example how we create a new Sanity project and read the fresh project id `npx --yes groq-cli '(*).id'` to be used to set up env vars and Vercel.
Arjen tweet media
English
1
0
2
111
Arjen
Arjen@Aratramba·
@KCdeSantiago 2 coffee ☕️☕️ 8 tea 🍵🍵🍵🍵🍵🍵🍵🍵
English
1
0
1
22
Kerry 💾
Kerry 💾@KCdeSantiago·
To all my fellow Irish/British people: be honest, how many cups of tea have you had already? I'm on my second but in my defense I also had a coffee...
English
3
0
4
350
Arjen
Arjen@Aratramba·
@joelhooks @sanity_io @kmelve I always enable it in production, just to be able to quickly tackle any content questions or issues. Most CMS users will never use it, but it's good to have handy in case you need it.
English
1
0
0
44
Arjen
Arjen@Aratramba·
@simeonGriggs Not true. People can in fact wait to point it out just fine 🤫
English
0
0
1
46
simeonGriggs
simeonGriggs@simeonGriggs·
Sometimes the fastest way to learn the correct thing is to publicly write the wrong thing. People cannot _wait_ to point it out 😊
English
2
0
8
653