Skip to content

Instantly share code, notes, and snippets.

/*
Enter this as the "url" for the bookmark you are trying to add.
It will execute the javascript and transform the url of the twitter post to the corresponding
threadreader app's page.
You will likely need to remove this comment block as many browsers do not properly exclude it from execution.
Just past in everything starting with "javascript"
*/
javascript:(function() {
<a href="https://derinstories.com/2022/06/04/001-the-problem-with-the-javelin-program/">– 001: JAVELIN –</a>
<a href="https://derinstories.com/2022/06/05/002-duty/">– 002: DUTY –</a>
<a href="https://derinstories.com/2022/06/06/003-assessment/">– 003: ASSESSMENT –</a>
<a href="https://derinstories.com/2022/06/07/004-travel/">– 004: TRAVEL –</a>
<a href="https://derinstories.com/2022/06/08/005-history/">– 005: GHOSTS –</a>
<a href="https://derinstories.com/2022/06/15/006-recovery/">– 006: RECOVERY –</a>
<a href="https://derinstories.com/2022/06/22/007-predecessor/">– 007: PREDECESSOR –</a>
<a href="https://derinstories.com/2022/06/29/008-override/">– 008: OVERRIDE –</a>
<a href="https://derinstories.com/2022/07/06/009-ascend/">– 009: ASCEND –</a>
<a href="https://derinstories.com/2022/07/13/010-alone/">– 010: ALONE –</a>
:root {
/* This value should be updated here and in the userChrome.css */
--tst-sidepanel-hide-delay: .5s;
}
/* Hide border on tab bar, force its state to 'scroll', adjust margin-left for width of scrollbar. */
#tabbar {
border: 0;
scrollbar-width: none;
overflow: scroll !important;
{
"createdBy": "Redirector v3.5.3",
"createdAt": "2023-12-15T12:57:37.884Z",
"redirects": [
{
"description": "Example redirect, try going to http://example.com/anywordhere",
"exampleUrl": "http://example.com/some-word-that-matches-wildcard",
"exampleResult": "https://google.com/search?q=some-word-that-matches-wildcard",
"error": null,
"includePattern": "http://example.com/*",
@Nitrousoxide
Nitrousoxide / bookworm search-replace.csr
Last active December 12, 2023 16:25
Bookworm - Search and Replace
Mr.
dedication dance
dedication whirl
sleeper
bed
@Nitrousoxide
Nitrousoxide / readme.md
Last active September 3, 2024 21:44
Tree Style Tabs
version: '2'
services:
pihole:
container_name: pihole_no_wireguard
image: pihole/pihole:latest
hostname: pi-hole
mac_address: d0:ca:ab:cd:ef:01
#cap_add: # Uncomment if you want to use Pi-Hole for DHCP
# - NET_ADMIN
javascript:(function() {
/*Create a new bookmark in your web browser.
Edit the bookmark and replace the URL with the generated JavaScript code above.
Save the bookmark.
Navigate to the Mastodon feed page for which you want to extract the RSS URL.
Click on the bookmark you just created.*/
var feedUrl = window.location.href;
@Nitrousoxide
Nitrousoxide / lemmyfollowbookmarklet
Last active June 29, 2023 09:02
Lemmy Follow Bookmarklet
javascript:(function() {
var currentUrl = window.location.href;
var instanceUrl = 'https://beehaw.org'; /*replace this with your local instance's URL with no ending '/' */
var communitySlug = currentUrl.split('/c/')[1];
var originalUrl = currentUrl.split('/')[2];
var subscribeUrl = instanceUrl + '/c/' + communitySlug + '@' + originalUrl;
window.location.href = subscribeUrl;
})();
#!/bin/bash
# Get a list of all volumes
volumes=$(podman volume ls -q)
#get timestamp for unique filename
timestamp=$(date +"%Y%m%d%H%M%S")
# Pause all running containers
echo "Pausing containers for backup"
podman pause $(podman ps -q)