Skip to content

Instantly share code, notes, and snippets.

@yipo
yipo / README.md
Last active February 12, 2026 19:59
My Ubuntu desktop setup

Ubuntu Desktop Setup

These are my scripts for setting up a handy Ubuntu desktop. They also include solutions to problems people may hit when migrating from Windows to Ubuntu, based on my own experience. With Make, you can select the features you want by choosing targets.

Usage

  • Install the prerequisite:

sudo apt update

@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