Skip to content

Instantly share code, notes, and snippets.

@mindplay-dk
mindplay-dk / README.md
Last active September 24, 2026 01:33
Blank slate CSS reset for 2026

Blank Slate CSS Reset for 2026

🔗 Demo Page

I pieced this together from various articles, forum posts, and published CSS resets.

The goal is to have a full reset that works for most, modern, evergreen browsers.

A few rules could be considered "normalization" - but I'm trying for as much of a clean slate as possible, with the only exceptions being things like <strong> being bold, <em> being italics, and <a> tags having an underline; for accessibility reasons, these are not things we should reset by default.

@frozenpandaman
frozenpandaman / widevine-decryption.md
Last active September 30, 2026 17:23
download videos protected with widevine DRM
@richaber
richaber / tribe_get_venue_object.md
Created June 28, 2022 16:50
tribe_get_venue_object() example var dump
@nicolaskopp
nicolaskopp / ios-fixed-scrolling-fix.css
Last active September 11, 2025 02:45
Fix scrolling bug on iOS Safari with fixed elements and bottom bar
/* Fix scrolling bug on iOS Safari with fixed elements and bottom bar */
body.noscroll {
height: 100%;
overflow: hidden; /* make sure iOS does not try to scroll the body first */
}
/* your wrapper, most likely mobile menu */
.fixed-wrapper {
width: 100%;
@tonycoco
tonycoco / bookmarket.js
Last active September 4, 2026 23:46
Safari Bookmarklet for <video> AirPlay options – Copy the `bookmarket.js` snippet and paste it as the address of a bookmark in Safari. Then, while playing any <video> you can click the bookmarklet and the <video> will bring up your AirPlay options.
javascript:if(window.WebKitPlaybackTargetAvailabilityEvent){var videos=document.getElementsByTagName("video");if(videos.length>0)for(var airplayable=videos[0],i=0;i<videos.length;i++)if(!(airplayable=videos[i]).paused){airplayable.webkitShowPlaybackTargetPicker();break}}
@brucebentley
brucebentley / iOS Shortcuts Catalog.md
Last active August 17, 2026 03:12
This is a public resource designed to help people get started with Siri Shortcuts & the Shortcuts app. It’s made up of the Shortcuts Library, a collection of over 125+ shortcuts grouped into folders, and the Action Directory, a documentation of 125+ of the actions in the Shortcuts app used to build shortcuts.

Bruce's iOS Shortcut Catalog

Hello and welcome to my Shortcuts Catalog!

This is a public resource designed to help people get started with Siri Shortcuts and the Shortcuts app.

It’s made up of the Shortcuts Library, a collection of over 125+ shortcuts grouped into folders, and the Action Directory, a documentation of 125+ of the actions in the Shortcuts app used to build shortcuts.

Enjoy!

@mrwweb
mrwweb / readme.md
Last active September 27, 2024 22:29
The Events Calendar v2 Template Reset & Customizations - Now on Github
<?php
add_action( 'wp_footer', 'zeen101_add_transaction_event_code' );
function zeen101_add_transaction_event_code() {
if ( ! isset( $_GET['lp_txn_id'] ) ) {
return;
}
@itsmikita
itsmikita / KILL-LARAVEL-VALET-MAC.md
Last active January 6, 2026 17:37
Uninstall Laravel/Valet from MacOS completely

Do the below and never try this again!

valet uninstall
composer global remove laravel/valet
sudo rm -rfv /usr/local/bin/valet
sudo rm -rfv ~/.valet
brew rm -rfv nginx php@7.2 php@7.3 dnsmasq
sudo rm -rfv /usr/local/Cellar/dnsmasq
sudo rm -rfv /usr/local/Cellar/nginx