

Sorry. New to lemmy. I am running the sync client on Android. Is there a better way to make gifs more universal? Seems like it was 50/50 on it working for people. Or is just better to just post the link?
Sorry. New to lemmy. I am running the sync client on Android. Is there a better way to make gifs more universal? Seems like it was 50/50 on it working for people. Or is just better to just post the link?
Liberals: Dogs can’t play basketball!
Republicans:
Isn’t the whole major factor of climate change being that the atmosphere is able to retain more moisture? I may be wrong but I thought I read an article about this. A major shift being a lot of dry periods in regions followed by very wet periods. Essentially the atmosphere can hold more moisture so it has longer dry periods and then much more intense rain and floods. Which would obviously be similar for snowfall.
Hey I know this cat. Looks like the cast all 5 of the neighborhoods I grew up in had roaming around.
That’s what Elon started wearing his kid on his head.
Just gonna leave this guys rendition of the Chemical Workers Song here. Feels like it compliments this post.
Yes. You’re correct. The script will execute with /bin/bash by default but only in a bash shell. #!/bin/bash is still a good habit to have. Some platforms may be running an “sh” shell by default. In this case if you ran the script it would execute with /bin/sh instead. Which would work or not work depending on if your script was written in purely sh syntax and not using any uniquely bash style syntax.
Bash can run all sh scripts but sh cannot run all bash scripts. So explicitly stating for which one your script was written for is good practice to not run into errors if you move your script to a different environment.
It makes it usable without typing bash. Same would apply for a python script. For example you can make a python script named with no extension and add #!/usr/bin/python to the top of the file. Bash shell sees this and knows to execute the script using that python path.
Then you just include the directory in your $PATH and chmod +x the script. Then you can type $python_script instead of $python python_script.py
https://youtu.be/acT_PSAZ7BQ