If VMWare tools not working after reboot:
sudo systemctl restart vmtoolsd
To solve issue: System Settins | Startup and Shutdows | Desktop Session -> Start with an empty session
#!/usr/bin/env bash | |
perl -pi -e 's/\r\n/\n/g; $rv=1 if $&; END{ exit $1rv }' $1 |
Calculate lens base curve and diameter based on keratometry readings.
BC and dia calculation algorithm is based on Soft Special Edition – Base Curve.
Specially for https://github.com/wangwenx190/framelesshelper - Cross-platform window customization framework for Qt Widgets and Qt Quick. Supports Windows, Linux and macOS.
#!/usr/bin/env bash | |
# FIXME: Untested! | |
function compress() { | |
input="$1" | |
output="$(basename "$input")" | |
command -v lz4 && lz4 -1 "$input" "$output.1.lz4" | |
command -v lz4 && lz4 -9 "$input" "$output.9.lz4" | |
command -v gzip && gzip -1 -k -c "$input" > "$output.1.gzip" | |
command -v gzip && gzip -9 -k -c "$input" > "$output.9.gzip" |
/doi.org\/(.*)/ig
then redirect to https://sci-hub.se/$1