veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

296
active users

#nushell

1 post1 participant0 posts today

I have just submitted this issue, github.com/nushell/nushell/iss for #nushell + #sydbox integration for a well-confined and audited default shell. Hopefully we can provide a portable base to include #FreeBSD's #Capsicum, #OpenBSD's #pledge and #NetBSD's #secmodel supported one day too! Imagine your #shell covering your ass when you tell noone but #curl #bash at 3 am on a nightshift trying not to wake anyone up! Feedback much appreciated! #exherbo #security

GitHubConfined shell with nushell+syd · Issue #16081 · nushell/nushellBy alip

#nushell and #keadhcp: get all DHCP leases from the DHCP server via API, covert the remaining lease time to human readable format and sort by remaining lease time

http post --content-type application/json http://192.0.2.42:8000 { service: [ dhcp4 ], command: lease4-get-all } | get arguments.0.leases | update cltt { |row| $row.cltt * 1000000000 | into datetime } | sort-by cltt | select ip-address hw-address cltt

Curl is great, but there doesn't seem to be as easy a way to plumb the etag or last-modified header from a response into the if-none-match or if-modified-since request header of a follow-up request as there is in #nushell:

http get --full -H [
If-None-Match
(http get --full $url
| get headers.response
| where name == etag
| get value.0)
] $url
| select headers status

Continued thread

`sudo xbps-install wmenu clipman font-adobe-source-code-pro gdu btop micro fastfetch nushell syncthing`

`mkdir ~/.config/foot/`

`cp /etc/xdg/foot/foot.ini ~/.config/foot/foot.ini`

`micro ~/.config/foot/foot.ini`

Default shell: `shell=/usr/bin/nu`. It is possible to set #nushell as the login shell, but I would say it is unnecessary and on Void would require adding environment variables to `$nu.env-path` (github.com/nushell/nushell/iss), which is annoying.

GitHubnushell doesnt inherit /etc/locale.conf when used as a login shell · Issue #7941 · nushell/nushellBy rukai

Hello world! This is a human-maintained account for Nushell. Thanks Hachyderm for hosting us.

One way to introduce Nushell is using three "pillars" that form the core of the project:
1. Shell
2. Programming Language
3. Structured Data

1/N #nushell

Today I reimplemented my backup. Well, I finished it today, some things took time.

Nothing fancy, there is a systemd timer that runs a nu script. In the script I pull everything I want to backup with rsync and put it on a USB drive. That backup folder is rsync’ed to a flash drive in my SMB share on my router and rclone’d to a cloud.

This way, I can access files locally without a PC and from anywhere via the cloud, and 3-2-1 is satisfied, I guess.