br00t4c, to random
@br00t4c@mastodon.social avatar

Shell says doing more to rein in global warming is 'unrealistic'

https://qz.com/shell-climate-change-resolution-1851417483

captainfutura, to random German
@captainfutura@mastodon.social avatar

: absurd hoher Milliarden-Rekordgewinn

: absurd hoher Milliarden-Rekordgewinn

: absurd hoher Milliarden-Rekordgewinn

Skeptischer Claus-Dieter: „Die ist eine linksgrüne Verschwörung, um uns allen das Geld für angeblichen „Klimaschutz“ aus der Tasche zu ziehen und die Fossilindustrie zu ruinieren!!!“

AlanC, to photography
@AlanC@pixelfed.social avatar
orhun, to rust
@orhun@fosstodon.org avatar

Want to add Vim key bindings to your Rust application? 🤔
Say less.

🦀 modalkit: A Rust library for building modal editing applications.

🚀 Can be used with TUIs (via @ratatui_rs) or shell-like applications.

⭐ GitHub: https://github.com/ulyssa/modalkit by @ulyssa

#rustlang #library #vim #editor #tui #shell #ratatui

br00t4c, to random
@br00t4c@mastodon.social avatar

'Who let bro cook?': Taco Bell customer gets jaw-dropping Doritos Locos taco. How'd he even do that?

#cook #shell

https://www.dailydot.com/news/taco-bell-doritos-locos-taco-fail/

Bella, to Battlemaps
br00t4c, to random
@br00t4c@mastodon.social avatar
awoodsnet, to php
@awoodsnet@phpc.social avatar

I’m giving 2 talks at Tek in Chicago — Shell Scripting for PHP Developers and Create Better Dotfiles — later this month. It’ll be something to see! You don’t want to miss it!

Get your ticket today!

https://tek.phparch.com/

#PHP #conference #shell #linux #chicago #WebDev

sushee, to random
@sushee@fosstodon.org avatar

I had my mind blown 🤯

pax -rw -pe -s/foo/bar/ foo.* .

copies foo.* to while renaming it to bar.*

and I've been fiddling with damn loops and what not.. and pax is ANCIENT.

br00t4c, to random
@br00t4c@mastodon.social avatar
br00t4c, to gadgets
@br00t4c@mastodon.social avatar

Fairbuds are Fairphone's proof that we really could make better tiny gadgets

https://arstechnica.com/?p=2016094

awb, to python

The /usr/bin/env approach in a Shell script's shebang line is pretty clever, but where did it originate? The earliest examples I could find were for Python in 1998. In "Programming Perl" it is mentioned in the 3rd edition from 2000, but not earlier. I also did not find it used in Tcl or Expect references. All sorts of wrapper script hacks with exec were used though.

So, can anybody point me at pre-1998 examples of the use of env in a Shell script's first line?

br00t4c, to random
@br00t4c@mastodon.social avatar
br00t4c, to random
@br00t4c@mastodon.social avatar
yoyo308, to random
@yoyo308@mastodon.online avatar

Aquí, updateando Zorin mientras tomo el café. Vuestra tarde, ¿Qué tal?

visone,
@visone@fosstodon.org avatar

@yoyo308

Actualizando mi script para passwords para poder usarlo con tut y mantener la cuenta encryptada en la config.
Asi como actualizar las opciones de editar y añadir passwords ......

Vamos una tarde de trasteo

lobocode, to Lisp
@lobocode@hachyderm.io avatar

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

chmouel, to Bash
@chmouel@fosstodon.org avatar

Something that served me well over the year, viewing a configuration files without the comment and the newlines with sed:

sed -e '/^#/d' -e '/^$/d' file.conf

so you can see a clean version of all the settings you have set in the file..

visone, (edited )
@visone@fosstodon.org avatar

@chmouel

I would add this to filter out empty lines

sed -e '/^#/d' -e '/$^/d' -e '/^[[:space:]]*$/d'

scy, to Bash
@scy@chaos.social avatar

Friendly reminder that

#!/bin/sh
set -e

is better than

#!/bin/sh -e

because the latter stops working when you do "sh script.sh" instead of "./script.sh".

cdrmack, to vim
@cdrmack@fosstodon.org avatar

„The Missing Semester of your CS education” is a series of lectures run by the MIT students. They discuss things like , , , . Worth watching, especially if you are new to the industry.

https://missing.csail.mit.edu

br00t4c, to random
@br00t4c@mastodon.social avatar

Refurbished Dell Latitude 7320 Detachable Tablets Are Starting at $379.99 Right Now

https://lifehacker.com/tech/refurbished-dell-latitude-7320-detachable-tablet-deal

linuxmagazine, to linux
@linuxmagazine@fosstodon.org avatar

The May issue has been released! This month we look at the D-Bus architecture, which creates a powerful channel for applications to communicate. Order your copy! today https://bit.ly/Linux-Magazine-catalog

santiago, to random
@santiago@masto.lema.org avatar

I keep forgetting the name but aria2 is just great when you want to download a torrent on a server. One parameter (magnet or torrent file) and it starts downloading.

https://aria2.github.io

br00t4c, to random
@br00t4c@mastodon.social avatar

Shell In Court Over Its 'Dire' Exacerbation Of The Climate Crisis

https://popularresistance.org/shell-in-court-over-its-dire-exacerbation-of-the-climate-crisis/

CelloMomOnCars, to Hydrogen
@CelloMomOnCars@mastodon.social avatar

"['s] Energy Transition report is actually a full-throated defense of the industry.

– First, management is bullish on production;
– Second, they foresee a continued significant role for in the transportation sector;
– Third, [there is] an expectation for more .
– Fourth, new carbon abatement and removal technologies “will be needed.” [This refers to] technologies or operating efficiencies that presently do not exist."

https://www.theguardian.com/business/2024/mar/14/shell-warns-it-may-slow-emissions-reduction-during-crucial-climate-decade

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