- Make an install directory somewhere convenient and switch to it
mkdir -p ~/.local/share/authy
cd ~/.local/share/authy
- Fetch the current Authy snap
mkdir -p ~/.local/share/authy
cd ~/.local/share/authy
#!/bin/bash | |
#description :Wrapper to simulate systemd-inhibit (systemd 253) which doesn't work on XFCE 4.18 for now. | |
# This uses "xfce4-screensaver-command" for inhibiting screensaver/sleep/suspend/etc. | |
#usage :my-xcfe4-inhibit.sh YOUR_LONG_RUNNING_COMMAND | |
#note :This script should be chmod'ed to become executable. | |
# You can create an alias to call this script the way you want. | |
# e.g. if "alias inhibit='bash /home/user/bin/my-xcfe4-inhibit.sh '", you can then run "$ inhibit YOUR_COMMAND" like systemd-inhibit. | |
#author :c-tamias35@github | |
#date :2023-11-26 |
#!/bin/bash | |
# Example for installing MFC-J625DW printer on Fedora 38. | |
# N.B. Brother Driver Install Tool alone is not enough! | |
# This can fix the status message "Idle - "File "/usr/lib/cups/filter/XXXXXXX" not available: No such file or directory" | |
# This file content is useful specifically for Fedora 38. May or may not work on other versions or similar OSes. | |
# Below commands are based on Brother website FAQs. Navigate to hyperlinks "FAQs & Troubleshooting" > Linux > Printer : | |
# https://support.brother.com/g/b/faqlist.aspx?c=ca&lang=en&prod=mfcj625dw_all&ftype3=100257 |
Problem: When linking to the raw version of a gist, the link changes with each revision.
Solution:
To return the first file from a gist: https://gist.github.com/[gist_user]/[gist_id]/raw/
To get a file from multi–file gist: https://gist.github.com/[gist_user]/[gist_id]/raw/[file_name]
#!/usr/bin/env bash | |
echo "This script will setup webdriver of your choice for selenium and create a template script with appropriate settings" | |
sleep 2 | |
echo "This Script only supports Linux 64 bit and arm64/aarch64 kernel architecture currently" | |
sleep 2 | |
uname="$(uname -m)" | |
case $uname in | |
arm64|aarch64|x86_64 ) |
export RSYNC_SKIP_COMPRESS=3g2/3gp/3gpp/3mf/7z/aac/ace/amr/apk/appx/appxbundle/arc/arj/asf/avi/br/bz2/cab/crypt5/crypt7/crypt8/deb/dmg/drc/ear/gz/flac/flv/gpg/h264/h265/heif/iso/jar/jp2/jpg/jpeg/lz/lz4/lzma/lzo/m4a/m4p/m4v/mkv/msi/mov/mp3/mp4/mpeg/mpg/mpv/oga/ogg/ogv/opus/pack/png/qt/rar/rpm/rzip/s7z/sfx/svgz/tbz/tgz/tlz/txz/vob/webm/webp/wim/wma/wmv/xz/z/zip/zst |