Discussion
Loading...

#Tag

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Aral Balkan
Aral Balkan
@aral@mastodon.ar.al  ·  activity timestamp 2 weeks ago

Just shared my WezTerm¹ configuration. It’s not very long and mostly just adds a few keyboard shortcuts that I find more ergonomically-pleasing, specifies light/dark themes and improves colour scheme consistency and also, if you use Helix Editor², automatically implements light/dark mode theme changes for it in line with the rest of the terminal.

https://codeberg.org/aral/gists/src/branch/main/wezterm.lua.md

¹ https://wezterm.org
² https://helix-editor.com

#dev #terminal #WezTerm #HelixEditor #config #configuration #dotFiles #gist

  • Copy link
  • Flag this post
  • Block
Hacker News
Hacker News
@h4ckernews@mastodon.social  ·  activity timestamp last month

Things I don't like in configuration languages

https://medv.io/blog/things-i-dont-like-in-configuration-languages

#HackerNews #Things #I #like #in #configuration #languages #configuration #languages #programming #software #development #tech #critique

Things I Don't Like in Configuration Languages

  • Copy link
  • Flag this post
  • Block
Jan :rust: :ferris: boosted
GitRoot
GitRoot
@forge@gts.gitroot.dev  ·  activity timestamp 2 months ago

How does GitRoot handle security without a database or an API?

It's a system based entirely on your repo's configuration and how git works.

When you create a repo, your public SSH key is saved in the file: `.gitroot/users.yml`. You are automatically added to the `owner` group in that file. This group is marked to manage your default branch (main by default).

So, what does this mean in practice?

If you push to main: GitRoot checks your SSH key, sees you're the owner, and accepts the push. If someone else tries to push to main: their SSH key doesn't match the owner group. GitRoot rejects the push.

But here's the cool part: anyone can create a new branch (feature-fix for example) and push their changes to that branch.

This creates a perfect workflow: you, as the owner, remain the sole manager of the main branch and are the only one who can review and merge changes from other contributors. Contributors don't need to fork for contributions.

It's your repository, and you have the freedom to configure these rules however you want, right in that YAML file.

Learn more about user management: https://gitroot.dev/doc/#users

More tips:
- disable anonymous pushes: https://gitroot.dev/doc/how-tos/no_anonymous_user.html
- let all contributors write to all branches: https://gitroot.dev/doc/how-tos/contributors_can_write_all.html

#git #forge #configuration #ssh #security #devops

  • Copy link
  • Flag this post
  • Block
GitRoot
GitRoot
@forge@gts.gitroot.dev  ·  activity timestamp 2 months ago

How does GitRoot handle security without a database or an API?

It's a system based entirely on your repo's configuration and how git works.

When you create a repo, your public SSH key is saved in the file: `.gitroot/users.yml`. You are automatically added to the `owner` group in that file. This group is marked to manage your default branch (main by default).

So, what does this mean in practice?

If you push to main: GitRoot checks your SSH key, sees you're the owner, and accepts the push. If someone else tries to push to main: their SSH key doesn't match the owner group. GitRoot rejects the push.

But here's the cool part: anyone can create a new branch (feature-fix for example) and push their changes to that branch.

This creates a perfect workflow: you, as the owner, remain the sole manager of the main branch and are the only one who can review and merge changes from other contributors. Contributors don't need to fork for contributions.

It's your repository, and you have the freedom to configure these rules however you want, right in that YAML file.

Learn more about user management: https://gitroot.dev/doc/#users

More tips:
- disable anonymous pushes: https://gitroot.dev/doc/how-tos/no_anonymous_user.html
- let all contributors write to all branches: https://gitroot.dev/doc/how-tos/contributors_can_write_all.html

#git #forge #configuration #ssh #security #devops

  • Copy link
  • Flag this post
  • Block
Felix Palmen :freebsd: :c64:
Felix Palmen :freebsd: :c64:
@zirias@mastodon.bsd.cafe  ·  activity timestamp 8 months ago

When writing a #daemon that follows best practices (handling of #detaching with a locked #pidfile, and #SIGHUP for #configuration #reload), an extremely simple "init script" will do (reliably!) for #FreeBSD's mewburn-rc. 😎

#C #coding #swad

FreeBSD "init script" for swad, basically just declaring some metadata for the mewburn rc framwork.
FreeBSD "init script" for swad, basically just declaring some metadata for the mewburn rc framwork.
FreeBSD "init script" for swad, basically just declaring some metadata for the mewburn rc framwork.
  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.40 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct