Skip to content

Instantly share code, notes, and snippets.

View zynaxsoft's full-sized avatar
🪲
🧊

Tanapol Prucksakorn zynaxsoft

🪲
🧊
View GitHub Profile
alias l='ls -lFh' #size,show type,human readable
alias la='ls -lAFh' #long list,show almost all,show type,human readable
alias lr='ls -tRFh' #sorted by date,recursive,show type,human readable
alias lt='ls -ltFh' #long list,sorted by date,show type,human readable
alias ll='ls -l' #long list
alias ldot='ls -ld .*'
alias lS='ls -1FSsh'
alias lart='ls -1Fcart'
alias lrt='ls -1Fcrt'
fn main() {
let mut origin = Node::new(1);
let child = Node::new(2);
origin.push(&child);
let iter = NodeIterator {
end: false,
head: &origin,
};
use std::collections::VecDeque;
use std::time::Instant;
macro_rules! dump_screen_old {
($lines:expr) => {{
let mut is_first = true;
let mut buf = "".to_owned();
for line in &$lines {
if line.is_canonical && !is_first {