This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # references | |
| # https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system#LVM_on_LUKS | |
| # https://wiki.archlinux.org/title/LVM | |
| # /home mounted on logical volume which resides in LUKS encrypted partition | |
| nvme1n1 259:0 0 1.8T 0 disk | |
| └─nvme1n1p1 259:1 0 1.8T 0 part | |
| └─crypthome 254:3 0 1.8T 0 crypt | |
| └─vg1-home 254:4 0 1.8T 0 lvm /home |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # download generic image from armbian | |
| wget https://de.mirrors.naho.moe/armbian/dl/uefi-arm64/archive/Armbian_22.08.7_Uefi-arm64_bullseye_current_5.15.74_xfce_desktop.img.xz | |
| # decompress | |
| zx -d Armbian_22.08.7_Uefi-arm64_bullseye_current_5.15.74_xfce_desktop.img.xz | |
| # create loopback devices for the image | |
| sudo kpartx -v -a Armbian_22.08.7_Uefi-arm64_bullseye_current_5.15.74_xfce_desktop.img | |
| # extract kernel and initrd (watch out for device name from previous step) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 45W 500kΩ | |
| 65w 370KΩ | |
| 90W 300kΩ | |
| 120W 220kΩ | |
| 150W 120kΩ | |
| 230W 100kΩ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| install freebsd 12.2, on the installation media modify /etc/loader.conf | |
| ### from /boot/loader.conf | |
| comconsole_speed="115200" | |
| console="comconsole" | |
| once installed | |
| ### /boot/loader.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Plank out of the box did not follow the primary display when switching between mobile and docked profile. | |
| This is happennig on arch, as of Jan 2021, xfce, nvidia, zbook g15 g5 | |
| .config/autorandr/postswitch | |
| !/bin/sh | |
| /usr/bin/notify-send -i display "Display profile" "$AUTORANDR_CURRENT_PROFILE" | |
| plank& | |
| .config/autorandr/preswitch | |
| !/bin/sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # get my favourite background | |
| sudo apt-get install gutsy-wallpapers | |
| cd /usr/share/xfce4/backdrops/ | |
| sudo ln -s ../../backgrounds/gutsy-elephant-skin.jpg | |
| # Adjust desktop background with gui | |
| # plank | |
| sudo apt-get install plank | |
| plank --preferences |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ForegroundColour=101,123,131 | |
| BackgroundColour=253,246,227 | |
| CursorColour=220,50,47 | |
| Black=7,54,66 | |
| BoldBlack=0,43,54 | |
| Red=220,50,47 | |
| BoldRed=203,75,22 | |
| Green=133,153,0 | |
| BoldGreen=88,110,117 | |
| Yellow=181,137,0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Bring back displays to reasonable shape after sleep/wakeup. | |
| # This is for ZBook G2 which notoriously turns all displays blank | |
| # and/or makes panning size cover all displays. | |
| # When facing black screens after X11 logon, press Ctrl-Alt-F1, logon on the terminal console and invoke | |
| # Assumes DP-3 is main laptop display | |
| # If invoked as dp-mini-reset - cleans up DP-5 (mini display port) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; When working with more than one remote desktop on windows | |
| ; switching between the remote desktop windows in full screen mode is a horror. | |
| ; This scripts let you change the remote desktop window in a Ctrl-Tab or better Cmd-` way | |
| ; Ctrl-Shift-Tab switches to local desktop (minimizes all remote desktop windows) | |
| ; | |
| ; The key combination is Ctrl-CapsLock and due to nature of remote desktop difficult to change | |
| ; inspired by http://superuser.com/a/305788 | |
| ^Capslock:: ; Ctrl+Caps Lock cycles through active remote desktop clients |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .Extension<IronPython.Compiler.Ast.PythonAst> { | |
| .Extension<Microsoft.Scripting.Ast.LightExpression`1[IronPython.Compiler.LookupCompilationDelegate]> { | |
| .Lambda <unnamed><IronPython.Compiler.LookupCompilationDelegate> | |
| } | |
| } | |
| .Lambda <unnamed><IronPython.Compiler.LookupCompilationDelegate>( | |
| IronPython.Runtime.CodeContext $$globalContext, | |
| IronPython.Runtime.FunctionCode $$functionCode) { | |
| .Label |
NewerOlder