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 ext='cd ~/projects/metamask-extension' | |
alias mobile='cd ~/projects/metamask-mobile' | |
# lock the screen | |
alias afk='xdg-screensaver lock' | |
alias away=afk | |
# copy paste lifted from OSX | |
alias pbcopy='xclip -selection clipboard' | |
alias pbpaste='xclip -selection clipboard -o' |
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::HashSet; | |
struct Quad(Vec<Vec<Cell>>); | |
struct Row(Vec<Cell>); | |
struct Cell(u8); | |
impl Quad { | |
fn is_valid(&self) -> bool { | |
let mut values = HashSet::new(); |
OlderNewer