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
Description='RITnet' | |
Interface= | |
Connection=wireless | |
Security=wpa-configsection | |
IP=dhcp | |
ESSID=RIT | |
WPAConfigSection=( | |
'ssid="RIT"' | |
'key_mgmt=WPA-EAP' | |
'eap=PEAP' |
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 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 |
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
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 { |
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
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>, |
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
"""Example usage: | |
In [1]: !cat ayy.s | |
.text | |
.global _start | |
.type _start, @function | |
_start: | |
movq $10, %rdx | |
pushw $10 |
NewerOlder