This was transpiled completely from code and other links found on a1k0n.net.
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
//PseudoJSON {name:evaluateeFunc,file:evaluatee-file-name,line:evaluatee-line,column:evaluatee-column,evaluater:{name:middleEvaluater,evaluater:{name:evaluaterFunc,file:evaluater-file-name,line:evaluater-line,column:evaluater-column}}} | |
//Stack at {evaluateeFunc} (eval at {middleEvaluater} (eval at {evaluaterFunc} ({evaluater-file-name}:{evaluater-line}:{evaluater-column})), {evaluatee-file-name}:{evaluatee-line}:{evaluatee-column}) | |
//PseudoJSON {name:evaluateeFunc,file:evaluatee-file-name,line:evaluatee-line,column:evaluatee-column,evaluater:{name:evaluaterFunc,file:evaluater-file-name,line:evaluater-line,column:evaluater-column}} | |
//Stack at {evaluateeFunc} (eval at {evaluaterFunc} ({evaluater-file-name}:{evaluater-line}:{evaluater-column}), {evaluatee-file-name}:{evaluatee-line}:{evaluatee-column}) | |
//PsuedoJSON {name:funcName,file:file-name,line:line,column:column} | |
//Stack at {funcName} ({file-name}:{line}:{column}) | |
//PseudoJSON {name:<anonymous>,file:file-name,line:line,column:column} | |
//Stack at {file-name} |
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
mod::traits::iterator fn test_lt | |
mod fn test_multi_iter | |
mod::traits::iterator fn test_cmp_by | |
mod::traits::iterator fn test_partial_cmp_by | |
mod::traits::iterator fn test_eq_by | |
mod fn test_counter_from_iter | |
mod::adapters::chain fn test_iterator_chain | |
mod::adapters::chain fn test_iterator_chain_nth | |
mod::adapters::chain fn test_iterator_chain_nth_back | |
mod::adapters::chain fn test_iterator_chain_last |
I hereby claim:
- I am danii on github.
- I am daniihh (https://keybase.io/daniihh) on keybase.
- I have a public key ASDbvvJvVZn1_ezapmOp4ujimyekAkiBdq2VNyz73xviWQo
To claim this, I am signing this object:
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::{ | |
collections::VecDeque, | |
future::Future, | |
io::{Error as IOError, ErrorKind as IOErrorKind, Result as IOResult}, | |
ops::Try, | |
pin::Pin, | |
task::{Context, Poll} | |
}; | |
use tokio::{fs::File, io::{AsyncRead, AsyncWrite, ReadBuf}, process::Child}; |
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
#!/bin/sh | |
AWK_XRANDR_PARSE='/ connected/ { | |
split($3,sizePos,"+") | |
split(sizePos[1],size,"x") | |
print size[1] "," size[2] "," sizePos[2] "," sizePos[3] | |
}' | |
# Fetches a wallpaper for the monitor of size $1x$2. $1 is the required width, | |
# and $2 is the required height. |
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::iter::{empty, once}; | |
macro_rules! iter { | |
() => {empty()}; | |
($first:expr $(, $($rest:expr),*)?) => { | |
once($first).chain(iter![$($($rest),*)?]) | |
} | |
} |
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
# danii 2021 do not steal | |
FILE=$(realpath $1) | |
WD=$(mktemp -d) | |
cd $WD | |
printf '%s' "$WD" | |
split -b100000000 "$FILE" ./data | |
ls | xargs -P5 -I{} uploadr {}; | |
rm -r $WD |