Pinned toot

@Qwxlea

There are multiple aspects to "Indiewebifying" your site.

@kevinmarks: Correct me where I am wrong below.

1. : You have a website be *you*, YOUR identity. That's where rel=me comes in. For lazy folks like me, I identify myself and link that to my GitHub profile.

2. : This makes your web pages parseable by the Webmention endpoints (like webmention.io, that heroku app, etc.)

/1

Pinned toot

@Ninjatrappeur

> Sadly, you'll need some kind of server-side dynamic rendering to show your webmentions. This will be a problem when you use a static website generator and refuse to add any kind of client-side JavaScript.

I know neither PHP nor JS. So I thought that Webmentions is no-go for me.

But I was able to make it work on my static site deployed over . See the attached image for my flow :D

Example: scripter.co/#webmentions

Ref: discourse.gohugo.io/t/alternat

I want to spend time on #emacs #orgmode again in 2020.

Will you help me secure free time by donating through liberapay.com/bzg or github.com/sponsors/bzg or paypal.me/bzg ?

Don't be afraid to give too much, it won't probably compensate for the hours spent !

🙃 🙏

atan() did not do what I wanted. So I derived "something" using atan() that actually did what I wanted.

.. and later I realize that that "something" is called atan2() in math libraries. :facepalm:

I'm doing Advent of Code for the very first time this year. The programming problems are addictive!

My language of choice in .

I am posting my solutions so far on my repo: github.com/kaushalmodi/aoc2019

(obviously, they are have spoilers)

@sir The reason is that I need to get info about a repo using the static site generator , using its getJSON template function.

I am not sure how to go through OAuth stuff in the template without making my git.sr.ht access token public (because my site source is public).

@sir Hello, is it possible to have just read access to a user/repo's commits via the API?

I am looking for something similar to:

curl "api.github.com/repos/USER/REPO"

for git.sr.ht.

I just released #emacs #orgmode 9.3. This is a new version with new features and some incompatible changes: please read the Changelog carefully: orgmode.org/Changes.html

As usual, thanks to the amazingly sustainable community!

Wrote a little utility in Nim to search and play YouTube videos directly from the command line.
gitlab.com/njoseph/cli-tube

This is partly due to my dissatisfaction with the ytview script from the Bash-Snippets package.

ytview.sh - 210 LoC
clitube.nim - 44 LoC

Size of release binary: 637 KB (amd64)

Used only the standard library, no dependencies.

I might prefer Nim to Bash/Python for small portable utilities in the near future.

#Nim #Nimlang #ToyProject

Even with that setting in config.toml, if you see ox-hugo exporting Markdown that doesn't work the same way as before Hugo v0.60 (or even if it doesn't work as expected on any Hugo version), don't hesitate to open an issue on github.com/kaushalmodi/ox-hugo

.. even if you think that it's probably not a bug. It's OK to open a issue just to clarify some doubts.

[2/2]

Ox-hugo users::

I did some very brief testing of ox-hugo with the latest Hugo v0.60.1 (which uses the Commonmark parser Goldmark instead of the old and unmaintained Black Friday), and it seems like everything Just Works (TM) as before you if add this to your site's config.toml:

[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true

See gohugo.io/news/0.60.0-relnotes for details.

Please boost this!



[1/2]

#emacsconf 2019 - Main Page

emacsconf.org/2019/

This year, we are holding EmacsConf as an online conference. We will be using free software tools exclusively throughout our infrastructure, with a detailed write-up of our setup coming after the conference.

#emacs

People who call a "text editor" are totally missing the point - it does SO much more than just edit text. For example:

1. Emacs has a builtin notetaking system called org-mode.
2. Org-mode has a builtin spreadsheet system.
3. This spreadsheet system has a builtin formula debugger.

That's how deep it goes. There's so much useful and awesome functionality to discover in Emacs. I've used it for 25 years now, and I still learn new stuff about it every week.

Just spent 10 minutes dealing with a misbehaving app, and wifi issues on my TV. I remember in the 90s when we were told computers would one day be as easy to use as a TV. I guess that day is here.

When these were packed into my suitcase when I first came to US for my studies, I didn't know that I'll open them after roughly 14 years, for my future son :D

@kaushalmodi

today I discovered today that in order to get an "about page" to look like a post, I need to tell hugo to use the layout=single property. but ox-hugo "ran it over" each time I made changes.

So, wanted to submit an issue, found someone else with a smilar issue (where it was type) and tried to use
":EXPORT_HUGO_LAYOUT: single"

and it worked! *makes a little dance*

Do all hugo page properties (front matter?) translate through ox-hugo like this?

A blog post I found in wild, about blogging in using : pwills.com/post/2019/09/24/blo

What's interesting is that the author seems to be motivated to write an Org Mode to Markdown exporter for Jekyll just as I was for .. and as I read through it, he mentions that bits and pieces he borrowed from for his exporter.

:)

The #nim language is fantastic. I have been digging into the book #nim in action and the tutorials. Having lots of fun and learning new ways. Can’t wait to start learning meta programming. I can cross compile to windows also and it just works. Very impressed.

Heads up if you’re on a pre-0.58 version of Hugo (the static site generator). As of 0.58 (as far as I can tell from the release notes), your templates will most likely break as .Data.Pages is now .Site.RegularPages. You’ll most likely need to make the changes on your home page and in your RSS template(s).

#hugo

Show more
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!