This file contains 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
function cdf() { cd `find . -type d -name "$1" | head -n1`; } |
This file contains 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::io; | |
use std::io::Write; | |
fn main() { | |
let mut input = String::new(); | |
let result = io::stdin().read_line(&mut input) | |
.map(|s:usize| input) | |
.and_then(|s:String| s.parse::<u32>()); |
This file contains 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
# requires python 3 | |
import getpass | |
import hashlib | |
import random | |
#from typing import List | |
import sys | |
import math |