Skip to content

Instantly share code, notes, and snippets.

View seezee's full-sized avatar

Chris J. Zähller seezee

View GitHub Profile
@mary-ext
mary-ext / bluesky-osa.md
Last active September 11, 2025 07:06
Bluesky's age assurance sucks, here's how to work around it.

Bluesky's age assurance sucks, here's how to work around it.

Bluesky has implemented age verification measures in response to regional laws that restrict access:

  • UK users are shown a banner for attempting identity verification through Epic Games' Kids Web Services before they could access adult content, following the Online Safety Act.

  • Mississippi users are completely blocked from acccessing Bluesky due to

accordion-group {
background-color: #f7f7f7;
border-radius: 0.25em;
display: block;
margin-block-end: 1.5em;
padding: 0.5em 1em;
width: 100%;
}
accordion-group [accordion-trigger] {
/**
* @section General Code Styles
*/
code,
kbd,
pre,
samp {
font-family: Menlo, Monaco, "Courier New", monospace;
font-size: 0.875em;
@seezee
seezee / social.php
Last active January 4, 2022 16:01
Filter to add lightweight social sharing to WP Genesis themes. Include via functions.php.
<?php
/**
* Social sharing buttons meta to Genesis.
*
* @package There is no package.
* @since 1.0.0
*/
// Security.
if ( ! defined( 'ABSPATH' ) ) {
@tannerdolby
tannerdolby / sort-tags.js
Last active August 12, 2025 15:53
11ty filter for returning a sorted list of tags from collections. Use the it in a template like {{ collections.foo | taglist }} to get the sorted tag list.
eleventyConfig.addFilter("taglist", function(collection) {
const tags = [];
collection.forEach(post => {
tags.push(...post.data.tags);
});
const sorted = [...new Set(tags)].sort((a, b) => a.localeCompare(b));
return sorted;
});
@seezee
seezee / disable-wp-nav-link.js
Last active December 1, 2021 18:21
Disabled WordPress Navigation Links
@seezee
seezee / add-rel-to-images.php
Last active November 17, 2021 22:28
2 different ways to add rel="noopener noreferrer" to linked images in WordPress. Could be improved with a check for external links so we can also add "external".
<?php
/**
* Plugin Name: Add Rel to Images
* Description: Add rel="noopener noreferrer" to linked images.
*
* @package There is no package.
*/
/**
* With jQuery.
<?php
/**
* Displays the post modified date.
*
* @package There is no package.
*/
/**
* Returns the last modified date for the post with the <time> tag and the
* time zone.
@stephenkeep
stephenkeep / print_scripts_and_styles.php
Created December 31, 2020 13:01
Pagedart.com - Dump all script and style handles at the bottom of any page by adding ?pagedart onto the end of the URL while logged-in as an Administrator level user.
global $pd_scripts;
$pd_scripts = array();
function list_scripts($tag, $handle) {
global $pd_scripts;
$pd_scripts[] = $handle;
return $tag;
}
add_filter('script_loader_tag', 'list_scripts', 10, 2);