From 94e935401cbcdcfbfe95487763331d78e2a42c1f Mon Sep 17 00:00:00 2001 From: Lieuwe Leene Date: Mon, 30 Aug 2021 17:54:51 +0200 Subject: [PATCH] small content update --- content/links.md | 11 +++++++++++ content/posts/building-svg.md | 12 +++++++++--- content/posts/mile-stones.md | 18 +++++++++++++++--- content/posts/site-setup.md | 21 +++++++++++++++++---- content/projects/pyside.md | 8 ++++++++ 5 files changed, 60 insertions(+), 10 deletions(-) create mode 100644 content/links.md create mode 100644 content/projects/pyside.md diff --git a/content/links.md b/content/links.md new file mode 100644 index 0000000..479f910 --- /dev/null +++ b/content/links.md @@ -0,0 +1,11 @@ +--- +title: "Links" +date: 2021-08-29T12:35:51+02:00 +draft: false +--- + +## Not Fun + +List of links go here: + +## Fun diff --git a/content/posts/building-svg.md b/content/posts/building-svg.md index 14f566e..bd85df7 100644 --- a/content/posts/building-svg.md +++ b/content/posts/building-svg.md @@ -1,7 +1,13 @@ --- title: "Building With SVG" date: 2021-08-28T11:53:54+02:00 -draft: true +draft: false +toc: true +tags: + - svg + - xml + - hugo + - golang --- # SVG Tools and Hugo Integration @@ -73,8 +79,8 @@ added directly to KGT as a feature in future releases. rect, line, path { stroke-width: 1.5px; stroke: white; fill: transparent; } rect, line, path { stroke-linecap: square; stroke-linejoin: rounded; } path { fill: transparent; } - text { fill: white; } - text.literal { font-family: monospace; } + text { fill: white; font-family:'Trebuchet MS'; } + text.literal { } line.ellipsis { stroke-dasharray: 1 3.5; } tspan.hex { font-family: monospace; font-size: 90%; } path.arrow { fill: white; } diff --git a/content/posts/mile-stones.md b/content/posts/mile-stones.md index ede69e0..812476b 100644 --- a/content/posts/mile-stones.md +++ b/content/posts/mile-stones.md @@ -1,12 +1,24 @@ --- title: "Mile Stones" date: 2021-08-28T16:13:52+02:00 -draft: true +draft: false +tags: + - website + - plan + - ideas --- -This is a list of topics that I may include at somepoint in time: +This is a list of topics that I may include at some point in time: 1. SSL and NGINX setup guide 2. Postfix setup guide 3. Danbooru setup guide 4. pyside notes from pyviewer project -5. other notes +5. other fun stuff + +I also want to share some of the IC design work building up a technical profile: +1. Chip gallery +2. Acedemic topics +3. ADC stuff +4. Time domain processing +5. Skill and Cadence utilities +6. Design flow and scripts diff --git a/content/posts/site-setup.md b/content/posts/site-setup.md index 2298c20..49556af 100644 --- a/content/posts/site-setup.md +++ b/content/posts/site-setup.md @@ -2,12 +2,12 @@ title: "Setting up a new site." date: 2021-08-24T10:24:27+02:00 draft: false -toc: false -images: +toc: true tags: - website - setup - hugo + - git-filter --- Previously I tried using grav with the intention to serve a simple website as @@ -43,15 +43,28 @@ Currently I setup two branches: `master` which is deployed statically on leene.dev, and `dev` which is just for local development as I try out different things. I setup a clean-smudge git filter to manage deployment on a site-basis: -```toml +``` toml [filter "hostmgmt"] smudge = sed 's@\\$HOSTNAME\\$@http://localhost@' clean = sed 's@http://localhost@\\$HOSTNAME\\$@' ``` +Note if we make a change to just the filter we can re-apply it by resetting our +index and checking out HEAD again. + +``` bash +rm .git/index +git checkout HEAD -- "$(git rev-parse --show-toplevel)" +``` + But looking closer at the hugo documentation, it would be better to prepare a similar development and production configuration. We'll see if this can evaluate -system environment variables. +system environment variables. Alternatively you can also specify the server +parameters directly. + +``` bash +hugo server --bind=0.0.0.0 --baseURL=http://zathura --port=1313 +``` ## Planned features and content diff --git a/content/projects/pyside.md b/content/projects/pyside.md new file mode 100644 index 0000000..8456125 --- /dev/null +++ b/content/projects/pyside.md @@ -0,0 +1,8 @@ +--- +title: "Pyside" +date: 2021-08-29T12:53:19+02:00 +draft: false +--- + + +Notes on using pyside to bind python with qml.