This file contains hidden or 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
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' |
This file contains hidden or 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
fn main() { | |
let mut origin = Node::new(1); | |
let child = Node::new(2); | |
origin.push(&child); | |
let iter = NodeIterator { | |
end: false, | |
head: &origin, | |
}; | |
This file contains hidden or 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::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 { |
OlderNewer