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;
}| #! /usr/bin/env python3 | |
| # Adapted from [email protected] | |
| # see https://github.com/grzegorz914/homebridge-enphase-envoy | |
| # <xbar.title>Enphase Solar (Averages)</bitbar.title> | |
| # <xbar.version>v1.2</xbar.version> | |
| # <xbar.author>Jason Snell</xbar.author> | |
| # <xbar.author.github>jasonsnell</xbar.author.github> | |
| # <xbar.desc>Display local Enphase solar stats.</xbar.desc> | |
| # <swiftbar.hideAbout>true</swiftbar.hideAbout> |
| # synthy-balls.py -- use rotary encoder to launch balls that play notes when bouncing | |
| # 20 Aug 2024 - @todbot / Tod Kurt | |
| # video demo: https://youtu.be/cCTPtk6KQQk | |
| import time, random, math | |
| import board | |
| import busio, displayio, terminalio | |
| import rotaryio, keypad | |
| import audiobusio, audiocore, audiomixer, synthio | |
| import gc9a01 | |
| #from adafruit_display_text import bitmap_label as label |
| #!/usr/bin/env python3 | |
| #exec tail -n +3 $0 | |
| # Be careful not to change | |
| # the 'exec tail' line above. | |
| # This script lives in /etc/grub.d/ | |
| # 2015,2022 Ralph Versteegen | |
| # The menuentry template was orginally generated by /etc/grub.d/10_linux |
| #!/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 | |
| // 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 |
| #!/bin/sh | |
| set -e | |
| basedir=`pwd` | |
| mkdir -p "$basedir/github.com/jvburnes" | |
| git clone https://github.com/jvburnes/node9 "$basedir/github.com/jvburnes/node9" | |
| mkdir -p "$basedir/github.com/stevedonovan" | |
| git clone https://github.com/stevedonovan/Penlight "$basedir/github.com/stevedonovan/Penlight" |