Or: “Everybody likes being given a glass of water.”
By Merlin Mann.
It's only advice for you because it had to be advice for me.
| #!/usr/bin/osascript -l JavaScript | |
| // ^^^^ COMMENT/REMOVE THIS SHEBANG IF RUNNING FROM SCRIPT EDITOR!!!!! ^^^^^^^^^^^ | |
| // The SHEBANG is only needed if the file is executable and is run from a terminal with `./RsyncBackup.js` | |
| // 1. In MacOS Spotlight type 'Script Editor' and paste the code below | |
| // 2. Click the top-left dropdown which says 'AppleScript' and select 'JavaScript' | |
| // 3. Under menu File pick Export | |
| // 4. In the Export dialog select File Format = Application | |
| // 5. Save the app in /Applications |
| #!/bin/sh | |
| # usage: | |
| # ql /tmp/file.jpg | |
| # cat /tmp/file.jpg | ql | |
| # cal -h | ql | |
| if [ -z "$*" ]; then | |
| cat > /tmp/ql.stdin | |
| mime_type=$(file --brief --mime-type /tmp/ql.stdin) |
| <?php | |
| /* | |
| A simple PHP class to perform basic operations against Amazon S3 and compatible | |
| services. Requires modern PHP (7+, probably) with curl, dom, and iconv modules. | |
| Copyright 2022 Marco Arment. Released under the MIT license: | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights |
This script detects apps with not yet updated versions of Electron.
Repo: https://github.com/tkafka/detect-electron-apps-on-mac
See: