Skip to content

Instantly share code, notes, and snippets.

View sohammondal's full-sized avatar
:atom:
Making or breaking things on the internet

Soham Mondal sohammondal

:atom:
Making or breaking things on the internet
View GitHub Profile
@manojmj92
manojmj92 / mvv.md
Last active June 26, 2024 12:56
Documents to carry to Delhi/Mumbai/Bangalore Netherlands embassy for Highly Skilled Migrant (MVV) visa for Indians

Documents to carry to Delhi/Mumbai/Bangalore Netherlands embassy for Highly Skilled Migrant (MVV) visa

Valid for Indian citizens only.

Note: Written as per MVV visa interview experience on 9th December, 2021 for a couple. List of items may have changed in the meanwhile - please verify the list of items required by yourself. Please do not consider this list exhaustive.

For the primary visa holder:

  • 2 photos taken as per Netherlands specification for photos
  • DTDC AWB number (details here)
@domske
domske / safari-fix-overflow-border-radius.md
Last active February 21, 2025 06:04
Bugfix (Workaround) for Safari (iOS): Border radius with overflow hidden does not work as expected.

There is a bug in Safari when using border-radius and overflow: hidden. Especially when applying transform to a child. In this case, overflow: hidden does not always work. The child ignores the border radius and overflows. It's a very old bug. And sadly it seems that it will never be fixed. Anyway, we can't wait for it.

There are some workaround. We need to place the element with the overflow attribute into a stacking context. I've tested the following workarounds on the latest version of iOS (14.4). You can choose what you want. But you should search the web for the particular attribute. (e.g. will-change should be rarely used. See docs)

Use this on the element with overflow: hidden and border-radius:

const requests = [
{requestId: 't2', startedAt: 1489744808, ttl: 8},
{requestId: 't3', startedAt: 1489744803, ttl: 3},
{requestId: 't1', startedAt: 1489744806, ttl: 12},
{requestId: 't4', startedAt: 1489744810, ttl: 1}
];
let min = requests[0].startedAt;