diff --git a/src/archetypes/micropost.md b/src/archetypes/micropost.md new file mode 100644 index 0000000..ace6582 --- /dev/null +++ b/src/archetypes/micropost.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +image: +--- diff --git a/src/content/microposts/20221010-1815/gallery/09b31f4b542de169.mp4 b/src/content/microposts/20221010-1815/gallery/09b31f4b542de169.mp4 new file mode 100644 index 0000000..90b3bd9 Binary files /dev/null and b/src/content/microposts/20221010-1815/gallery/09b31f4b542de169.mp4 differ diff --git a/src/content/microposts/20221010-1815/index.md b/src/content/microposts/20221010-1815/index.md new file mode 100644 index 0000000..8877767 --- /dev/null +++ b/src/content/microposts/20221010-1815/index.md @@ -0,0 +1,14 @@ +--- +title: 20221010-1815 +date: 2022-10-10 18:15:42 +00:00 +draft: false +tags: [micropost] +image: +--- + +
This afternoon I had a meeting, my mate prettified a horrible string into a tabulated and perfectly aligned json in his shinny VSCode.
Immediately felt that I needed to get the same using my tools. Literally 4 mins later in my .vimrc:
:command Format :%!jq .
:command Unformat :%!jq -c .
Little pleasures of 127.0.0.2 <aka the-new-place> ❤️ #micropost
+ + +{{< gallery match="gallery/*" sortOrder="asc" + rowHeight="150" margins="5" thumbnailResizeOptions="600x600 q90 Lanczos" + previewType="blur" embedPreview="true" >}} diff --git a/src/content/microposts/20221023-2036/gallery/e64b1c78f1d8154d.jpeg b/src/content/microposts/20221023-2036/gallery/e64b1c78f1d8154d.jpeg new file mode 100644 index 0000000..7f00b03 Binary files /dev/null and b/src/content/microposts/20221023-2036/gallery/e64b1c78f1d8154d.jpeg differ diff --git a/src/content/microposts/20221023-2036/index.md b/src/content/microposts/20221023-2036/index.md new file mode 100644 index 0000000..9518d41 --- /dev/null +++ b/src/content/microposts/20221023-2036/index.md @@ -0,0 +1,14 @@ +--- +title: 20221023-2036 +date: 2022-10-23 20:36:18 +00:00 +draft: false +tags: [micropost] +image: +--- + +My first Rubik ever. #micropost
+ + +{{< gallery match="gallery/*" sortOrder="asc" + rowHeight="150" margins="5" thumbnailResizeOptions="600x600 q90 Lanczos" + previewType="blur" embedPreview="true" >}} diff --git a/src/content/microposts/20221024-1906/gallery/ce25617f1cd05b15.png b/src/content/microposts/20221024-1906/gallery/ce25617f1cd05b15.png new file mode 100644 index 0000000..6566dee Binary files /dev/null and b/src/content/microposts/20221024-1906/gallery/ce25617f1cd05b15.png differ diff --git a/src/content/microposts/20221024-1906/index.md b/src/content/microposts/20221024-1906/index.md new file mode 100644 index 0000000..de6022e --- /dev/null +++ b/src/content/microposts/20221024-1906/index.md @@ -0,0 +1,14 @@ +--- +title: 20221024-1906 +date: 2022-10-24 19:06:56 +00:00 +draft: false +tags: [micropost] +image: +--- + +That feeling of being alive again! #irons #micropost
+ + +{{< gallery match="gallery/*" sortOrder="asc" + rowHeight="150" margins="5" thumbnailResizeOptions="600x600 q90 Lanczos" + previewType="blur" embedPreview="true" >}} diff --git a/src/content/microposts/20221029-1708/gallery/ee9c38f509d37ac5.jpeg b/src/content/microposts/20221029-1708/gallery/ee9c38f509d37ac5.jpeg new file mode 100644 index 0000000..9338f99 Binary files /dev/null and b/src/content/microposts/20221029-1708/gallery/ee9c38f509d37ac5.jpeg differ diff --git a/src/content/microposts/20221029-1708/index.md b/src/content/microposts/20221029-1708/index.md new file mode 100644 index 0000000..4fb5dd2 --- /dev/null +++ b/src/content/microposts/20221029-1708/index.md @@ -0,0 +1,14 @@ +--- +title: 20221029-1708 +date: 2022-10-29 17:08:05 +00:00 +draft: false +tags: [micropost] +image: +--- + +On the road again #vancaciones #van #trip #micropost
+ + +{{< gallery match="gallery/*" sortOrder="asc" + rowHeight="150" margins="5" thumbnailResizeOptions="600x600 q90 Lanczos" + previewType="blur" embedPreview="true" >}} diff --git a/src/content/microposts/20221031-1701/gallery/e11b14e7da74c620.jpg b/src/content/microposts/20221031-1701/gallery/e11b14e7da74c620.jpg new file mode 100644 index 0000000..3425af4 Binary files /dev/null and b/src/content/microposts/20221031-1701/gallery/e11b14e7da74c620.jpg differ diff --git a/src/content/microposts/20221031-1701/index.md b/src/content/microposts/20221031-1701/index.md new file mode 100644 index 0000000..e4f1f11 --- /dev/null +++ b/src/content/microposts/20221031-1701/index.md @@ -0,0 +1,14 @@ +--- +title: 20221031-1701 +date: 2022-10-31 17:01:40 +00:00 +draft: false +tags: [micropost] +image: +--- + +Today’s backyard #van #trip #micropost
+ + +{{< gallery match="gallery/*" sortOrder="asc" + rowHeight="150" margins="5" thumbnailResizeOptions="600x600 q90 Lanczos" + previewType="blur" embedPreview="true" >}} diff --git a/src/content/microposts/20221107-1959/index.md b/src/content/microposts/20221107-1959/index.md new file mode 100644 index 0000000..3e56e8a --- /dev/null +++ b/src/content/microposts/20221107-1959/index.md @@ -0,0 +1,11 @@ +--- +title: 20221107-1959 +date: 2022-11-07 19:59:08 +00:00 +draft: false +tags: [micropost] +image: +--- + +Little summary from our instance in numbers (20221107):
🔘 Mastodon version 3.5.3
🔘 Active users: 35
🔘 Interactions: near 1k
🔘 Disk: 26Gb (90% are media_attachments)
🔘 DB: pg_dump recently baked is about 200Mb (50Mb gzipped)
My guess is that no big investment is needed - server - for a tiny number of users, but to be honest dunno what happens if it grows as it is doing in some instances that have experienced problems lately.
#mastodon #admin #sys #stats #micropost
+ + diff --git a/src/content/microposts/20221108-0958/index.md b/src/content/microposts/20221108-0958/index.md new file mode 100644 index 0000000..1d21930 --- /dev/null +++ b/src/content/microposts/20221108-0958/index.md @@ -0,0 +1,11 @@ +--- +title: 20221108-0958 +date: 2022-11-08 09:58:06 +00:00 +draft: false +tags: [micropost] +image: +--- + +My mate today is https://twitch.tv/usirin
I don't understand a word of Turkish but you can't imagine how it helps to see someone else working -with similar tools- same time.
Remote work is not all about pros and pleasures, it has cons too, such as being alone most of the time.
#remotework #dev #loneliness #micropost
+ + diff --git a/src/content/microposts/20221108-1632/index.md b/src/content/microposts/20221108-1632/index.md new file mode 100644 index 0000000..edce265 --- /dev/null +++ b/src/content/microposts/20221108-1632/index.md @@ -0,0 +1,11 @@ +--- +title: 20221108-1632 +date: 2022-11-08 16:32:10 +00:00 +draft: false +tags: [micropost] +image: +--- + +Some words about our little #community...
In the beginning I was curious about the challenge to host a #mastodon instance, then I was a bit worried because of the data responsibility and everything. Now, after chatting and dealing with little problems here and there, I must say I'm glad I did that.
And proud, because #bofhers understand that this is a hobby and afaik they understand what #fediverse + decentralized means + they're offering hand when some help is needed.
❤️
+ + diff --git a/src/content/microposts/20221108-1945/gallery/0182b054caa32c11.png b/src/content/microposts/20221108-1945/gallery/0182b054caa32c11.png new file mode 100644 index 0000000..a6cf08b Binary files /dev/null and b/src/content/microposts/20221108-1945/gallery/0182b054caa32c11.png differ diff --git a/src/content/microposts/20221108-1945/index.md b/src/content/microposts/20221108-1945/index.md new file mode 100644 index 0000000..39dd100 --- /dev/null +++ b/src/content/microposts/20221108-1945/index.md @@ -0,0 +1,14 @@ +--- +title: 20221108-1945 +date: 2022-11-08 19:45:45 +00:00 +draft: false +tags: [micropost] +image: +--- + +Tokyo Night seems a good choice to move away from Gruvbox. I have no problem with #gruvbox but feel like I need a change, I'm tired of the orange-ranges and seems like blue tones fit better for now. Will see.
#vim #neovim #colorscheme #themes #tokyonight #dev #micropost
+ + +{{< gallery match="gallery/*" sortOrder="asc" + rowHeight="150" margins="5" thumbnailResizeOptions="600x600 q90 Lanczos" + previewType="blur" embedPreview="true" >}} diff --git a/src/content/microposts/20221108-2326/index.md b/src/content/microposts/20221108-2326/index.md new file mode 100644 index 0000000..27215c9 --- /dev/null +++ b/src/content/microposts/20221108-2326/index.md @@ -0,0 +1,11 @@ +--- +title: 20221108-2326 +date: 2022-11-08 23:26:26 +00:00 +draft: false +tags: [micropost] +image: +--- + +That’s it for today. Let me just write down the #crates I'm using in order to properly read the #rss with this #rust 🦀 thing:
- 🔘 https://docs.rs/rss/latest/rss/
- 🔘 https://docs.rs/reqwest/latest/reqwest/blocking/
As today it was so and so, maybe tomorrow I can move forward in a more success way, I'm exhausted. #micropost
+ + diff --git a/src/content/microposts/20221109-1857/index.md b/src/content/microposts/20221109-1857/index.md new file mode 100644 index 0000000..73e433f --- /dev/null +++ b/src/content/microposts/20221109-1857/index.md @@ -0,0 +1,11 @@ +--- +title: 20221109-1857 +date: 2022-11-09 18:57:35 +00:00 +draft: false +tags: [micropost] +image: +--- + +After some tries with #golang and #rust, I've opted to have some fun with #python too.
And there it is, the script that picks all the "#micropost" toots and converts them into the proper markdown thing for my #hugo web, media elements are also included.
Not sure if it can be helpful out there but...
https://gist.github.com/oscarmlage/bfe9adabad3c2679cb00935f3922ad96
note: it's a pity that #gitea doesn't have a snippets section.
+ + diff --git a/src/content/microposts/20221110-1944/gallery/2047f4354e9b760a.png b/src/content/microposts/20221110-1944/gallery/2047f4354e9b760a.png new file mode 100644 index 0000000..a819565 Binary files /dev/null and b/src/content/microposts/20221110-1944/gallery/2047f4354e9b760a.png differ diff --git a/src/content/microposts/20221110-1944/gallery/77b41aea7613d93f.png b/src/content/microposts/20221110-1944/gallery/77b41aea7613d93f.png new file mode 100644 index 0000000..f88d0ff Binary files /dev/null and b/src/content/microposts/20221110-1944/gallery/77b41aea7613d93f.png differ diff --git a/src/content/microposts/20221110-1944/index.md b/src/content/microposts/20221110-1944/index.md new file mode 100644 index 0000000..0c4871b --- /dev/null +++ b/src/content/microposts/20221110-1944/index.md @@ -0,0 +1,17 @@ +--- +title: 20221110-1944 +date: 2022-11-10 19:44:52 +00:00 +draft: false +tags: [micropost] +image: +--- + +The other day a friend of mine asked if I'd noted some problem or high load in our little #mastodon instance. I said no, but then I took a look at #sidekiq, and it seemed that -definitely- something was occurring in the background.
This instance has been installed on 2022-05-26 in a little server, on 2022-09-09 it was migrated to v.3.5.3 and on 2022-09-24 I've bought a new -bigger- server.
- Media storage: 30Gb.
- Postgres storage: 400Mb.
- Redis storage: 20Mb.
That's the toy. #micropost
+ + +{{< gallery match="gallery/*" sortOrder="asc" + rowHeight="150" margins="5" thumbnailResizeOptions="600x600 q90 Lanczos" + previewType="blur" embedPreview="true" >}} +{{< gallery match="gallery/*" sortOrder="asc" + rowHeight="150" margins="5" thumbnailResizeOptions="600x600 q90 Lanczos" + previewType="blur" embedPreview="true" >}} diff --git a/src/content/microposts/20221112-2041/gallery/76280c0789483a3c.jpeg b/src/content/microposts/20221112-2041/gallery/76280c0789483a3c.jpeg new file mode 100644 index 0000000..8fc7650 Binary files /dev/null and b/src/content/microposts/20221112-2041/gallery/76280c0789483a3c.jpeg differ diff --git a/src/content/microposts/20221112-2041/index.md b/src/content/microposts/20221112-2041/index.md new file mode 100644 index 0000000..c86e121 --- /dev/null +++ b/src/content/microposts/20221112-2041/index.md @@ -0,0 +1,14 @@ +--- +title: 20221112-2041 +date: 2022-11-12 20:41:55 +00:00 +draft: false +tags: [micropost] +image: +--- + +November 12, 2022. Walking wearing t-shirt at night. Unbelievable.
+ + +{{< gallery match="gallery/*" sortOrder="asc" + rowHeight="150" margins="5" thumbnailResizeOptions="600x600 q90 Lanczos" + previewType="blur" embedPreview="true" >}} diff --git a/src/content/microposts/20221112-2146/index.md b/src/content/microposts/20221112-2146/index.md new file mode 100644 index 0000000..37771a0 --- /dev/null +++ b/src/content/microposts/20221112-2146/index.md @@ -0,0 +1,11 @@ +--- +title: 20221112-2146 +date: 2022-11-12 21:46:50 +00:00 +draft: false +tags: [micropost] +image: +--- + +The #rust solution with buggy / outdated #crates:
Package versions can’t be deleted, they can only be yanked. A yanked package can still be used if it is in your project’s lock file so existing projects will not break.
But new projects can not use a buggy version, #cargo will display an error and advise an upgrade. Backwards compatibility without compromising new features.
+ + diff --git a/src/content/microposts/20221115-1150/index.md b/src/content/microposts/20221115-1150/index.md new file mode 100644 index 0000000..8a0e642 --- /dev/null +++ b/src/content/microposts/20221115-1150/index.md @@ -0,0 +1,11 @@ +--- +title: 20221115-1150 +date: 2022-11-15 11:50:10 +00:00 +draft: false +tags: [micropost] +image: +--- + +In software engineering, #rubberduck debugging (or #rubberducking) is a method of debugging code by articulating a problem in spoken or written natural language.
The name is a reference to a story in the book «The Pragmatic Programmer» in which a programmer would carry around a rubber duck and debug their code by forcing themselves to explain it, line-by-line, to the duck.
🔈🦆 #micropost
+ + diff --git a/src/content/microposts/20221116-1046/index.md b/src/content/microposts/20221116-1046/index.md new file mode 100644 index 0000000..6b89440 --- /dev/null +++ b/src/content/microposts/20221116-1046/index.md @@ -0,0 +1,11 @@ +--- +title: 20221116-1046 +date: 2022-11-16 10:46:31 +00:00 +draft: false +tags: [micropost] +image: +--- + +I think I've said it before, but I'm totally **in love** with #gitlab #cicd procedure, even being a yml-based thing
❤️ #micropost
+ + diff --git a/src/content/microposts/20221116-1124/index.md b/src/content/microposts/20221116-1124/index.md new file mode 100644 index 0000000..ef0717c --- /dev/null +++ b/src/content/microposts/20221116-1124/index.md @@ -0,0 +1,11 @@ +--- +title: 20221116-1124 +date: 2022-11-16 11:24:38 +00:00 +draft: false +tags: [micropost] +image: +--- + +I've read you can use #cicd with #gitea too via #drone (and also #jenkins works). It may probably be worth giving it a try.
https://dev.to/ruanbekker/self-hosted-cicd-with-gitea-and-drone-ci-200l
+ + diff --git a/src/content/microposts/20221117-1034/gallery/56c4e2eac79d0909.jpeg b/src/content/microposts/20221117-1034/gallery/56c4e2eac79d0909.jpeg new file mode 100644 index 0000000..b2aaeeb Binary files /dev/null and b/src/content/microposts/20221117-1034/gallery/56c4e2eac79d0909.jpeg differ diff --git a/src/content/microposts/20221117-1034/index.md b/src/content/microposts/20221117-1034/index.md new file mode 100644 index 0000000..3973918 --- /dev/null +++ b/src/content/microposts/20221117-1034/index.md @@ -0,0 +1,14 @@ +--- +title: 20221117-1034 +date: 2022-11-17 10:34:33 +00:00 +draft: false +tags: [micropost] +image: +--- + +Boost morning! #micropost
+ + +{{< gallery match="gallery/*" sortOrder="asc" + rowHeight="150" margins="5" thumbnailResizeOptions="600x600 q90 Lanczos" + previewType="blur" embedPreview="true" >}} diff --git a/src/content/microposts/20221117-2106/index.md b/src/content/microposts/20221117-2106/index.md new file mode 100644 index 0000000..af56aee --- /dev/null +++ b/src/content/microposts/20221117-2106/index.md @@ -0,0 +1,11 @@ +--- +title: 20221117-2106 +date: 2022-11-17 21:06:44 +00:00 +draft: false +tags: [micropost] +image: +--- + +I had a little whim, wanted to import all the toots from #mastodon tagged as #micropost in my web (a static site generated by #hugo #go #golang).
It was a perfect excuse to practice a bit of #rust and enjoy all the little lessons I've learned.
I doubt it will be helpful to anyone but just in case I've published the repo:
https://git.oscarmlage.com/oscarmlage/masto-rss
I know there is quite room for improvement but feel free to give some feedback ;)
🦀
+ + diff --git a/src/content/microposts/20221118-0954/gallery/a7bbc4fd80734cb3.jpeg b/src/content/microposts/20221118-0954/gallery/a7bbc4fd80734cb3.jpeg new file mode 100644 index 0000000..07792c7 Binary files /dev/null and b/src/content/microposts/20221118-0954/gallery/a7bbc4fd80734cb3.jpeg differ diff --git a/src/content/microposts/20221118-0954/index.md b/src/content/microposts/20221118-0954/index.md new file mode 100644 index 0000000..42eda3d --- /dev/null +++ b/src/content/microposts/20221118-0954/index.md @@ -0,0 +1,14 @@ +--- +title: 20221118-0954 +date: 2022-11-18 09:54:54 +00:00 +draft: false +tags: [micropost] +image: +--- + +Morning vibes, Friday vibes... 127.0.0.2 gives me so nice pictures :) #micropost
+ + +{{< gallery match="gallery/*" sortOrder="asc" + rowHeight="150" margins="5" thumbnailResizeOptions="600x600 q90 Lanczos" + previewType="blur" embedPreview="true" >}} diff --git a/src/content/microposts/20221118-2224/index.md b/src/content/microposts/20221118-2224/index.md new file mode 100644 index 0000000..d915a4a --- /dev/null +++ b/src/content/microposts/20221118-2224/index.md @@ -0,0 +1,11 @@ +--- +title: 20221118-2224 +date: 2022-11-18 22:24:02 +00:00 +draft: false +tags: [micropost] +image: +--- + +From time to time I get an error like this trying to execute a #make custom command:
$ make backup
make: 'backup' is up to date
I thought that something was wrong with that backup command but it seems the error is because there is a `backup/` directory sibling to the `Makefile`.
If you change the directory name or the command name, the error is gone. Weird, indeed.
+ + diff --git a/src/content/microposts/20221124-1619/index.md b/src/content/microposts/20221124-1619/index.md new file mode 100644 index 0000000..879f95c --- /dev/null +++ b/src/content/microposts/20221124-1619/index.md @@ -0,0 +1,11 @@ +--- +title: 20221124-1619 +date: 2022-11-24 16:19:16 +00:00 +draft: false +tags: [micropost] +image: +--- + +Maybe your #mastodon instance is playing tricks while uploading GIF files (dunno why it's not happening with other image formats):
413 Entity too large.
In our case this is a dockerized instance with `jwilder/nginx-proxy` in the middle, the fix is easy:
1. Use a nginx config volume: `./data/conf:/etc/nginx/conf.d`
2. create a `client_max_body_size.conf`file in the volume with "client_max_body_size 100m;" inside.
3. Restart the instance
#docker #nginx #jwilder #nginxproxy #micropost #repost
+ + diff --git a/src/content/microposts/20221126-1153/index.md b/src/content/microposts/20221126-1153/index.md new file mode 100644 index 0000000..2d3fafd --- /dev/null +++ b/src/content/microposts/20221126-1153/index.md @@ -0,0 +1,11 @@ +--- +title: 20221126-1153 +date: 2022-11-26 11:53:00 +00:00 +draft: false +tags: [micropost] +image: +--- + +Day in Developer's Life: Mugcake in 2 mins
Follow me for more recipes 🤣
#youtube #video #short #micropost
One of the first things I do in my working morning routine is to open twitch and start watching someone else working (to feel some company). Today my "cowork mate" is https://twitch.tv/ppy.
Man, I love to see the way he works!
#cowork #remotework #micropost
+ + diff --git a/src/content/microposts/20221202-1236/gallery/4f2e136c07a6e4c6.png b/src/content/microposts/20221202-1236/gallery/4f2e136c07a6e4c6.png new file mode 100644 index 0000000..78eb539 Binary files /dev/null and b/src/content/microposts/20221202-1236/gallery/4f2e136c07a6e4c6.png differ diff --git a/src/content/microposts/20221202-1236/index.md b/src/content/microposts/20221202-1236/index.md new file mode 100644 index 0000000..0a62907 --- /dev/null +++ b/src/content/microposts/20221202-1236/index.md @@ -0,0 +1,14 @@ +--- +title: 20221202-1236 +date: 2022-12-02 12:36:28 +00:00 +draft: false +tags: [micropost] +image: +--- + +There is this kind of tradition with a group of friends that you gift each other anonymously a low-budget thing. I think it's called Secret Santa (we call it "amigo invisible" in .es).
Well, I received mine this morning, and the game is over, my Secret Santa won the game!
#bofhers #lart #gift #micropost
+ + +{{< gallery match="gallery/*" sortOrder="asc" + rowHeight="150" margins="5" thumbnailResizeOptions="600x600 q90 Lanczos" + previewType="blur" embedPreview="true" >}} diff --git a/src/content/microposts/20221229-1935/index.md b/src/content/microposts/20221229-1935/index.md new file mode 100644 index 0000000..9b517a4 --- /dev/null +++ b/src/content/microposts/20221229-1935/index.md @@ -0,0 +1,11 @@ +--- +title: 20221229-1935 +date: 2022-12-29 19:35:32 +00:00 +draft: false +tags: [micropost] +image: +--- + +Wrote a blog post - and had lot of fun - about benchmarking an API endpoint with different stacks:
🔘 golang+gorm+custom-router
🔘 golang+gorm+echo
🔘 golang+gorm+gin
🔘 php+laravel
🔘 php+vanilla-mysqli_*
https://oscarmlage.com/posts/benchmarking-with-siege/
#go #golang #gorm #gingonic #gin #echoserver #echo #php #laravel #mysql #blog #post #micropost
+ + diff --git a/src/content/microposts/20230112-1101/index.md b/src/content/microposts/20230112-1101/index.md new file mode 100644 index 0000000..63dde34 --- /dev/null +++ b/src/content/microposts/20230112-1101/index.md @@ -0,0 +1,11 @@ +--- +title: 20230112-1101 +date: 2023-01-12 11:01:35 +00:00 +draft: false +tags: [micropost] +image: +--- + +I'm nearly in love with #go + #echo + #gorm + #testify + #fresh. Trying now to upgrade fresh to #air and add #delve to the equation. As a side note, the stack seems more complicated to set if you use containers.
+ +