Skip to content

Instantly share code, notes, and snippets.

View Lego2012's full-sized avatar

Leo Merkel Lego2012

View GitHub Profile
{
"extends": "astro/tsconfigs/base",
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["src/*"],
"@components/*": ["src/components/*"],
"@data/*": ["src/data/*"],
"@images/*": ["src/images/*"],
"@layouts/*": ["src/layouts/*"],
/*
* Kevin Powell
* https://youtu.be/cCAtD_BAHNw
*/
*, *::before, *::after {
box-sizing: border-box;
}
* {
/* Antiflesh */
#FAFAFA
/* OFF White */
#FBFBFB
/* Alice Blue */
#F0F8FF
/* Ivory */

CD into the parent folder, then

find 2023 -type d | xargs -I{} mkdir -p 2024/{}
<!--Set active class on nav when the page is active -->
<script>
const nav = document.querySelector(".navbar");
const navLinks = nav.querySelectorAll("a");
const currentURL = window.location.href;
navLinks.forEach((link) => {
if (link.href === currentURL) {
link.classList.add("active");
}
});
@Lego2012
Lego2012 / navbar.astro
Created November 30, 2023 17:42 — forked from leabs/navbar.astro
Astro - Set active class on Navbar component.
<!--Set active class on nav when the page is active -->
<script>
const nav = document.querySelector(".navbar");
const navLinks = nav.querySelectorAll("a");
const currentURL = window.location.href;
navLinks.forEach((link) => {
if (link.href === currentURL) {
link.classList.add("active");
}
});

Which Filters

Die Dateien blacklist.filter, filter und filter-v4150 in $home/Library/Application Support/SynologyDrive/SynologyDrive.app/Contents/Resources/conf bekommen diesen Inhalt:

[Version]

major = 1

minor = 1
/* Basic reset and base styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
/* Basic Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
line-height: 1.6;