Holly's Briars

Welcome to the blog! Here, you will find hot takes, programming tutorials, fashion, makeup, electronics, and a bunch of random blatherings and complaining about life.

I will do my best to keep to posts organised with tags, and the RSS reader deep down inside of you can subscribe to individual tags.


There are 53 entries to read, with the newest first. Have fun!

Click on a #tag to jump to that post category, or go here to visit the archive.


Obsidian #3

  • 2023-01-30
  • 18:00

Unlimited POWAAAAA!*~

I found a shell command extension for Obsidian on PC that let me put scripts in the command palette. So naturally, I decided that I wanted to fully generate the journal and build the site from within Obsidian. Sooo...

I manually split up the original journal.txt into their individual journal entry files in the Journal directory because I'm an idiot. I could have written a script to do that, but it was literally faster to just copy and paste the files, and fix the headers.

Ya know what? I'm, pardon my French, really fucking proud of myself for this project. I've got some really cool automation going on through the command palette.

I first generate journal.txt and then I run the shell script to build the journal.

rm /home/holly/.config/jrnl/journal.txt && cat Journal/* >> /home/holly/.config/jrnl/journal.txt && /home/holly/Projects/livejrnl-builder/build.sh

Really excited. 😄

Edit: (2023-01-30 18:16) Snippets for documenting post edits works really well.


Mobile One

  • 2023-01-30
  • 15:19

Testing viability of mobile posting. I can write entries, but I can't upload them from mobile. That is perfectly fine... FOR NOW!


Obsidian #2

  • 2023-01-30
  • 12:40

This is the first post I'm writing from Obsidian. I love jrnl, but it is so not suitable for longer posts. Or writing from Mobile. Really, this Obsidian compatibility layer is for when I'm writing posts on the go. Or much longer posts. You get the idea.

This whole thing is powered by the Templater plugin. I have a jrnl folder that triggers a template when a file is first created. It sets the date and time stamp, then asks the user for the post title. From there, I am free to write.

To sync my changes, I have another template with a single user script command that runs the following system command:

cat '/home/holly/Obsidian/brain-droppings/Journal/2023-01-30.md' >> /home/holly/.config/jrnl/journal.txt

The only downside to this is I'd have to edit the file manually in Sublime if I wanted to make changes to the post.

OR

I could use the absolute power of Python, and loop through all of the posts in the jrnl folder in the Obsidian vault, and generate an entirely new journal.txt that LiveJrnl can use... Which would effectively scratch the itch that I created in this post. Of course, that would mean I would no longer need jrnl for an editor and would only be using their file format... I'd also have to handle encrypt--I'm sorry, where were we? 😅

Now let's see if my journal takes a huge dump when I save this... 🤞


Pastel-16 & Ice Cream Shop

  • 2023-01-29
  • 17:54

I changed the colour scheme to Pastel-16 and made a custom background image. I call this whole journal theme 🍦Ice Cream Shop🍦 The background is Mint Chocolate Chip and the individual posts are Neapolitan. I just LOVE it!*~ 😍 💖



Obsidian

  • 2023-01-29
  • 14:29

I wonder if I could use Obsidian to write journal entries on the go and then cat the file contents into the journal file. 🤔


404: Title Not Found

  • 2023-01-29
  • 10:08

Yesterday's shift was sooo bad... 😢 We had multiple people come in late and two no-shows for the rush and oh my gosh I wanted to cry. We kept the times within expectations, but everything coming from me was sooo not up to anyone's quality standards and I left feeling not so fulfilled. 😭

Anyway... Good stuff time. The train ride to the apartment wasn't too bad. Mostly boring, and I kept falling asleep because I was tired from the shift...😴 S and I got a lot of exercise. Before I left for work this morning, I packed the car with supplies for the apartment. Soaps, cleaning cloths, dust wipes, garbage bins, garbage bags, pots, pans, utensils, things like that. It was two heavy totes that S couldn't safely carry. I carried those things up three flights of some VERY Dutch stairs that twist, turn, and narrow. Not once, but twice! I can totally see myself building up a nice butt and legs from living there lmao 💃

The couch arrived and I AM IN LOOOOVE!*~ 😍 It does need to be broken in a little bit because it is slightly harder than the store model. I can't wait to cosy up with S under a bunch of blankets ❤️

The tables are fabulous. I wasn't sold on the whole "Ironwood" (Animal Crossing peeps would know what I'm talking about lol) aesthetic in real life, but these look quite nice. They're three circular tables that nest. I saw a similar styled set once in a catalogue years ago and just haaaaad to have them. 👑 What the Queen wants, the Queen gets! 👑

We ordered our first takeaway from a local sushi place and the food was great. I didn't get what I ordered, though. In the app I selected a shrimp poke bowl with spicy sauce, and it came with sesame sauce. The receipt said sesame sauce, so I think their order taking messed up. Either way, it was tasty and we would order again. S enjoyed hers too and we can't wait to try other restaurants in the area 😄 I also brought my high heeled boots to try with the animal and flower print flare leggings, and I just about cried when I saw the pictures that S took and can't wait to wear that outfit when out and about in the spring. 💖 Super excited!!

At the moment I'm doing a bit of refactoring of LiveJrnl into submodules to eliminate code repeat. The more I use Python, the more I like it. At first it was for single-use tools and now I use it for pretty much everything. Now if I could only find a decent UI framework that isnt pyQt or pyGtk, XAML had me so spoiled...but that is for another post on another day.

Edit: Goodness, did the this post confuse jrnl! It interpreted the beginning of the title as a date and set the post date to 404-01-01 and I had to manually correct it in Sublime by moving the entry to the bottom of the file, and correct the date stamp.


Delays

  • 2023-01-27
  • 21:31

I planned to post the LiveJrnl source today but I had a last minute change in mind.

I did post the .gitignore and README, however. On Sunday I will make some changes to the script to generate the RSS from a second script. I don't feel comfortable having one script generate both files. Unix philosophy and all that.


Five Words

  • 2023-01-27
  • 17:55

Five words refers to the five words that every person would say and would come to regret it. This is from How I Met Your Mother. Here's mine.

I should build an editor.

Whaaat do you mean? you may ask?

Imagine Semagic for jrnl? The templating possibilities...

I know what I have to do, I don't know if I have the strength to do it...

#idea


Success.

  • 2023-01-26
  • 22:39

I've completed a task for the day. What a rush. It is now time for bed. Tomorrow, some refactoring and language lessons.

Oh, and the couch arrives at the new apartment on Saturday. I'll have a 3 hour train ride ahead of me. Hooray, but at the same time I don't want to sit on a train for 3 hours lmao 😿


Feature Complete: RSS Feed

  • 2023-01-26
  • 21:15

The RSS feed is now complete. A huge shout out goes to Alex Le for their write up!

I passed the feed through a validator and everything is A-OK! I also got rid of Markdown showing up in the output.

...now I need a new project to distract myself.

Hey... maybe emoji shortcodes. 😍 😂

Edit: One of the Python extensions seems to already parse the shortcodes... I must investigate.

Edit 2: It took an hour but I found it! The Markdown extension for Jinja2 includes a reference to pymdownx.emoji. Sweet! 🍭

Edit 3: 2023-10-28 - Since switching to Zola, the feed link has been updated to Zola's feed to prevent 404 errors when crawling


Real Talk

  • 2023-01-26
  • 20:33

Ok. Real talk time. It seems like I'm using this project to distract myself. Normally I'm posting on Mastodon, but I'm not really feeling like my social battery has enough juice left in it to interact with other people.

I also noticed that I'm posting here roughly at the same time for almost every post. Quite interesting... I may need to look into this further. Maybe another day. I want to finish this project first.


RSS #2

  • 2023-01-26
  • 20:21

I started writing an RSS feed generator. It's live, and produces valid XML.

The only thing left is to strip the Markdown out of my posts before the XML part. I may need to write another Jinja2 filter for this.

Stay tuned!


RSS

  • 2023-01-25
  • 21:10

And another thing. I'll be writing an RSS feed generator for this thing too. Hooray!

...I really should be looking for a job instead


Theme Idea

  • 2023-01-25
  • 21:03

Oh, and I plan to pink the hell out of this site once I've uploaded the base template. Can't wait!