There are 4 articles tagged as "bash"

Toggle a VPN connection

on March 06, 2020. in Development. A 1 minute read.

At work I often have to turn a VPN connection on and off. Clicking through the network manager, finding the right VPN connection, connect to it… Feels like a waste of time, no? There has to be a better way. And there is :)

Continue reading Toggle a VPN connection...

CLI command to whitelist Composer packages

on December 04, 2017. in Development, Software. A 3 minute read.

James asked this question the other day on Twitter:

Automatically upload screenshots in XFCE4

on February 13, 2012. in Development, Programming, Software. A 2 minute read.

XFCE4 has a nice little tool for making screenshots - xfce4-screenshooter. My only gripe with it is that it can’t automatically upload the images to a server and give me the URL to the image (to be honest, it can, but it uploads the images to a shady looking website, and I don’t like that). And then one day I saw Evan Coury’s GtkGrab - a set of scripts which does exactly what I want! But, sadly, that’s for Gnome. So, based on Evan’s work, I put together this little script:

Notes on shell scripting

on December 29, 2011. in Development, Programming. A 2 minute read.

Yesterday I did some shell scripting and thought about writing down the few things learned along the way. Amazing how little needs to be done to learn a lot :)

Continue reading Notes on shell scripting...