diff options
-rwxr-xr-x | generate.sh | 2 | ||||
-rw-r--r-- | posts/don't_repeat_yourself.md | 9 | ||||
-rw-r--r-- | posts/my_setup.md | 2 | ||||
-rw-r--r-- | readme.md | 2 |
4 files changed, 12 insertions, 3 deletions
diff --git a/generate.sh b/generate.sh index fbf5a4d..fba3236 100755 --- a/generate.sh +++ b/generate.sh | |||
@@ -39,7 +39,7 @@ echo " | |||
39 | <meta property=\"og:title\" content=\"nerdypepper\"> | 39 | <meta property=\"og:title\" content=\"nerdypepper\"> |
40 | <meta property=\"og:type\" content=\"website\"> | 40 | <meta property=\"og:type\" content=\"website\"> |
41 | <meta property=\"og:description\" content=\"a static site {for, by, about} me \"> | 41 | <meta property=\"og:description\" content=\"a static site {for, by, about} me \"> |
42 | <meta property=\"og:url\" content=\"https://nerdypepper.me\"> | 42 | <meta property=\"og:url\" content=\"https://nerdypepper.tech\"> |
43 | <title>n</title> | 43 | <title>n</title> |
44 | " > ./docs/index.html | 44 | " > ./docs/index.html |
45 | 45 | ||
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 @@ | |||
1 | Looping constructs are bad. Consider this: | ||
2 | |||
3 | ``` | ||
4 | for (int i = 0; i < arr.len(); i++) { ... } | ||
5 | ``` | ||
6 | |||
7 | It is not obvious at all, what this loop does. Is it | ||
8 | supposed to iterate over the elements of the array? Is it | ||
9 | 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 @@ | |||
1 | Decided to do one of these because everyone does one of | 1 | Decided to do one of these because everyone does one of |
2 | these. | 2 | these. |
3 | 3 | ||
4 | ![scrot](https://files.nerdypepper.me/Hb.png) | 4 | ![scrot](https://files.nerdypepper.tech/Hb.png) |
5 | 5 | ||
6 | My entire setup is managed with GNU `stow`, making it easier | 6 | My entire setup is managed with GNU `stow`, making it easier |
7 | to replicate on fresh installations. You can find my | 7 | to replicate on fresh installations. You can find my |
@@ -1,4 +1,4 @@ | |||
1 | # nerdypepper.me | 1 | # nerdypepper.tech |
2 | 2 | ||
3 | my blog, put together with a very basic static site generator crafted with | 3 | my blog, put together with a very basic static site generator crafted with |
4 | `bash` and `sed`; `lowdown` for markdown to html. | 4 | `bash` and `sed`; `lowdown` for markdown to html. |