When brew cleanup fails with permission errors, try:
sudo chown -R "$(whoami)":admin /usr/local/lib
| tar -czhf ${CI_COMMIT_TAG}.tar.gz -X .tarignore * |
| .git | |
| .gitignore | |
| .gitkeep | |
| .babelrc | |
| .editorconfig | |
| .vscode | |
| docker | |
| docker-compose.yml | |
| .env.example | |
| phpcs.xml |
| <?php | |
| /* | |
| Plugin Name: B&S Autoloader | |
| Plugin URI: https://github.com/borgenfalkskott | |
| Description: Mu-plugin autoloader for vanilla Wp. | |
| Version: 1.1.0 | |
| Author: Borgenfalk & Skott | |
| Author URI: https://borgenfalk.se | |
| License: MIT | |
| */ |
| #!/bin/bash | |
| # Requires ffmpeg | |
| # Scale down all jpgs in a folder to a set size and save them with a suffix | |
| for i in *.jpg; do ffmpeg -i "${i}" -vf scale=1200:-1 "${i%.*}_small.jpg"; done |
| #!/bin/bash | |
| curl https://www.instagram.com/instagram/\?__a\=1 > ~/Desktop/insta.json |