Skip to content

Instantly share code, notes, and snippets.

🎛️ 🔊

Moritz »mo.« Sauer Phlow

🎛️ 🔊
View GitHub Profile
Phlow / index.html
Created Feb 21, 2020
Platzhalter Website mit ASCII Art
View index.html
<!doctype html>
<html class="no-js" lang="de">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Unsere Schlümpfe bauen gerade die Website</title>
body {font-size: 1.2em; padding:1em;background: #ECDBB8;color: #850C3A;}
Phlow / _phlow.yml
Last active Jan 4, 2020
Three templates for asciidoctor-pdf #asciidoctor #style #template
View _phlow.yml
# Noto Serif supports Latin, Latin-1 Supplement, Latin Extended-A, Greek, Cyrillic, Vietnamese & an assortment of symbols
Open Sans:
normal: OpenSans-Regular.ttf
bold: OpenSans-Bold.ttf
italic: OpenSans-Italic.ttf
bold_italic: OpenSans-BoldItalic.ttf
Open Sans Condensed:
normal: OpenSansCondensed-Light.ttf
Phlow /
Created Feb 14, 2018
Guetzli JPG/JPEG Optimizer – This little script compresses JPG-files and shows you how many bytes Guetzli saved.
# Guetzli JPG/JPEG Optimizer
# This little script compresses JPG-files and shows you how
# many bytes Guetzli saved you in the progress. Change the
# variable QUALITY to change the quality of the compression.
Phlow / loop-category.liquid
Last active Feb 5, 2018
This Liquid loop for Jekyll loops through a defined category of your choice. Use this code-snippet as an include
View loop-category.liquid
{% comment %}
* This loop loops through a category of your choice and lists
* all entries. To address the category of your linking use the
* include like this:
* {% include loop-category category='webdesign' %}
{% endcomment %}
Phlow /
Last active Mar 10, 2017
Fonts Schriften Linux Installation installieren
# Get script › wget
# Google Fonts
cd && wget
chmod +x install-google-fonts
# Linux Libertine und EB Garamond
sudo apt-get install ttf-linux-libertine
sudo apt-get install fonts-ebgaramond fonts-ebgaramond-extra
sudo apt-get install ttf-mscorefonts-installer
Phlow / template.adoc
Created Mar 6, 2017
Asciidoc Asciidoctor Starter Template for Articles
Phlow /
Last active Jan 23, 2018
Ask for a title and create a post for Jekyll in _posts and open in in your favorite editor
# Create a post for Jekyll
# Configuration
DATE=`date +%Y-%m-%d`
DOCFORMAT='md' # Without Point (!)
Phlow /
Last active Dec 6, 2017
This script makes a copy of images, resizes the copied images and renames the copied images with the correct width and height. The information gets the script from sips.
# 1. This script copies all *.jpg-files to a new folder
# 2. Jumps into folder and resizes all files with sips
# 3. Renames all files and uses information from sips
width="160" # not used
Phlow /
Last active Sep 11, 2019
Favicon Generator: Generate favicons on Mac OSX via bash/shell with the help of sips command. Than optimize the images with ImageOptim (App)
# Dieses Script fragt nach einer Bildatei, die dann in die
# verschiedenen Favicon-Größen mittels sips-Kommandos
# umgewandelt werden. Ist auf dem Rechner das Programm
# ImageOptim installiert, dann werden die Bilddateien
# anschließend verlustlos optimiert.
# Farben in Variablen schreiben (schönerer Output)
Phlow /
Last active Jan 12, 2017
Bash Script um Dateien mit eigenem Entstehungsdatum und einer gewünschten Zeichenfolge umzubenennen.
# Rename Files with Date from File plus Extra Characters
# Farben zurücksetzen
printf '\e[0m'
echo " ____ ____ ____ ____ ____ ____ ____ "
echo " ||R |||e |||n |||a |||m |||e |||r ||"
echo " ||__|||__|||__|||__|||__|||__|||__||"
echo " |/__\|/__\|/__\|/__\|/__\|/__\|/__\|"
You can’t perform that action at this time.