You just have to source this file.
LVM on LUKS Arch installation with systemd-boot
Sources:
- https://wiki.archlinux.org/index.php/Installation_guide
- https://wiki.archlinux.org/index.php/Dm-crypt/Encrypting_an_entire_system
Note: If you want a simpler encryption setup (with LUKS only), you can instead use the archinstall "guided" installer included with Arch since April 2021.
This file contains 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 | |
# Source: https://faq.i3wm.org/question/2172/how-do-i-find-the-criteria-for-use-with-i3-config-commands-like-for_window-eg-to-force-splashscreens-and-dialogs-to-show-in-floating-mode.1.html | |
# i3-get-window-criteria - Get criteria for use with i3 config commands | |
# To use, run this script, then click on a window. | |
# Output is in the format: [<name>=<value> <name>=<value> ...] | |
# Known problem: when WM_NAME is used as fallback for the 'title="<string>"' criterion, | |
# quotes in "<string>" are not escaped properly. This is a problem with the output of `xprop`, | |
# reported upstream: https://bugs.freedesktop.org/show_bug.cgi?id=66807 |
This file contains 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
default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam' | |
default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes' | |
default['sshd']['sshd_config']['PasswordAuthentication'] = 'no' |
This file contains 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
#### !!! THIS GIST IS OBSOLETE !!! #### | |
# | |
# There is now built-in support for transient kubecontext | |
# in Powerlevel10k. | |
# | |
# See: https://github.com/romkatv/powerlevel10k/#show-on-command | |
# | |
#### !!! THIS GIST IS OBSOLETE !!! #### | |
# Run this function from ~/.zshrc to enable transient kubernetes and/or azure |
This file contains 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
#!/usr/bin/env python3 | |
trans_dict = { | |
'\U0000f500': '\U000f0001', # vector_square | |
'\U0000f501': '\U000f0003', # access_point | |
'\U0000f502': '\U000f0002', # access_point_network | |
'\U0000f503': '\U000f0004', # account | |
'\U0000f504': '\U000f0005', # account_alert | |
'\U0000f505': '\U000f0006', # account_box | |
'\U0000f506': '\U000f0007', # account_box_outline |
This file contains 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
" Have j and k navigate visual lines rather than logical ones | |
nmap j gj | |
nmap k gk | |
" Go to beginning/end of line | |
nmap gh ^ | |
nmap gl $ | |
" Cycle between tabs | |
exmap tabprev obcommand workspace:previous-tab |