Skip to content

Instantly share code, notes, and snippets.

@JurrianFahner
Created November 29, 2022 21:30
Show Gist options
  • Save JurrianFahner/245eff2a919ab5774494d9b652895c71 to your computer and use it in GitHub Desktop.
Save JurrianFahner/245eff2a919ab5774494d9b652895c71 to your computer and use it in GitHub Desktop.
generate folders for advent of code
# creates all directories for advent of code in the following format:
# day01
# day01
# ...
# day25
 
for ($i = 1; $i -le 25; $i++)
{
$daystr = "day" + $i.ToString("00")
cargo new $daystr # cargo new is bootstrapping a rust project, example: cargo new day01
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment