Skip to main content

Search

Items tagged with: Code


You know git.disroot.org has been using #forgejo
(fix your spelling on the tag) and hasn't had a minute of downtime or error in more than 2 years I've been with them

#Smartgit though are lying about a free license to developers of open free code, as they only recognize major corporate servers such as MS #github or #gitlab

@aral @Codeberg @forgejo

#codeberg #forgejo
#typography #code


Ooh, @Codeberg just updated to @forgejo version 7 and… *ta daa*, the spurious warnings in the code listings for proper curly quotes and other correct – but sadly underutilised – typographical elements in comments and strings are gone!

e.g., see https://codeberg.org/kitten/app/src/branch/main/examples/fetchiverse/index.page.js#L9

Yay! Thank you – I’m no longer going to feel embarrassed about linking to my source code on Codeberg :)

#codeberg #forjego #typography #code
💕 🎉


Little web dev tip: if you have just one address field in your HTML form (e.g., a textarea) but you still want the person filling it in to avail themselves of autocomplete, here’s a little reusable snippet you can use to achieve that:

https://codeberg.org/aral/gists/src/branch/main/single-html-address-field-with-autocomplete-using-javascript.md

(Ideally the web spec should be extended to include a full-address value for the autocomplete attribute.)

#HTML #autocomplete #JavaScript #address #web #dev #tip #code


Neovim Note-Taking: A Lua Adventure

A quick look at 7-line piece of neovim lua code that has changed my workflow quite a bit. Note-taking simplicity at its best.

https://schulz.dk/2024/04/11/neovim-note-taking-a-lua-adventure/

#Code #Vim #linux #lua #neovim