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
...
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 |
.eqv SYS_PRINT_INT 1 | |
.eqv SYS_READ_INT 5 | |
.eqv SYS_MALLOC 9 | |
.eqv SYS_EXIT 10 | |
.eqv SYS_PRINT_CHAR 11 | |
.eqv SYS_READ_CHAR 12 | |
# macros that push register(s) to the stack | |
.macro push (%a) |
#include <iostream> | |
#include <memory> | |
#include <json/value.h> | |
#include <json/reader.h> | |
#include <json/writer.h> | |
#include <unistd.h> | |
#include <string.h> | |
#include <errno.h> | |
#include <stdio.h> | |
#include <ext/stdio_filebuf.h> |