codedump.ch

Code, Arts, Photography, everything that interests me.

Picture from Alariko

source

Luggage Losers

2024-07-01

https://luggagelosers.com/

A live ranking of airlines by how much luggage they are losing right now.

Python Mocking 101

2024-06-24

Python Mocking 101: Fake it before you make it

@patch("module.mock_function")
def test_thing(..., mock_call):
    mock_call.return_value = {"foo": "bar"}

    module.mock_function(a, b, c)

    mock_call.assert_called_once_with(a, b, c)
ds{count}{motion} // delete the surroundings
cs{count}{motion} // change the surroundings
ys{count}{motion} // add surroundings

Surround things in vscode vim

https://www.devever.net/~hl/traintoilet

Skate Short Film

2024-06-18

https://timberfestival.org.uk/

Map of the sounds of forests all around the world.

Big Take

2024-06-17

paulstretch

Stretch any sound to the extreme. Example with the Windows 98 startup sound.

https://lettersofnote.com/2012/02/15/i-love-my-wife-my-wife-is-dead/

Richard Feynman's letter to his dead wife.

https://www.elletownsend.co.uk/blog/posts/blog-with-eleventy/

How to create a blog with 11ty