How to run a shell script in OS X by double-clicking?

First in terminal make the script executable by typing the following command: chmod a+x yourscriptname Then, in Finder, right-click your file and select “Open with” and then “Other…”. Here you select the application you want the file to execute into, in this case it would be Terminal. To be able to select terminal you need … Read more

Chrome desktop notification example [closed]

In modern browsers, there are two types of notifications: Desktop notifications – simple to trigger, work as long as the page is open, and may disappear automatically after a few seconds Service Worker notifications – a bit more complicated, but they can work in the background (even after the page is closed), are persistent, and … Read more