commit 9e4feba26b078c058911f4504860b5a6460f7054 Author: Cian Hughes Date: Fri Feb 7 16:35:17 2025 +0000 First commit diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..894571b --- /dev/null +++ b/.envrc @@ -0,0 +1,3 @@ +source_url "https://raw.githubusercontent.com/cachix/devenv/82c0147677e510b247d8b9165c54f73d32dfd899/direnvrc" "sha256-7u4iDd1nZpxL4tCzmPG0dQgC5V+/44Ba+tHkPob1v2k=" + +use devenv diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..11b363e --- /dev/null +++ b/.gitignore @@ -0,0 +1,23 @@ +# Devenv +.devenv* +devenv.local.nix + +# direnv +.direnv + +# pre-commit +.pre-commit-config.yaml + +# Generated files by hugo +/public/ +/resources/_gen/ +/assets/jsconfig.json +hugo_stats.json + +# Executable may be added to repository +hugo.exe +hugo.darwin +hugo.linux + +# Temporary lock file while building +/.hugo_build.lock diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..25b6752 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +date = '{{ .Date }}' +draft = true +title = '{{ replace .File.ContentBaseName "-" " " | title }}' ++++ diff --git a/content/posts/what_is_this.md b/content/posts/what_is_this.md new file mode 100644 index 0000000..113da4f --- /dev/null +++ b/content/posts/what_is_this.md @@ -0,0 +1,55 @@ ++++ +date = '2025-02-07T14:19:18Z' +draft = false +title = 'What is this?' ++++ + +# What is this? + +If you've stumbled across this, you're probably asking yourself: "What the hell is this?". +Or you might have any one of a number of questions about it. I highly doubt anyone but me +will ever read any of this blog but, in case they do, I feel it should probably begin with +an overview of what the hell this is so it doesn't get mistaken for the ramblings of a +madman in the vein of eccentric classics like the "timecube" guy (anyone else remember +that craziness?). Here, I will attempt to anticipate and answer questions that might be in +any reader's heads. + +## No, seriously: What is this??? + +The answer is simple... I think. Or maybe not? This is a place where I *plan* to dump +some of the ramblings that bounce around in the chaotic depths of my mind. How consistently +will I do that? What thoughts will those be? Will you care enough to continue reading? +Honestly, i have no idea of the answers to that but I suppose we'll find out over time. + +## Who are you? + +That is a less simple question. Or more simple depending on your perspective. Obviously, +explaining "who a person is" takes more than a paragraph and is subject to change over time. +Putting aside any waffling philosophical bullshit though: I'm a scientist. I've done a lot of +different kinds of science through my career, but right now my focus is firmly on data science. +I'm a serial tinkerer: I like to make things, fix things, figure out what makes them tick. +I'm also a severely lapsed musician, with a love of stringed instruments and nowhere near enough +time to indulge in that love for many years. Basically: I am a creature of curiosity that likes +to make stuff and make a lot of noise. + +## Ok, so why a blog? + +The reasons for that one are DEFINITELY simple: +- I don't really like traditional social media. Not out of paranoia, mostly just cos is seems + like most people who have social media also don't like it much! Most people seem to have + a kind of stockholm syndrome relationship with social media and that sounds like a pain. +- Some of the most useful and interesting stuff I've ever found on the internet is in blogs. + I doubt I have anything that interesting to contribute, but there's no harm in sharing + right? Worst case scenario it gives me a void to scream into! +- I am an absolute scatterbrain. Having some kind of log of where my brain is over time could + be interesting. + +## How often will you post? + +Not a clue. Maybe never? We'll see. + +# Summary + +This blog will likely end up being just a temporary dumping ground for my ADHD addled ramblings +and musings. It might have interesting stuff. It might be filled with bollocks. Give it 6 months +and lets see (if I'm still using it by then!). diff --git a/devenv.lock b/devenv.lock new file mode 100644 index 0000000..000da94 --- /dev/null +++ b/devenv.lock @@ -0,0 +1,116 @@ +{ + "nodes": { + "devenv": { + "locked": { + "dir": "src/modules", + "lastModified": 1738932371, + "owner": "cachix", + "repo": "devenv", + "rev": "c22a306e4d6b63e2d6424389ed1e7f9f4a162c71", + "type": "github" + }, + "original": { + "dir": "src/modules", + "owner": "cachix", + "repo": "devenv", + "type": "github" + } + }, + "flake-compat": { + "flake": false, + "locked": { + "lastModified": 1733328505, + "owner": "edolstra", + "repo": "flake-compat", + "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "gitignore": { + "inputs": { + "nixpkgs": [ + "pre-commit-hooks", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1709087332, + "owner": "hercules-ci", + "repo": "gitignore.nix", + "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "gitignore.nix", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1733477122, + "owner": "cachix", + "repo": "devenv-nixpkgs", + "rev": "7bd9e84d0452f6d2e63b6e6da29fe73fac951857", + "type": "github" + }, + "original": { + "owner": "cachix", + "ref": "rolling", + "repo": "devenv-nixpkgs", + "type": "github" + } + }, + "nixpkgs-unstable": { + "locked": { + "lastModified": 1738680400, + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "799ba5bffed04ced7067a91798353d360788b30d", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "pre-commit-hooks": { + "inputs": { + "flake-compat": "flake-compat", + "gitignore": "gitignore", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1737465171, + "owner": "cachix", + "repo": "pre-commit-hooks.nix", + "rev": "9364dc02281ce2d37a1f55b6e51f7c0f65a75f17", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "pre-commit-hooks.nix", + "type": "github" + } + }, + "root": { + "inputs": { + "devenv": "devenv", + "nixpkgs": "nixpkgs", + "nixpkgs-unstable": "nixpkgs-unstable", + "pre-commit-hooks": "pre-commit-hooks" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/devenv.nix b/devenv.nix new file mode 100644 index 0000000..2314804 --- /dev/null +++ b/devenv.nix @@ -0,0 +1,22 @@ +{ + pkgs, + lib, + config, + inputs, + ... +}: let + pkgs-unstable = import inputs.nixpkgs-unstable {system = pkgs.stdenv.system;}; +in { + packages = + (with pkgs; [ + git + ]) + ++ (with pkgs-unstable; [ + dart-sass + hugo + ]); + + languages.go.enable = true; + + pre-commit.hooks.shellcheck.enable = true; +} diff --git a/devenv.yaml b/devenv.yaml new file mode 100644 index 0000000..114c668 --- /dev/null +++ b/devenv.yaml @@ -0,0 +1,6 @@ +# yaml-language-server: $schema=https://devenv.sh/devenv.schema.json +inputs: + nixpkgs: + url: github:cachix/devenv-nixpkgs/rolling + nixpkgs-unstable: + url: github:NixOS/nixpkgs/nixos-unstable diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..7a4fedf --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module blog.bulba.space + +go 1.23.3 + +require github.com/LordMathis/hugo-theme-nightfall v0.8.0 // indirect diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..3aadc0b --- /dev/null +++ b/go.sum @@ -0,0 +1,2 @@ +github.com/LordMathis/hugo-theme-nightfall v0.8.0 h1:N4AdlWgnANKAhtbIYPLxf2SzUJ3aHOc2oeRho9IF6eo= +github.com/LordMathis/hugo-theme-nightfall v0.8.0/go.mod h1:0tCPxAeg5+tWhv17517Q8Lti/TPh0KNyON/uferEU30= diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..afd339e --- /dev/null +++ b/hugo.toml @@ -0,0 +1,31 @@ +baseURL = 'https://blog.bulba.space/' +languageCode = 'en-ie' +title = 'Machinations of a Hyperactive Mind' +enableRobotsTXT = true + +[module] +imports = [{ path = 'github.com/LordMathis/hugo-theme-nightfall' }] + +[params] +user = "cianh" +hostname = "bulba.space" +sitedescription = "The ramblings of a sole scientist, shared here for no good reason..." +author = { name = "Cian Hughes", email = "hugo@example.com" } +social = [ + { key = 0, name = "github", url = "https://github.com/Cian-H", icon = "fa-brands fa-github", target = "_blank", aria = "GitHub Profile" }, + { key = 1, name = "gitlab", url = "https://https://gitlab.com/Cian-H", icon = "fa-brands fa-gitlab", target = "_blank", aria = "GitHub Profile" }, + { key = 2, name = "linkedin", url = "https://www.linkedin.com/in/cian-hughes-03211183/", icon = "fa-brands fa-linkedin", target = "_blank", aria = "GitHub Profile" }, + { key = 3, name = "email", url = "mailto:chughes000@gmail.com", icon = "fa-solid fa-envelope" }, + { key = 4, name = "orcid", url = "https://orcid.org/0000-0002-4863-733X", icon = "fa-brands fa-orcid" }, +] +published = true +readingTime = true +styles = { color = "CF6EFF" } + +[menu] +header = [{ name = "posts", weight = 0, url = "/posts" }] + +[sitemap] +changefreq = "yearly" +filename = "sitemap.xml" +priority = 0 diff --git a/layouts/partials/custom-head.html b/layouts/partials/custom-head.html new file mode 100644 index 0000000..3ba2092 --- /dev/null +++ b/layouts/partials/custom-head.html @@ -0,0 +1 @@ +