A silly little countdown until ski season starts!
A Pen by Sam Dennon on CodePen.
A silly little countdown until ski season starts!
A Pen by Sam Dennon on CodePen.
# Warning: This config does not include keys that have an unset value | |
# $all is shorthand for $username$hostname$localip$shlvl$singularity$kubernetes$nats$directory$vcsh$fossil_branch$fossil_metrics$git_branch$git_commit$git_state$git_metrics$git_status$hg_branch$pijul_channel$docker_context$package$bun$c$cmake$cobol$daml$dart$deno$dotnet$elixir$elm$erlang$fennel$gleam$golang$gradle$haskell$haxe$helm$java$julia$kotlin$lua$mojo$nim$nodejs$ocaml$odin$opa$perl$php$pulumi$purescript$python$quarto$raku$rlang$red$ruby$rust$scala$solidity$swift$terraform$typst$vlang$vagrant$zig$buf$guix_shell$nix_shell$conda$meson$spack$memory_usage$aws$gcloud$openstack$azure$direnv$env_var$crystal$custom$sudo$cmd_duration$line_break$jobs$battery$time$status$container$os$shell$character | |
"$schema" = "https://starship.rs/config-schema.json" | |
format = "$all" | |
right_format = "" | |
continuation_prompt = "[∙](bright-black) " | |
scan_timeout = 30 | |
command_timeout = 500 | |
add_newline = true |
balena-engine volume ls
balena-engine volume ls -f dangling=true
balena-engine volume rm volume_name volume_name
balena-engine volume prune
@import url(https://fonts.googleapis.com/css?family=Roboto|Roboto+Slab|Source+Code+Pro|Satisfy);.checkbox,.radio,button,input,label,select,textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.search:after,.search:before{width:6px;content:'';position:absolute}.option,.search{position:relative}.button,.pagination,.switch>label{text-align:center}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.button-dropdown.open>.dropdown,.button-dropdown:hover>.dropdown,.dropdown:hover,article,aside,details,figcaption,figure,footer,header,hgroup,input:checked+.checkbox:before,input: |
import board | |
import busio | |
# Use GPIO 5 as SCL and GPIO 4 as SDA | |
i2c = busio.I2C(board.GP5, board.GP4) | |
def scan_i2c_addresses(i2c): | |
while not i2c.try_lock(): | |
pass |
/org/gnome/desktop/interface/font-hinting 'slight'
/org/gnome/desktop/interface/font-antialiasing 'grayscale'
/org/gnome/tweaks/show-extensions-notice false
/org/gnome/desktop/interface/monospace-font-name
#!/bin/bash | |
# (c) 2023//Sam Dennon | |
# Keep this 'dry' | |
touchpad="org.gnome.desktop.peripherals.touchpad" | |
# List of gnome settings to change | |
gnome_settings=( | |
"accel-profile 'default'" |
#!/usr/bin/env bash | |
# Define an array of Braille patterns for a spinner | |
six_dot_cell_pattern=("⠙" "⠹" "⠸" "⠼" "⠴" "⠦" "⠧" "⠇") | |
eight_dot_cell_pattern=("⣾" "⢿" "⡿" "⣷" "⣯" "⢟" "⡻" "⣽") | |
# Set the pattern | |
braille_spinner=("${eight_dot_cell_pattern[@]}") | |
# Set the duration for each spinner frame (in seconds) |