This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==UserStyle== | |
@name youtube.com - 01/12/2022 12:45:43 | |
@namespace github.com/openstyles/stylus | |
@version 1.0.0 | |
@description Mitigates Youtube Enshittification, and provides a better video list UI (👋 Google, 🤙 if you want tips about what a normal user actually wants…) | |
@author 7ute | |
==/UserStyle== */ | |
@-moz-document domain("youtube.com") { | |
#contents.ytd-rich-grid-renderer { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:lts-slim AS base | |
WORKDIR /app | |
EXPOSE 4321 | |
ENV HOST=0.0.0.0 | |
ENV PORT=4321 | |
ENV PNPM_HOME="/pnpm" | |
ENV PATH="$PNPM_HOME:$PATH" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($request_uri ~ "([^\?]*)\?unwantedParam=(.*)") { | |
rewrite ^ "https://www.example.org?" permanent; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* These class and hook allow exposing your data to Yoast, for it to build | |
* the sitemap, split it correctly in multiple pages every 1000 entries, | |
* and add it to its index. Here's a list of the placeholders I used : | |
* - MY_NAMESPACE: your Plugin/theme/custom namespace | |
* | |
* - MY_CUSTOM_DATATYPE: The type of data you're exposing in those sitemaps | |
* - MY_CUSTOM_DATATABLE: Database table hosting your data |