While trying to learn Elm, I came across a few concepts that were not easy to grasp. Especially when it comes to types and the syntax. I struggled with the difference between type and type alias. I struggled with understanding what was going on in a type declaration. I also struggled with the many different things that are written in module-case and separate them. We will try to answer all these questions here.
We will see how to convert a folder of images to make them safe for web using the Mac OSX command line tool Sips. First in a shell script and then an Applescript version if you want to share this functionality with less technical users.
The flasher function is just a small command which flashes your screen until you press any key. It is usually put at the end of a long running process in order to indicate that the job is finished.
If you are on OSX and use Mail.app, but work a lot in the command line and would like a simple command to print a summary of unread emails, then this post is for you.
I don't know about you but each time I want to delete a remote branch in Git, I always end up looking online. Here is a function which will delete any branch, remote or local, with the same syntax.
You probably already know a few ways to transform variables inherited from Bash. If not, you should check them out because they are really useful. They allow you to get a substring, substitute a word for another, etc. Here are a few variable modifiers for handling paths.