Skip to content

Instantly share code, notes, and snippets.

View lszl84's full-sized avatar

Luke | DevMindscape lszl84

View GitHub Profile
@lszl84
lszl84 / setup-gnome-fedora.sh
Last active April 28, 2026 13:44
Replicate my GNOME setup on Fedora 43+: Dash to Panel + ArcMenu + Tiling Shell with my exact dconf, plus dnf5-automatic security-only updates
#!/usr/bin/env bash
# ----------------------------------------------------------------------------
# Replicate my GNOME setup on a fresh Fedora 43+ install.
#
# - Dash to Panel (with my exact panel layout, sizing, transparency, colors)
# - ArcMenu (Fedora-logo button, Super_L hotkey)
# - Tiling Shell (custom 5-tile layout, gaps, Super-arrow keybinds)
# - Dark mode (Adwaita-dark + prefer-dark color scheme)
#
# Usage on the target machine (inside a GNOME session):
@lszl84
lszl84 / wx-transparency-windows.md
Last active April 1, 2023 10:49
Drawing transparent elements with wxWidgets on Windows

wxWidgets does not seem to support custom controls with transparent backgrounds on Windows. A workaround for drawing something that needs transparency (like a rounded rectangle, or an image with the alpha channel) would be to first clear the background using the parent's color and then draw the content, like this:

    void OnPaint(wxPaintEvent &event)
    {
        wxPaintDC dc(this);
        dc.SetBackground(GetParent()->GetBackgroundColour());
        dc.Clear();

 wxImage image("button.png", wxBITMAP_TYPE_PNG);
@lszl84
lszl84 / README.md
Created May 29, 2022 20:16
Run MAUI iOS app with Team Provisioning directly on Mac OS
  1. Create XCode iOS project with Team Provisioning and some unique Bundle Identifier (e.g. com.somecompany123.mymauiapp),
  2. Make sure the project builds and run in on your device,
  3. Delete the resulting app from the iOS device,
  4. Create MAUI project
$ dotnet new maui -n "MyMauiApp"
$ cd MyMauiApp