Skip to content

Instantly share code, notes, and snippets.

View AaronM04's full-sized avatar

Aaron Miller AaronM04

  • Orange County, CA
  • 03:26 (UTC -07:00)
View GitHub Profile
@AaronM04
AaronM04 / linked_list.rs
Last active March 2, 2020 03:38 — forked from codesections/linked_list.rs
A simple linked list implemented in Rust
#[derive(Debug)]
pub struct LinkedList {
head: Option<Box<Node>>,
tail: Option<*mut Node>,
}
#[derive(Debug)]
struct Node {
value: i32,
next: Option<Box<Node>>,
}
@AaronM04
AaronM04 / window_arrange.py
Created July 10, 2022 06:33 — forked from YuriyGuts/window_arrange.py
Save or restore X11 desktop window arrangement using the wmctrl package
#!/usr/bin/env python3
"""
Save or restore X11 desktop window arrangement.
Requires the `wmctrl` package to work.
Examples:
window_arrange.py save
window_arrange.py restore
window_arrange.py --profile ~/.winlayout-home save