Skip to content

Instantly share code, notes, and snippets.

View ejmg's full-sized avatar
💾

ejmg ejmg

💾
View GitHub Profile
@hplewis
hplewis / netctl-rit
Last active August 16, 2021 17:26
netctl config file for RIT's wpa2 enterprise wireless network
Description='RITnet'
Interface=
Connection=wireless
Security=wpa-configsection
IP=dhcp
ESSID=RIT
WPAConfigSection=(
'ssid="RIT"'
'key_mgmt=WPA-EAP'
'eap=PEAP'
@shift
shift / usb-booted
Last active May 16, 2019 11:28
ArchLinux for Dell XPS 13 9370 4K 16GB/512GB NVME
# This assumes a wifi only system...
wifi-menu
# Grab latest mirror list for Germany sorted by speed IPv4 only.
curl -o /etc/pacman.d/mirrorlist https://www.archlinux.org/mirrorlist/?country=DE&protocol=https&ip_version=4&use_mirror_status=on
sed -i 's/\#Server/Server/g' /etc/pacman.d/mirrorlist
# Create partitions
cgdisk /dev/nvme0n1
1 512MB EFI partition # Hex code ef00
use std::env;
use std::io::{self, Write};
use std::process::{self, Command};
fn main() -> io::Result<()> {
let mut shell = Shell::new();
shell.spawn()
}
struct Shell {
use std::io::{self, Write};
use std::process::{Command, Output, ExitStatus};
fn main() -> io::Result<()> {
let mut shell = Shell::new();
shell.spawn()
}
struct Shell {
input_history: Vec<String>,
"""Example usage:
In [1]: !cat ayy.s
.text
.global _start
.type _start, @function
_start:
movq $10, %rdx
pushw $10