curl -sSL https://gist.githubusercontent.com/ttimasdf/ef739670ac5d627981c5695adf4c8f98/raw/autossh@host1 | \
sudo tee /etc/default/autossh@example
curl -sSL https://gist.githubusercontent.com/ttimasdf/ef739670ac5d627981c5695adf4c8f98/raw/autossh@.service | \
sudo tee /etc/systemd/system/autossh@.service
sudo useradd -g nogroup -s /bin/false -m tunnel
sudo -u tunnel mkdir -p ~tunnel/.ssh # and copy your private key here
| from MySQLdb import connect | |
| conn = connect(user="[user]", passwd= "[password]", host="[host]") | |
| cur = conn.cursor() | |
| cur.execute("show databases;") | |
| dbs_to_update = filter( | |
| lambda db: db not in ('information_schema', 'mysql', 'performance_schema'), | |
| [dbname[0] for dbname in cur.fetchall()]) |
| # IMPORTANT! | |
| # This gist has been transformed into a github repo | |
| # You can find the most recent version there: | |
| # https://github.com/Neo23x0/auditd | |
| # ___ ___ __ __ | |
| # / | __ ______/ (_) /_____/ / | |
| # / /| |/ / / / __ / / __/ __ / | |
| # / ___ / /_/ / /_/ / / /_/ /_/ / | |
| # /_/ |_\__,_/\__,_/_/\__/\__,_/ |
Nox, despite being the most feature-filled Android emulator, has a lot of negativity surrounding it due to their antics when it comes to making income off of their program. It is known for running repeated advertisments in the background, calling home and passing along system information (outside of your Android instance) as well as a vast amount of potentially sensitive data in an encrypted payload back to their multitude of servers. With the following preventitive measures, we can stop a majority of this happening as well as greatly improve the overall performance.
-
Download and Install a fresh copy of Nox. The latest version is fine (for now). If you already have it installed, that is fine too. No need to reinstall.
-
Enable Root Mode on Nox by clicking the gear icon and then checking the
Root Startupbox. -
Install a new Launcher from the Play Store. ANYTHING but Nox's default. I suggest [Nova Launcher](https://play.google.com/s
| #!/bin/bash | |
| # ---------------------------------------------------------------------------- | |
| # "THE BEER-WARE LICENSE" (Revision 42): | |
| # <blagovest@petrovs.info> wrote this file. As long as you retain this notice you | |
| # can do whatever you want with this stuff. If we meet some day, and you think | |
| # this stuff is worth it, you can buy me a beer in return Blagovest Petrov | |
| # ---------------------------------------------------------------------------- | |
| # The script fixes the "no iKVM64 in java.library.path" bug with the SuperMicro | |
| # iKVM Java S**t. You can do an alias of it, like: "alias javaws=/usr/local/bin/launchikvm" |
You can use ssacli (smart storage administrator command line interface) tool to manage any of supported HP Smart Array Controllers in your Proxmox host without need to reboot your server to access Smart Storage Administrator in BIOS. That means no host downtime when managing your storage.
CLI is not as convenient as GUI interface provided by BIOS or desktop utilities, but still allows you to fully manage your controller, physical disks and logical drives on the fly with no Proxmox host downtime.
ssacli replaces older hpssacli, but shares the same syntax and adds support for newer servers and controllers.
Developers and Open Source authors now have a massive amount of services offering free tiers, but it can be hard to find them all to make informed decisions.
This is a list of software (SaaS, PaaS, IaaS, etc.) and other offerings that have free tiers for developers.
The scope of this particular list is limited to things that infrastructure developers (System Administrator, DevOps Practitioners, etc.) are likely to find useful. We love all the free services out there, but it would be good to keep it on topic. It's a bit of a grey line at times so this is a bit opinionated; do not be offended if I do not accept your contribution.
This list is the result of Pull Requests, reviews, ideas and work done by 900+ people. You too can help by sending Pull Requests to add more services or by remove ones whose offerings have changed or been retired.
-
Устанавливаем ГОСТ-овское шифрование
sudo apt install libengine-gost-openssl1.1 -
Правим конфиг
sudo nano /etc/ssl/openssl.cnf -
В начало файла:
openssl_conf = openssl_def
The Windows version of OpenSSH client doesn't include a ssh-copy-id command. I don't know why. If it does one day, then this gist can be ignored.
- This script is written in PowerShell as the legacy program
cmd.exeis not flexible enough for the required options. - Download the file
ssh-copy-id.ps1to your Windows PC, or copy and paste its contents to a file of the same name. - Run the script passing your linux account ssh information (for example
powershell .\ssh-copy-id.ps1 pi@raspberrypi.local). If you use a non-standard port add the parameter-port=nnnn. This should work with any Linux platform. - Run the command for each linux account you connect with. You will be prompted for your Linux host password. If you have more than 1 account on any machine, you must do this for each account.
If the script won't run, then run this command once
Set-ExecutionPolicy RemoteSigned CurrentUser