Tag: bash
After I had success with my unit and feature tests
watcher script I decided to
build something similar for a Laravel Dusk E2E (end-to-end) test too.
However, it was a little bit different this time as I have found out after
many iterations. I started up simply updating the watche... Automatic Remarkable2 backup on Mac This script backs up the data and its config from your Remarkable2 tablet
to the repository once it is connected via USB, commits it and pushes to
origin. Install Create a git repository with origin and with this script: ``bash
#!/bin/bash BACK... I am not a power user of Mikrotik devices so far, judging by the fact that
I am not using terminal there as much as I am using web interface (or
WebFig as they call it). But Mikrotik, being a powerful platform can help
me understand what I am doing. One of the things I figured ou... I was successfully able to use my previous Laravel
test watcher for a very long
time, while I was on Linux. But now on Mac, it does not work, as mac does
not support inotifywait. Mac does however support similar thing, called fswatch, install via Brew: ``bash
brew install fswatch... After migrating my dotfiles over to Mac M3 I stumbled into roadblock issue
for my neovim setup. Every time I saved a PHP file, a lot of garbled data
got prepended at the beginning of said file. If you remember so far back,
my setup uses
prettier for formatting
everything, mostly... Sometimes when working on a PHP project where there are a lot of branches
potentially sitting on incompatible packages, it can be a pain to always
remember to manually run composer i or whatever docker alternative or
alias one might be using. After forgetting, there are error mes... I had to work with many scanned PDF documents that were saved in a very
un-optimal way, each one having up to tens of MBs. This was not suitable
for sending via email and also unnecessary. I saw an option on my
girlfriend's Mac to optimize PDF. The result was that her document
dr...