{{ message }}

Instantly share code, notes, and snippets.

# Leo Merkel Lego2012

Created Jun 21, 2022
View Excel: Formeln.md

## Summe berechnen

Wenn du mehrere Zahlen miteinander addieren möchtest, kannst du die Summen Funktion verwenden. Diese sieht so aus:

``````=SUMME(Bereich)
``````

## Multiplizieren

Auch für die Multiplikation gibt es eine Excel Formel: Das Produkt. Damit kannst du Zahlen, die in einem bestimmten Zellbereich stehen, miteinander multiplizieren. Die Funktion sieht so aus:

``````=PRODUKT(Bereich)
``````
Last active Jun 16, 2022
View 11ty: renderTemplate and renderFile.md

First things first, we have to require and initialize the plugin in our 11ty configuration file (`.eleventy.js` in our root). Important to note, this plugin is bundled with 11ty as of version 1.0.0.

This gives us access to two new template tags: `renderTemplate` and `renderFile`

``````// Require the plugin
const { EleventyRenderPlugin } = require("@11ty/eleventy");

module.exports=function(eleventyConfig)
// Initialize the plugin
``````
Created Jun 6, 2022
View HTML: Favicon einbinden.md
``````<link
rel="shortcut icon"
type="image/png"
href="images/favicon-32x32.png"
/>
``````
Created Jun 6, 2022

Von Brad Traversy im Projekt "loopstudio".

Die Klasse `open` wird für JavaScript und das Öffnen verwendet.

``````/* Hamburger Menu */
.hamburger {
cursor: pointer;
width: 24px;
height: 24px;
``````
Last active Jun 2, 2022
View CSS: Useful tricks URL.md

HTML:

``````<a href="http://example.com">Example</a>
``````

CSS:

``````@media print {
``````
Created Jun 2, 2022
View Terminal: Move from subfolder and delete empty folder.md

I’d just run a shell script on the sub-folder and then delete it.

Something like this:

``````#!/bin/zsh -f

TIME=`strftime "%Y-%m-%d--%H.%M.%S" "\$EPOCHSECONDS"`
``````
Created Jun 1, 2022
View HTML: Show Browser Width Function.html
This file contains 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


Created May 11, 2022
View Terminal: A-Z Index of the command line.md

/Users/leo/Sites/_Stuff/Websites Assets/Backup und Bash Scripts/An A-Z Index of the Apple macOS command line.pdf

Created May 11, 2022
View NPM: Autoprefixer.md

CSS Prefixes are easy with Autoprefixer

``````npm install –global postcss-cli autoprefixer
``````
``````postcss –use autoprefixer *.css -d build/
``````
Created May 11, 2022
View Tailwind CSS: npm script.md

Für die Tailwind Minifizierung im Build wird kein Plugin benötigt. Der Schalter `--minify` reicht dafür aus.

``````"scripts": {
"start": "npm run dev:tailwind",
"build": "npm run build:tailwind",
"dev:tailwind": "npx tailwindcss -i ./src/tailwind.css -o ./public/tailwind.css -w",
"build:tailwind": "NODE_ENV=production npx tailwindcss -i ./src/tailwind.css -o ./public/tailwind.css --minify"
},
``````