hywan, to random
@hywan@fosstodon.org avatar

The case for Nushell, https://www.jntrnr.com/case-for-nushell/.

Relevant article about shells, and how Nushell pushes the boundaries further. I highly recommend reading it.

#shell #nushell

mjgardner, (edited ) to programming
@mjgardner@social.sdf.org avatar

This is hilarious. A #Google engineer invented #zx to make command line scripting easier with #NodeJS, because at a certain point #shell scripts get too complicated and you need a Real #Programming Language.

https://github.com/google/zx/

This is exactly #Perl’s use case from thirty-six years ago. But the kids want #JavaScript everywhere and would rather it take more work to convert their ascended #Bash scripts to a vastly different syntax.

https://github.com/google/zx/issues/581#issuecomment-1516573139

#Unix #Linux #ProgrammingLanguages

smallcircles, to random
@smallcircles@social.coop avatar

nuclear plant will start to ditch 1 million tons of tritium-polluted water out into the sea.

> The decision comes weeks after the UN’s nuclear watchdog, the International Atomic Energy Agency (IAEA), approved the discharge, saying that the radiological impact on people and the environment would be “negligible”.

Yea, right . This is just as trustworthy as concluding that the burning of has negligible effects on the earth's atmosphere.

https://www.theguardian.com/environment/2023/aug/22/fukushima-wastewater-from-ruined-nuclear-plant-to-be-released-from-thursday-japan-says

scy, to linux
@scy@chaos.social avatar

The article's title: What exactly was the point of [ “x$var” = “xval” ]?

Me: "Well, cargo culting for people who don't know how to quote in the shell?"

Turns out: no. There are several good reasons why people did this, and the bugs it's been a workaround for have continued to exist into the 2010s.

If you're somewhat proficient in scripting and/or interested in history, this is an awesome read.

https://www.vidarholen.net/contents/blog/?p=1035

fell, (edited ) to programming
@fell@ma.fellr.net avatar
helenczerski, to cycling

My membership of British Cycling has come around for renewal and I have no hesitation in telling them to get lost. The fact that they took on a major sponsorship deal with Shell (SHELL!) in October and have refused to reverse that decision is appalling. This is classic greenwashing - Shell are continuing to extract all the oil they can. Cycling should not offer shelter to the fossil fuel companies putting profit ahead of the planet.

https://bikebiz.com/a-shocking-decision-industry-reacts-as-british-cycling-signs-deal-with-shell/

#Cycling #UCI #Shell

rml, to random

"I tried , and something I noticed was that for any simple function, takes a moment to compile, which isn't acceptable for a "

Is this really the case?? Doesn't sound right at all.

and both feel faster than , for example.

https://www.youtube.com/watch?v=dCbTw9UOuS8

britter, to linux
@britter@chaos.social avatar

It was surprisingly easy to port all my custom fish and git config to home manager. The next big thing I need to figure out is how to manage multiple java versions and assign their directory to environment vars. Currently using @asdf_vm but it doesn‘t seem to work on @nixos_org. #linux #nixos #homemanager #java #fishshell #git #asdfvm #shell #dotfiles

pug50, to linux

I just heard someone pronounce CLI as "klee", and now I want to be put into a cannon and shot into the sun.

#Shell #Linux #CommandLine

kubikpixel, to workersrights
@kubikpixel@chaos.social avatar

These five #CLI tools are almost never mentioned to make your #work pleasant in the #terminal:

0️⃣ https://taskwarrior.org
1️⃣ https://timewarrior.net
2️⃣ https://taskell.app
3️⃣ https://jrnl.sh
4️⃣ https://github.com/sharkdp/fd

Bonus:
5️⃣ https://github.com/Peltoche/lsd

#foss #floss #oss #opensource #linux #bsd #shell #colors

hagedose68, to Amex German

Nach der ersten Fahrt mit einem Elektro-Mietwagen habe ich inzwischen gelernt, dass die Mineralölkonzerne auch bei E-Mobilität abzocken. hatte suggeriert man müsse Recharge verwenden. Ich habe mir wie empfohlen einen Account angelegt und eine Karte für nicht-Shell-Stationen bekommen.
Geladen haben wir damit letztlich bei . Berechnet wurden 66 Cent pro Kilowattstunde. Heute habe ich aus Neugier bei Aldi geschaut und gesehen, dass wir dadurch fast das Doppelte bezahlt haben!

opsitive, to linux

"Crap, I was in the wrong directory when I untarred that package, and now it's full of stuff." Well, you can clean up just as quickly by using the list of files from the tarball:

tar tzf /path/to/ball.tar.gz | xargs -d'\n' rm -rfv

#Linux #Shell #SystemAdministration #SysAdmin

vwbusguy, to linux
@vwbusguy@mastodon.online avatar

In today's #Linux #shell adventures, did you know that [ is an executable ELF binary provided by coreutils? There's a /usr/bin/[ program in the $PATH on most Linux systems.

Check it out:
which [

eclectech, to photography
@eclectech@things.uk avatar

It has been a long day.

Decided I needed to make something to clear my head, so I took a photo of a shell and made this and now I'm a bit scared.

I don't know why it's smiling like that.

jackofalltrades, to climate
@jackofalltrades@mas.to avatar

A climate activist celebrating Shell's EV charging station is like a vegan applauding McDonald's for their new salad option.

https://mstdn.social/@GreenFire/111109861448848007

memo, to ubuntu German
@memo@mstdn.mv2k.com avatar

Ich habe zum Testen #Ubuntu installiert.
Auf dem #Desktop wollte ich #Verknüpfungen anlegen; wozu soll er denn sonst gut sein 😉

Das geht aber so einfach nicht. Im Internet gesucht und über Anleitungen gestoßen, die behaupten, dass das doch ganz einfach ist: “Schritt 1, 2, 3 … 10, und schon geht es” 🙄

Es geht allerdings auch, indem man über die #Shell den Default #Dateimanager von Nautilus auf Nemo ändert – muss man aber wissen!

Und da wundern sich viele, warum #Linux nicht mehr genutzt wird 🤔

hl, to sysadmin
@hl@social.lol avatar

I've just read the sentence: "It’s a shell script, so it runs everywhere." and now have an urge to count lifeboats...

#shell #sysadmin #SweetSummerChild #WhatCouldPossiblyGoWrong

gregorni, (edited ) to random
@gregorni@fosstodon.org avatar

I learned by accident today that you can change your working directory in Fish shell using Alt and the left/right arrow keys. It basically keeps track of the history of your directory navigation, and flips through your history.

#Shell #fish #fishShell #pwd

scott, to programming
@scott@tams.tech avatar

A thought just struck me, fuck command line options, why not just use environment variables? What makes git commit --message "fixed shit" better than message="fixed shit" git commit?

edit: apparently environment variables don't work the way I thought they did. I thought you could prefix a command (without a newline or semicolon between) with vars and they would be set only for the command

fulelo, to california
@fulelo@journa.host avatar

sues five major oil companies for ‘decades-long campaign of deception’ about

https://www.latimes.com/california/story/2023-09-16/california-sues-five-major-oil-companies-for-lying-about-climate-change
Mobil, , , , and the American Petroleum Institute

primonatura, to uk
@primonatura@mstdn.social avatar

"Oil and gas supermajors including Shell and BP are using UK influencers to push false solutions to the climate crisis and manufacture a more family friendly image, DeSmog can reveal."

#UK #UnitedKingdom #Shell #BP #FossilFuels #Energy #Climate #ClimateChange

https://www.desmog.com/2023/07/27/fossil-fuel-oil-gas-giants-shell-bp-using-british-influencers-to-go-viral/

fulelo, to random
@fulelo@journa.host avatar

#Shell boss says cutting #oil production would be 'dangerous'
https://www.bbc.co.uk/news/business-66108553

Rjdlandscapes, to Hydrogen

More details on #Shell abandoning the Californian #fcev #hydrogen market

After $40 million in grants in 2020 they are closing their fuel stations and exiting the light duty vehicle h2 market.. Like thy have already done in the UK

#evs #electricVehicles

https://energynews.biz/shell-abandons-california-hydrogen-stations/

lobocode, to Lisp

Conducting a small experiment using #Lisp instead of #shell script. Reason? Mere curiosity.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • InstantRegret
  • ethstaker
  • magazineikmin
  • GTA5RPClips
  • rosin
  • modclub
  • Youngstown
  • ngwrru68w68
  • slotface
  • osvaldo12
  • kavyap
  • DreamBathrooms
  • Leos
  • thenastyranch
  • everett
  • cubers
  • cisconetworking
  • normalnudes
  • Durango
  • anitta
  • khanakhh
  • tacticalgear
  • tester
  • provamag3
  • megavids
  • lostlight
  • All magazines