Skip to content

Instantly share code, notes, and snippets.

View stalingino's full-sized avatar
🎯
Focusing

Stalin Gino stalingino

🎯
Focusing
View GitHub Profile
@lilBunnyRabbit
lilBunnyRabbit / README.md
Last active January 13, 2026 13:30
Inject safe-area-inset into browser (Emulation.setSafeAreaInsetsOverride)

Quick experiment to test CSS safe-area-inset-* properties in Chrome. Uses the experimental CDP setSafeAreaInsetsOverride method to override safe area insets on the fly.

There aren't really any other free tools that let you do this easily. Hopefully this gets built into DevTools soon, but for now this works.

Usage

bun install
chmod +x index.ts
bun link chrome-safe-inset
@blowsie
blowsie / glyphicon_font-awesome_convert.scss
Last active November 19, 2024 12:39
Map glyphicon icons to font-awesome
$fa-font-path: "~font-awesome/fonts";
@import '~font-awesome/scss/font-awesome';
.glyphicon {
@extend .fa;
&.glyphicon-asterisk {
@extend .fa-asterisk;
}
&.glyphicon-plus {
@extend .fa-plus;