diff options
Diffstat (limited to 'source')
| -rw-r--r-- | source/_posts/adding_a_user_in_arch_linux.md | 2 | ||||
| -rw-r--r-- | source/_posts/learning_arch_linux.md | 16 | ||||
| -rw-r--r-- | source/_posts/publishing_jigsaw_posts_with_netlify_build_hooks.md | 2 |
3 files changed, 18 insertions, 2 deletions
diff --git a/source/_posts/adding_a_user_in_arch_linux.md b/source/_posts/adding_a_user_in_arch_linux.md index 1cb48c6..117ff50 100644 --- a/source/_posts/adding_a_user_in_arch_linux.md +++ b/source/_posts/adding_a_user_in_arch_linux.md @@ -7,7 +7,7 @@ description: Use the command line to add a user in Arch Linux tags: [Arch] --- -In a [previous post](/posts/installing-arch-linux-on-a-x220-thinkpad) I installed Arch Linux on my Thinkpad X220. Since it was a very minimal install there are no user accounts except for the root user. So to add myself as a user I need to use the *useradd* command. +In a [previous post](/posts/installing-arch-linux-on-a-x220-thinkpad/) I installed Arch Linux on my Thinkpad X220. Since it was a very minimal install there are no user accounts except for the root user. So to add myself as a user I need to use the *useradd* command. ```shell $ useradd -m -s /bin/bash david diff --git a/source/_posts/learning_arch_linux.md b/source/_posts/learning_arch_linux.md new file mode 100644 index 0000000..3901a66 --- /dev/null +++ b/source/_posts/learning_arch_linux.md @@ -0,0 +1,16 @@ +--- +extends: layouts.post +section: content +title: Learning Arch Linux +date: 2020-06-15 +description: A Series of posts where I learn about Arch Linux +tags: [Arch] +--- + +Collected here are the posts about using Arch Linux on my Thinkpad X220. This is my way of documenting how I am learning to setup Arch in the way that I prefer. Feel free to follow along but always consider changing things to suit your needs. + +## Posts + +- [Installing Arch Linux on a Thinkpad X220](/posts/installing-arch-linux-on-a-x220-thinkpad/) +- [Adding a User in Arch Linux](/posts/adding-a-user-in-arch-linux/) + diff --git a/source/_posts/publishing_jigsaw_posts_with_netlify_build_hooks.md b/source/_posts/publishing_jigsaw_posts_with_netlify_build_hooks.md index 9268d6f..0587dec 100644 --- a/source/_posts/publishing_jigsaw_posts_with_netlify_build_hooks.md +++ b/source/_posts/publishing_jigsaw_posts_with_netlify_build_hooks.md @@ -7,7 +7,7 @@ description: How I use Netlify build hooks to automatically publish scheduled po tags: [Netlify] --- -A [previous post](/posts/scheduling-posts-in-jigsaw) talks about how I use [Jigsaw's](https://jigsaw.tighten.co) filtering to schedule future posts. However because Jigsaw is a static site builder I have to run Jigsaw in order to generate the HTML for the site. So if for example I have scheduled three posts to be published over three consecutive weeks I would need to build and deploy the site on each of the scheduled dates in order for the posts to be published. This kind of defeats the point of scheduling posts. So what I needed was some way to automatically trigger new builds of the site and since I use [Netlify](https://www.netlify.com/) to host the site I can make use of their build hooks to do this. +A [previous post](/posts/scheduling-posts-in-jigsaw/) talks about how I use [Jigsaw's](https://jigsaw.tighten.co) filtering to schedule future posts. However because Jigsaw is a static site builder I have to run Jigsaw in order to generate the HTML for the site. So if for example I have scheduled three posts to be published over three consecutive weeks I would need to build and deploy the site on each of the scheduled dates in order for the posts to be published. This kind of defeats the point of scheduling posts. So what I needed was some way to automatically trigger new builds of the site and since I use [Netlify](https://www.netlify.com/) to host the site I can make use of their build hooks to do this. For those that don't know [build hooks](https://docs.netlify.com/configure-builds/build-hooks/) are URLs you can use to trigger new builds and deployments in Netlify. By making a HTTP POST request to a URL, Netlify will pull down the latest master branch of your site, build it, and then deploy it. |
