Create user:
sudo adduser username
Ass user to sudo group:
sudo groupadd -aG sudo username
Delete user:
sudo deluser username
Create user:
sudo adduser username
Ass user to sudo group:
sudo groupadd -aG sudo username
Delete user:
sudo deluser username
find . -maxdepth 1 -type f -name '*.pdf' -exec pdftoppm -jpeg {} {} \;
Browserstack resources:
https://www.browserstack.com/docs/live/local-testing
1 – Install the browserstack local binary
https://www.browserstack.com/browserstack-local/BrowserStackLocal-linux-x64.zip
2 – cd in the directory where the binary is located and run:
./BrowserStackLocal --key t9guUg6zxQ5Y9MBfciaZ
3- in your browser access borwserstack and tick “Resolve all URLs through my network
you can also do that throught cli when running the binary:
./BrowserStackLocal --key t9guUg6zxQ5Y9MBfciaZ --force-local
For local testing, ensure that localhost is served on bs-local.com
see https://www.browserstack.com/docs/live/local-testing/test-using-local-testing
base64 -w 0 sourcefile.jpg > base64-code-saved-in-textfile.txt
To verify if a commit is an ancestor of another commit, the best solution is to run the following command:
git merge-base --is-ancestor <possible-descendant-commit-hash> <possible-ancestor-commit-hash>; echo $?
It will output 1, if possible-ancestor-commit-hash is an ancestor of possible-descendant-commit-hash.