From 6bf0319d5b358d909d7e4525b6f62e702be39e53 Mon Sep 17 00:00:00 2001 From: Akshay Date: Thu, 7 Nov 2019 16:02:55 +0530 Subject: new links --- generate.sh | 2 +- posts/don't_repeat_yourself.md | 9 +++++++++ posts/my_setup.md | 2 +- readme.md | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 posts/don't_repeat_yourself.md diff --git a/generate.sh b/generate.sh index fbf5a4d..fba3236 100755 --- a/generate.sh +++ b/generate.sh @@ -39,7 +39,7 @@ echo " - + n " > ./docs/index.html diff --git a/posts/don't_repeat_yourself.md b/posts/don't_repeat_yourself.md new file mode 100644 index 0000000..d39267e --- /dev/null +++ b/posts/don't_repeat_yourself.md @@ -0,0 +1,9 @@ +Looping constructs are bad. Consider this: + +``` +for (int i = 0; i < arr.len(); i++) { ... } +``` + +It is not obvious at all, what this loop does. Is it +supposed to iterate over the elements of the array? Is it +just a variable binding that increases up to `arr.len()`? diff --git a/posts/my_setup.md b/posts/my_setup.md index 8d04336..1886e02 100644 --- a/posts/my_setup.md +++ b/posts/my_setup.md @@ -1,7 +1,7 @@ Decided to do one of these because everyone does one of these. -![scrot](https://files.nerdypepper.me/Hb.png) +![scrot](https://files.nerdypepper.tech/Hb.png) My entire setup is managed with GNU `stow`, making it easier to replicate on fresh installations. You can find my diff --git a/readme.md b/readme.md index 53bfdcf..c1b2beb 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,4 @@ -# nerdypepper.me +# nerdypepper.tech my blog, put together with a very basic static site generator crafted with `bash` and `sed`; `lowdown` for markdown to html. -- cgit v1.2.3