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
let result = vec![ | |
("paper", "paper"), | |
("paper", "scissor"), | |
("paper", "stone"), | |
("scissor", "paper"), | |
("scissor", "scissor"), | |
("scissor", "stone"), | |
("stone", "paper"), | |
("stone", "scissor"), | |
("stone", "stone"), |
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 async_std::path::PathBuf; | |
use simple_tmpl_lib::TemplateEngine; | |
use tide::prelude::json; | |
use tide::Response; | |
use tide::StatusCode; | |
#[derive(Debug, serde::Serialize)] | |
struct MyError { | |
message: String, | |
} |
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
#!/bin/sh | |
CPRGHT_NOTICE='/* Copyright (c) 2023 Raphael Brand | |
License MIT | |
*/ | |
' | |
for file in $(git status --porcelain | grep -E '^(M|A)' | awk '{print $2}') | |
do | |
if ! (( $(grep -ir 'Copyright' $file | wc -l) >= 1 )); then |
OlderNewer