The minimum kernel version can be configured by passing in the --enable-kernel
parameter to glibc's configure
script.
- Arch Linux - Linux 4.4 (release year: 2016)
...
--enable-kernel=4.4
...
vim9script | |
# vim: sts=4 sw=4 sts=4 et | |
&compatible = false # It's not 1980 anymore, don't care about vi-compatibility | |
syntax on # This should be set by default, but just in case | |
filetype plugin indent on # This should be set by default, but just in case | |
&autowrite = true # Write the contents of the file automatically before many actions | |
&autoread = true # Detect when other programs modify a file we're editing | |
&backspace = 'indent,eol,start' # Allow backspacing over everything in insert mode. | |
&backup = true # Enable backups |
# disabling stuff | |
shell-integration-features = no-cursor | |
resize-overlay = never | |
auto-update = off | |
theme = light:Terminal Basic,dark:MaterialDarker | |
bold-is-bright = true | |
macos-icon = custom-style | |
macos-icon-ghost-color = 000000 |
const credentials = { | |
accessKeyId: "AKIA...", | |
secretAccessKey: "...", | |
} | |
const region = 'eu-west-1' | |
async function dynamoDB(target, body) { | |
const response = await aws4.fetch({ | |
service: 'dynamodb', |
.tabbrowser-tab .tab-close-button { | |
order: -1 !important; | |
padding-inline-start: 6px !important; | |
margin-left: -4px !important; | |
margin-right: -20px !important; | |
z-index: 1 !important; | |
} | |
.tabbrowser-tab .tab-close-button:not(:hover) { | |
color: rgba(0, 0, 0, 0) !important; |
#!/bin/zsh | |
# Generate strace.* files like that: | |
# strace -o strace -D -qqq --no-abbrev -y -Y -s 16384 -ff -ttt --seccomp-bpf -e "trace=fork,vfork,clone,fchdir,chdir,/exec*" -e signal=none [...] | |
emulate sh | |
# Speed up grep and other similar tools | |
export LC_ALL=C |
Connect to the serial console, using scw instance server console {uuid} zone={zone}
Reboot the VM into UEFI settings
Go to Device Manager
-> Network Device List
-> the only network device -> HTTP Boot Configuration
-> Boot URI
# /etc/udev/hwdb.d/90-custom-logitech-mx-mini-mac-keyboard.hwdb | |
evdev:name:MX Keys M Mac Keyboard:* | |
KEYBOARD_KEY_70064=grave # plusminus/paragraph -> grave/tilde | |
KEYBOARD_KEY_700e2=leftmeta # left option -> left windows/super | |
KEYBOARD_KEY_700e3=leftalt # left command -> left alt | |
KEYBOARD_KEY_700e7=rightalt # right command -> right alt | |
# to reload the config, execute: systemd-hwdb update && udevadm trigger |
#!/bin/bash | |
common_mapping=( | |
$' {"HIDKeyboardModifierMappingSrc":0x7000000e7, \n' # <!-- from: right command --> | |
$' "HIDKeyboardModifierMappingDst":0x7000000e6}, \n' # <!-- to: right option --> | |
$' \n' # | |
$' {"HIDKeyboardModifierMappingSrc":0x7000000e6, \n' # <!-- from: right option --> | |
$' "HIDKeyboardModifierMappingDst":0x7000000e7}, \n' # <!-- to: right command --> | |
$' \n' # | |
$' {"HIDKeyboardModifierMappingSrc": 0x7000000E0, \n' # <!-- from: left control --> |
extern printf | |
extern perror | |
extern exit | |
extern puts | |
extern socket | |
extern bind | |
extern listen | |
extern accept | |
extern close | |
extern fdopen |