Thoughts
Subscribe via RSS (thoughts)
-
Oct 23, 2024
A quick snippet to keep your local Git branches in sync with the remote by removing deleted branches:
alias gcln='git fetch -p && git branch -vv \ | grep ": gone]" \ | awk "{print \$1}" \ | xargs -r git branch -D'
-
Sep 27, 2024
letβs have some fun this weekend with astro bot
-
Sep 18, 2024
-
Sep 16, 2024
-
Jul 05, 2024
-
Jul 05, 2024
Letβs have some fun this weekend by learning Go and building an app to publish notes and blogs to my git repo. It will be similar to TinaCMS but much more minimal.
-
Jul 03, 2024
site update:
Now, I just use relative paths for image URLs anywhere in my blog, and by using #Pandocβs
walk_block
function, I can automatically import any file in any page and change the path to be absolute in the build time. -
Jul 02, 2024
For those who have all their #website content stored as static files inside a Git repository, how are you able to post from a mobile device or when you are away from your computer?
-
Jul 01, 2024
site update:
Now with this collection #script i can build pages using #lua filters with convenient way by create the markdown page with front matter metadata and it will populate all collection data to #pandoc filter
# src/index.md --- title-prefix: Home home: true collections: - name: games key: completed filter-by: key: state value: completed first: 3 - name: blog first: 3 - name: thoughts first: 3 content: true ---
-
Jul 01, 2024