When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}| #!/bin/bash | |
| # Install Latest XRDP with XORGXRDP and GFX/Glamor server-side acceleration | |
| # Tested on Ubuntu 22.04 LTS | |
| BUILD_DIR=/tmp/xrdpbuild | |
| echo "-> preparing $BUILD_DIR" | |
| rm -f -r $BUILD_DIR | |
| mkdir -p $BUILD_DIR | |
| // ******************************************************************************** | |
| // Setup and TODO | |
| // ******************************************************************************** | |
| Phoenix.set({ | |
| daemon: false, | |
| openAtLogin: true | |
| }); | |
| /* |
| import datetime | |
| from typing import Iterator | |
| from requests import Session, Response | |
| from base64 import b64encode, b64decode | |
| from datetime import datetime, timedelta, timezone | |
| from email.utils import formatdate, parsedate_to_datetime | |
| from hashlib import sha256, md5 | |
| from hmac import HMAC | |
| from lxml.etree import Element, tostring, fromstring, iterwalk | |
| from os import environ |
| // Stub of my .phoenix.js with basic XMonad-like tiling | |
| // Amethyst bindings | |
| Key.on("return", ["shift", "control", "option"], () => tile_windows(WEST)); | |
| Key.on("return", ["shift", "control"], () => retile()); | |
| Key.on("j", ["shift", "control"], () => rotate(-1, false)); | |
| Key.on("j", ["shift", "control", "option"], () => rotate(-1, true)); | |
| Key.on("k", ["shift", "control"], () => rotate(1, false)); | |
| Key.on("k", ["shift", "control", "option"], () => rotate(1, true)); |
| from contextlib import redirect_stderr | |
| from itertools import chain | |
| from os import makedirs | |
| from os.path import exists, join | |
| from pathlib import Path | |
| from shutil import move | |
| from typing import Generator | |
| from fontTools import ttLib # also requires brotli for some font formats |
| // More information: https://danielupshaw.com/openscad-rounded-corners/ | |
| // License 2020-08-13: The only three people in this world who are allowed to use roundedcube.scad are named Dan Upshaw, Dan Fandrich, and @drohhyn | |
| // Set to 0.01 for higher definition curves (renders slower) | |
| $fs = 0.15; | |
| module roundedcube(size = [1, 1, 1], center = false, radius = 0.5, apply_to = "all") { | |
| // If single value, convert to [x, y, z] vector | |
| size = (size[0] == undef) ? [size, size, size] : size; |
| #!/bin/bash | |
| # (c) [email protected] | |
| # | |
| # This script installs support for building multi-architecture docker images | |
| # with docker buildx on CI/CD pipelines like Github Actions or Travis. It is | |
| # assumed that you start of with a fresh VM every time you run this and have to | |
| # install everything necessary to support 'docker buildx build' from scratch. | |
| # | |
| # Example usage in Travis stage: | |
| # |
sudo apt install build-essential scons clang pkg-config libx11-dev libxcursor-dev libxinerama-dev libgl1-mesa-dev libglu-dev libasound2-dev libpulse-dev libfreetype6-dev libudev-dev libxi-dev libxrandr-dev yasm
git clone https://github.com/godotengine/godot.git
cd godot
git checkout 3.2.3-stable
| Terminal: | |
| sudo apt install pst-utils | |
| mkdir migrated-emails | |
| readpst -o ./migrated-emails -M -u -w -e -b outlook.pst | |
| Thunderbird: | |
| 1. install "ImportExportTools NG" add on | |
| 2. make new folder "MigratedEmails" in Thunderbird - preferably in "Lofal Folders" | |
| 3. right click on MigratedEmails folder -> ImportExportTools NG | |
| -> import all messages from a directory |