Skip to content

Instantly share code, notes, and snippets.

View Phate6660's full-sized avatar
๐Ÿ’š
Stay negative.

Cpt.Howdy Phate6660

๐Ÿ’š
Stay negative.
View GitHub Profile
@Phate6660
Phate6660 / lobsters-dark.css
Last active January 16, 2022 08:42
A dark userstyle for https://lobste.rs that aims to be simple and robust.
body, textarea, input, button {
font-size: 11px;
}
a {
color: green;
}
p>a {
color: green !important;
@Phate6660
Phate6660 / test.rs
Created September 26, 2021 01:58
A WIP for incorporating testing into crusty, as well as an example echo check function
#[test]
fn echo_check() {
use crate::{ShellState, process_input};
let mut shell_state = ShellState::init();
let success = process_input(&mut shell_state, "echo test".to_string());
assert!(success, "echo test failed!");
}