Skip to content

Instantly share code, notes, and snippets.

@AntonFriberg
AntonFriberg / README.md
Last active March 30, 2026 15:10
How to install and configure a basic Hyprland setup on Ubuntu 24.04 using Nix and Home Manager

Hyprland on Ubuntu 24.04

Hyprland is not available by default on Ubuntu 24.04 so instead we can utilize the Nix package manager and Home Manager.

Nix

The benefit of the Nix package manager compared to others in this case is that the package and dependencies of Nix packages is immutable and self contained. This means that the entire setup is contained to a separate /nix

@tsjensen
tsjensen / gitlab-move-project-with-containers.md
Last active August 18, 2025 07:57
Instructions on how to move a GitLab project with lots of container images in its registry

Move a GitLab project including container registry

This little post describes how to move ("transfer") a GitLab project to another subgroup, when that project includes a container registry with lots of container images. GitLab does not support moving projects with container images.

Prerequisites

  • Maintainer privileges on SOURCE_PROJECT and TARGET_PROJECT
@macshome
macshome / defang.md
Last active March 22, 2026 19:00
How to defang system protections on macOS

How to Defang macOS System Protections

If you want to change things on the root drive of a Mac you will need to take some steps to disable the built in security of the system. Most of these steps are the same regardless if you are on Intel or Apple Silicon. If there is a difference it is noted.

Note that all of these things put a Mac into an unsupported and less secure state.

Make sure you either perform these steps in a VM or that you reset the protections after you are done poking around

Protections and Terms

(This list is not exahustive on the details of each. Check the links at the end for more info.)

@frafra
frafra / .gitlab-ci.yml
Created November 6, 2020 15:46
Build containers with GitLab CI without root nor daemons by using buildkit
build-container:
stage: build
image:
name: moby/buildkit:rootless
entrypoint: [ "sh", "-c" ]
variables:
BUILDKITD_FLAGS: --oci-worker-no-process-sandbox
before_script:
- |
mkdir ~/.docker
@harrisonlingren
harrisonlingren / fix_windows.bat
Last active November 11, 2024 02:03
A script to fix Windows 10 shit
@rem *** Disable Some Service ***
sc stop DiagTrack
sc stop diagnosticshub.standardcollector.service
sc stop dmwappushservice
sc stop WMPNetworkSvc
sc stop WSearch
sc config DiagTrack start= disabled
sc config diagnosticshub.standardcollector.service start= disabled
sc config dmwappushservice start= disabled
@parmentf
parmentf / GitCommitEmoji.md
Last active May 2, 2026 17:31
Git Commit message Emoji