avatar

Blip and Blinks

Swapping parent element in React and keeping child state

How to keep state of a children component when swapping parent wrapper in React. A way to create reusable components parts. Unusual case of using two pass rendering and “useLayoutEffect”

iOS language switch

Sometimes I wish apple finally add separate swithes for keyboards. Muscle memory for the win!

Default Folders Nonsense

Default folders which are provided by modern operating systems are nonsense

Reducing multiple overlapping rectangles into set of non-overlapping ones

Consider we have a set of multiple overlapping rectangles and we want to reduce it so in the result we have a set that occupies the same area but rectangles inside do not overlap with each other…

Debricking Xiaomi Router 4c on MacOs

I’ve bought a Xiaomi 4c router and installed OpenWrt. After some time I decided to restore stock firmware as it more stable. By doing so I’ve bricked my router. And now I must to debrick it with tools available on MacOs.