Skip to content

Instantly share code, notes, and snippets.

@yipo
yipo / dash-to-panel-settings.ini
Last active January 26, 2026 15:04
My Ubuntu desktop setup
[/]
appicon-margin=4
appicon-padding=8
multi-monitors=false
panel-element-positions='{"0":[{"element":"showAppsButton","visible":true,"position":"stackedTL"},{"element":"activitiesButton","visible":true,"position":"stackedTL"},{"element":"leftBox","visible":true,"position":"stackedTL"},{"element":"taskbar","visible":true,"position":"centerMonitor"},{"element":"centerBox","visible":true,"position":"stackedBR"},{"element":"rightBox","visible":true,"position":"stackedBR"},{"element":"dateMenu","visible":true,"position":"stackedBR"},{"element":"systemMenu","visible":true,"position":"stackedBR"},{"element":"desktopButton","visible":true,"position":"stackedBR"}]}'
showdesktop-button-width=2
tray-padding=2
window-preview-size=120
@yipo
yipo / apply.sh
Last active January 5, 2026 10:45
My "Dash to Panel" tweaks for an easier switch from Windows to Ubuntu
#!/bin/sh
set -e
dir=/org/gnome/shell/extensions/dash-to-panel/
dconf reset -f "$dir"
dconf load "$dir" < settings.ini
@yipo
yipo / .gitignore
Last active December 1, 2025 08:41
Write Modbus holding registers (using a custom function code).
*.pyc
/.venv/
@yipo
yipo / .gitignore
Last active September 17, 2025 08:46
event message
*.pyc
/.venv/
@yipo
yipo / .gitignore
Last active August 6, 2025 14:00
update event message ids
*.pyc
/.venv/
@yipo
yipo / .gitignore
Last active December 8, 2024 15:58
even up config version
/target
@yipo
yipo / .gitignore
Last active November 13, 2024 14:00
photon ↔ icms (device model)
*.pyc
/.venv/
@yipo
yipo / .gitignore
Last active October 18, 2024 04:40
thingnario logger 1.0
*.pyc
/.venv/
@yipo
yipo / .gitignore
Last active September 27, 2024 02:45
photon ↔ icms
*.pyc
/.venv/
@yipo
yipo / Dockerfile
Last active July 7, 2024 18:29
Build a PowerShell Docker image based on Alpine Linux.
# syntax=docker/dockerfile:1
# Based on the installation instructions on the following page.
# https://learn.microsoft.com/powershell/scripting/install/install-alpine
FROM alpine/curl AS download
ARG package=https://github.com/PowerShell/PowerShell/releases/download/v7.4.3/powershell-7.4.3-linux-musl-x64.tar.gz
RUN curl -L $package -o /tmp/powershell.tar.gz
WORKDIR /tmp/release
RUN tar zxf /tmp/powershell.tar.gz