Maciek Sitkowski
Maciek's Blog

Maciek's Blog

Follow
Follow
homebadges
Tag

2Articles1Week

#2articles1week

More content

Read more stories on Hashnode


Articles with this tag

Improve your problem solving skills with Advent of Code

Dec 1, 20221 min read

It's December already, so it's time for another edition of Advent of Code. Advent of Code is an Advent calendar of small programming puzzles for a...

Improve your problem solving skills with Advent of Code

How to add overlay color to <img />

Nov 26, 20221 min read

If you want to change the color of a remote image, that you display like this: <img alt="freeCodeCamp logo" ...

How to add overlay color to <img />

How to query image dimensions from Sanity?

Nov 25, 20221 min read

I haven't used Sanity before, so it took me a while to figure out, how to get photos dimensions using GROQ queries. Here's how I've done it: GROQ...

How to query image dimensions from Sanity?

How to find all active GitHub Codespaces?

Nov 18, 20222 min read

Update: It's now possible to view Codespaces in GitHub: github.com/codespaces Today, I've run out of GitHub Codespaces storage. It was a bit...

How to find all active GitHub Codespaces?

How to inspect a programatically closing tooltip?

Nov 16, 20221 min read

Today, I've had hard time inspecting a disappearing tooltip. Here's a contrived example to visualize my problem. The tooltip disappears on blur,...

How to inspect a programatically closing tooltip?

What is lexical scoping?

Nov 13, 20222 min read

Here's how we can define a simple sqrt function in Scheme: (define (sqrt x) (sqrt-iter 1.0 x)) (define (sqrt-iter guess x) (if (good-enough?...

What is lexical scoping?