Source: https://1password.community/discussion/comment/596424/#Comment_596424
mv firefox-xxx.tar.bz2 /opt/
cd /opt
tar -xf firefox-xxx.tar.bz2
mv firefox firefox-developer
sudo chown -R root:root /opt/firefox-developer/firefox && sudo chmod 755 /opt/firefox-developer/firefox-bin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# Run in startup using | |
# /usr/local/bin/xkeysnail /home/msnoval/.xkeysnail-config.py --devices /dev/input/event4 /dev/input/event7 --quiet | |
# | |
# Run xkeysnail without sudo, https://github.com/mooz/xkeysnail/issues/64#issuecomment-600380800 | |
# $ sudo groupadd -f uinput | |
# $ sudo gpasswd -a $USER uinput | |
# $ cat <<EOF | sudo tee /etc/udev/rules.d/70-xkeysnail.rules | |
# KERNEL=="uinput", GROUP="uinput", MODE="0660", OPTIONS+="static_node=uinput" |

* 13 May 2021
Broke my initial build due to a sys upgrade then re did all of below. Not sure what caused the problem. The main blockage I experienced is the expanding of the second partion, see here for the update.
* 18 April 2021
More or less complete by now, any updates or workarounds I will just keep on adding here
* 13-16 April 2021
Content for this post is still in progress as I'm compiling all the workarounds, fixes and commands for all this to work
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
# add a trailing slash to /wp-admin | |
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] | |
RewriteCond %{REQUEST_FILENAME} -f [OR] | |
RewriteCond %{REQUEST_FILENAME} -d | |
RewriteRule ^ - [L] |
git remote remove origin
git remote add origin [BASE-GIT-REPO]
git remote set-url --add --push origin [BASE-GIT-REPO]
git remote set-url --add --push origin [SECONDARY-GIT-REPO]
$ git remote -v
origin [BASE-GIT-REPO] (fetch)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Personal rules (@monnoval)", | |
"rules": [ | |
{ | |
"description": "Right shift + a: Activity Monitor", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"description": "", | |
"from": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
find . -type f \( -name "*.jpg" -o -name "*.jpeg" \) -print0 | xargs -0 mogrify -density 72 -set colorspace Gray -separate -average -strip -interlace Plane -gaussian-blur 10 -quality 1% | |
find . -name "*.png" -print0 | xargs -0 mogrify -density 72 -colors 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
LOCAL=/Users/you/your/build-prod | |
REMOTE=/wp-content/themes/your-theme | |
WPE_HOST=sample.sftp.wpengine.com | |
WPE_USERNAME=sample-uname | |
WPE_PASSWORD=sample-pw | |
LFTP_CO="connect sftp://$WPE_USERNAME:$WPE_PASSWORD@$WPE_HOST:2222" | |
lftp << EOF |