All nodes are running Debian 11 cloud image, architect x86_64, hypervisor kvm (libvirt), kernel 5.10.0-18, kubelet version 1.25.2.
- Install packages
| # enable ipv4 forwarding, under /etc/sysctl.d | |
| net.ipv4.ip_forward=1 |
| #!/usr/bin/env python3 | |
| import os | |
| import argparse | |
| profile_jdk_mapping = { | |
| 'IntelliJIdea': 'idea.jdk', | |
| 'WebStorm': 'webstorm.jdk', | |
| 'PyCharm': 'pycharm.jdk', | |
| 'CLion': 'clion.jdk', |
All nodes are running Debian 11 cloud image, architect x86_64, hypervisor kvm (libvirt), kernel 5.10.0-18, kubelet version 1.25.2.
| /* | |
| * Allow partition auto mounting for desktop environments. | |
| * Put this file in /etc/polkit-1/rules.d/ then add user to the storage or disk group. | |
| */ | |
| // allowed actions | |
| var udisks2_actions = [ | |
| 'org.freedesktop.udisks2.filesystem-mount-system', | |
| 'org.freedesktop.udisks2.filesystem-mount', | |
| ]; |
| #!/bin/bash | |
| PIKA_VERSION=3.2.9 | |
| fetch_pika() { | |
| if [[ ! -d pika ]]; then | |
| git clone https://github.com/Qihoo360/pika.git && cd pika | |
| fi | |
| } |
Notes on configuring ArchWSL on WSL2.
Edit %UserProfile%\.wslconfig:
[wsl2]
swap=0
localhostForwarding=true| .PHONY: all clean | |
| all: sdu-eapol | |
| clean: | |
| rm sdu-eapol | |
| sdu-eapol: sdu-eapol.c | |
| $(CC) -Os -static -s -o $@ $^ |
| #!/usr/bin/python3 | |
| import re | |
| import argparse | |
| from subprocess import Popen, PIPE | |
| YES = "\u2714" | |
| NO = "\u2716" | |
| NA = "N/A" |
| [package] | |
| name = "rustsatest" | |
| version = "0.1.0" | |
| edition = "2018" | |
| [dependencies] | |
| suffix_array = { version = "0.4", default-features = false, features = ["parallel"] } | |
| cdivsufsort = "*" | |
| divsufsort = "*" | |
| suffix = "*" |