Search

Items tagged with: shell


Lately I have noticed that when you purchase a ticket you don’t get a static PDF/PNG anymore.

Increasingly often, you get a .pkpass file, which is supposed to be opened in wallet apps (like Google Wallet or any 3rd-party wallet app).

Since I don’t like to share information about the events I attend with strangers on the Internet, I have decided to take a closer look at these .pkpass files.

They are just zip files that contain a background image, an icon and a pass.json with the actual information about the ticket. Nothing that can’t be handled by a script rather than a 3rd-party 100 MB mobile app.

I have thus put together a simple #shell script that does exactly that.

Dependencies:

  • jq
  • zint
  • magick
  • unzip
  • curl or wget

gist.manganiello.tech/fabio/pk…

Usage:

pkpass2png <a href="https://domain.tld/myticket.pkpass" rel="ugc">https://domain.tld/myticket.pkpass</a> ticket.png


🌀 "State of the Shell"
with core Shell & Mutter devs at #GUADEC2025
📅 25 July 🕒 10:35 CEST 📍 Brescia

🚀 Yearly update time! Join Carlos, Florian, Georges, Jonas, Philip & Sebastian for a look at what’s new—and what’s next—in GNOME Shell.

🔗 events.gnome.org/event/259/con…

#GNOME #Shell #Mutter #Wayland #FOSS



Interesting project #Gum, anyone already tests it ? @aral ? « A tool for glamorous #shell #scripts. Leverage the power of Bubbles and Lip Gloss in your scripts and aliases without writing any Go code ! » :idle: github.com/charmbracelet/gum



Send Output To Editor (sote) 1.0.0 released

Fish(er) plugin that sends the output of your last command to your editor.

Ever wished you could grab and manipulate some text from the output of a command without using the mouse and copy/paste? This is for you :)

Install:

fisher install small-tech/sote

More info:

github.com/small-tech/sote#rea…

(So this is me apparently not yak shaving today.)

#fish #shell #terminal #sote


From a POSIX shell `$OLDPWD` holds the name of the previous working directory:
cd /tmp
echo You are here: $PWD
echo You were here: $OLDPWD
cd $OLDPWD

#Unix #Linux #Shell #cd