Estimated time: 10 minutes
--- | |
- name: create array of installable package names | |
set_fact: | |
myItems: | |
- firefox | |
- googlechrome | |
- vcredist2008 | |
- vcredist2012 | |
- notepadplusplus |
Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.
And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.
If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.
# Prerequisites: `doctl`, `curl` and `jq` | |
# See https://www.digitalocean.com/community/tutorials/how-to-use-doctl-the-official-digitalocean-command-line-client | |
# In this particular case, we are going to open the port 22 for ssh connection. | |
MY_IP=$(curl --silent ifconfig.io/ip) && doctl compute firewall add-rules $(doctl compute firewall list --output=json | jq -r '.[].id') --inbound-rules "protocol:tcp,ports:22,address:${MY_IP}/32" |
export LD_LIBRARY_PATH="/usr/local/lib"
[mysqld] | |
## Performance Specific ## | |
########################## | |
innodb_buffer_pool_size = 12G ### How much innodb data to store in memory. Higher = faster performance | |
innodb_file_per_table = 1 ### Each innodb table is its own file on disk. | |
innodb_flush_log_at_trx_commit = 2 ### Flushes to disk in batches instead of per change | |
innodb_io_capacity = 800 ### Min IO speed expected to write to disk. | |
read_buffer_size = 2M ### Helps with reading temp tables faster, bulk inserts and nested queries |
Xcursor.theme: Vanilla-DMZ-AA | |
!urxvt color scheme: | |
URxvt*background: #2B2B2B | |
URxvt*foreground: #DEDEDE | |
URxvt*colorUL: #86a2b0 | |
! black |
# install required packages | |
add-apt-repository ppa:webupd8team/java | |
apt -y update | |
apt -y upgrade | |
apt -y dist-upgrade | |
apt -y install libcairo2-dev libjpeg-turbo8-dev libpng12-dev libossp-uuid-dev libfreerdp-dev libpango1.0-dev libssh2-1-dev libtelnet-dev \ | |
libvncserver-dev libpulse-dev libssl-dev libvorbis-dev libwebp-dev git build-essential autoconf libtool oracle-java8-installer tomcat8 \ | |
tomcat8-admin tomcat8-common tomcat8-docs tomcat8-user maven mysql-server mysql-client mysql-common mysql-utilities libpulse-dev \ | |
libvorbis-dev freerdp ghostscript wget |
# This config came around after a friend had problems with a Steam cache on his | |
# Cox internet connection. Cox would intercept any requests to Steam content | |
# servers and return a 302 to Cox's servers. The cache would return the 302 | |
# to the Steam client, and the Steam client would go directly to Cox, bypassing | |
# the cache. | |
# This config makes nginx follow the 302 itself, and caches the result of the | |
# redirect as if it was the response to the original request. So subsequent | |
# requests to the URL that returned a 302 will get the file instead of a 302. |
Let's say you have a SysV Init Script
named foo
-
Copy the file to
/etc/init.d/foo
-
Enable the SysV service:
chkconfig --add foo
-
Enable the SysV service:
chkconfig foo on
-
Start the service:
service foo start
. After this, systemd-sysv-generator will generate this file/run/systemd/generator.late/foo.service
, copy this file to/etc/systemd/system
by running:cp /run/systemd/generator.late/foo.service /etc/systemd/system/foo.service
-
Edit
/etc/systemd/system/foo.service
by runningsystemctl edit foo.service
, add in the following line tofoo.servie
(this makes the service installable)
[Install]