Scotch whisky distilleries

Other post So, data is (going to be) very important for Scotch Whisky Investments. A difficult part of the business is selling the whisky, so knowing which whiskies are being sold on which platforms for which prices is important. That’s where the scraping comes in. There are different platforms that deal with whisky prices and with whisky reviews. Both are important. Besides that, there are all the Scotch distilleries. To get a bit of a grasp on everything that is out there, let’s divide the content up. ...

September 22, 2021 · Wijnand Baretta

V-Bucks explained

November 2024 update. Read below for the idea of V-bucks. Revisiting this old post, I ask ChatGPT to help: https://chatgpt.com/share/67351ff2-8f14-800a-a499-0120b9518c78 This is still an interesting and nice idea to build a MVP for. The V-Bucks project (or better yet, in this phase: idea) has originated at home, because my sons would like to earn money (to spend on V-bucks, the virtual currency used in Fortnite) and I would like them to do some chores in and around the house. ...

September 16, 2021 · Wijnand Baretta

Command line: moving files

Instead of litterring my site with small posts describing how to perform as certain task, I will devise a plan to really learning to master the command line. I have a book about the command line, which can help to create an overview of what’s there to learn about the command line. Broader than just the command line, what do I want to learn? On the positive site, I have learned a lot and I keep learning new stuff. On the other hand, it is sometimes not very focused and, just like myself, all over the place. I don’t know if that is a negative thing per se, or something I should change, but it would help me (I think) to make it easier to pick up where I have left sometimes. ...

September 16, 2021 · Wijnand Baretta

My static Hugo site: ToDo list

OK, I have my HUgo site running locally and it is working fine. The script I have created to create new posts from the command line is also very nice. No need to cd into any directory, just type bash $ new-post.sh , give a name and some tags and my new post is created and my editor is opened with that post, with the frontmatter in place. The site is looking good, I’m happy with it, there are however some things I’d like to do to improve it further. ...

September 7, 2021 · Wijnand Baretta

I'm so easily distracted

Yeah, no need to complain about it. It is the same as falling down; just make sure to get up again. Or in case of distraction: make sure you get back to the thing you were doing (or aiming to do). I have found that there are ways to make it easier to get back to the thing(s) I want or need to do. Creating a list of things I want to do really helps. It is however, very important to curate that list on a daily basis. If I work with a list that contains more items than I can handle, it really doesn’t help me. ...

September 7, 2021 · Wijnand Baretta

Hugo: better suited static site generator?

There are several static site generators that I have tried, and Hugo is now up for review. It claimms to be the fastest, with pagebuilds of 1 ms per page. That is certainly impressive, but there are other aspects of Hugo that appeal to me. I have looked at Jekyll and [Pelican]. I like Jekyll because it is tightly integrated with Github pages, making it easy to launch a site. What I don’t like about Jekyl is that it is written in Ruby, mainly because I don’t know Ruby well enough. ...

September 1, 2021 · Wijnand Baretta

Create post via shell script

I want to write posts via the command line and I want it to be as effortless as possible. Every time I want to start writing, I end up in a loop: let’s create a site to publish my writing what are the possibilities? Django or static site? which static site generators are there? This one’s nice! it’s perfect for what I want can I change the theme/templates? After a while, I have yet another nice static site. Sometimes all the way down to a published site, sometimes stuck somewhere half-way. But all of the time, the writing of content stops, doesn’t get started, never happens. No matter what the reason for this is, I need to get out of this loop. ...

August 31, 2021 · wijnandb

Creating a new Git repository on Github and synching to it

I want to create a new Git repo and write down the commands to add new content or create a script which does that for me. First, I go to the root directory of my (local) project and initiate a new Git repository: $ git init We now have an empty git repository. Add all files to it with $ git add . Setting up a repo on Github: $ gh repo create project-name I need to set the upstream branch on Github and get the .gitignore and the LICENSE that were created when setting up the repo on Github: repository: ...

August 31, 2021 · Wijnand Baretta

Creating a new post from the command line

Ok, that worked. I can now create new posts from the command line by simply calling the bash script I have created. Calling ./new-post.sh asks for a title and keywords (tags) and creates a new post for me in the desired directory (~/15-a-day/posts). This is a good beginning, there are however some steps left. First, let me document what I have created by adding the contents of the bash script to this post. ...

August 31, 2021 · Wijnand Baretta

Markdown Syntax Guide

This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme. ...

March 11, 2019 · Hugo Authors