Skip to content

Instantly share code, notes, and snippets.

View chhaugen's full-sized avatar

Carl Henning Haugen chhaugen

  • Norway, Viken
View GitHub Profile
chhaugen / google_search_maps_addon.user.js
Last active April 17, 2024 11:36 — forked from Daan-Grashoff/google_search_maps_addon.js
Bring back the google maps button when searching on google
// ==UserScript==
// @name Google maps addon
// @namespace
// @version 2024-03-21
// @description Bring google maps button back
// @author You
// @match*
// @include*
// @icon
// @grant none
chhaugen /
Last active April 21, 2021 22:16
How to make Signal open (as a tray icon) on startup on Windows 10

How to make Signal open (as a tray icon) on startup on Windows 10

Copying the shortcut:

  1. Select the Start button and scroll to find Signal.
  2. Right-click Signal, select More, and then select Open file location. This opens a file folder window for the location where the shortcut of Signal is saved.
  3. With the file location open, press the Windows logo key + R, type shell:startup, then select OK. This opens the Startup folder. You now have 2 folder windows open: "Programs" and "Startup".
  4. Copy and paste the Signal shortcut from the "Programs" file folder window to the "Startup" folder by right-clicking on Signal shortcut, Copy, go to Startup folder, right-click, Paste Shortcut.

Editing the shortcut:

chhaugen / UnprivilegedLXCContainersMappingNotes.txt
Last active February 28, 2021 02:33
Notes that helped me figure out the mapping scheme.
To me, it seams like its supposed to remap all of the containers {u,g}ids.
So the important detail is that all of the containers id need to be maped, not the hosts.
Please correct me if I'm wrong.
I added "symbols" to make the syntax more readable, and some show the result on the nest line.
0 -> 100000 x 124
0-123 -> 100000-100123
124 -> 1004 x 1