Skip to content

Instantly share code, notes, and snippets.

@mindplay-dk
mindplay-dk / README.md
Last active September 2, 2026 10:44
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 2, 2026 12:00
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%;
@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
@tarecord
tarecord / get_primary_taxonomy_term.php
Last active July 2, 2025 12:47
Returns the primary term for the chosen taxonomy set by Yoast SEO or the first term selected.
<?php
/**
* Returns the primary term for the chosen taxonomy set by Yoast SEO
* or the first term selected.
*
* @link https://www.tannerrecord.com/how-to-get-yoasts-primary-category/
* @param integer $post The post id.
* @param string $taxonomy The taxonomy to query. Defaults to category.
* @return array The term with keys of 'title', 'slug', and 'url'.
*/