I hereby claim:
- I am mipnamic on github.
- I am mipnamic (https://keybase.io/mipnamic) on keybase.
- I have a public key whose fingerprint is 2F7B D02E 0F18 C655 8EC6 B14A FA10 F567 041B 7629
To claim this, I am signing this object:
| #!/bin/bash | |
| # Check if ImageMagick is installed | |
| if ! command -v magick &>/dev/null; then | |
| echo "Error: ImageMagick not installed." | |
| exit 1 | |
| fi | |
| # Check if the input file is provided | |
| if [ -z "$1" ]; then |
| HTML Template saved in /templates/shortcodes/blank_link.html: | |
| <a href="{{url}}" target="_blank" rel="noopener noreferrer" class="external_link">{{text}}</a> | |
| Markdown code: | |
| {{ blank_link(url="https://YOUR.URL.EXT", text="YOUR_TEXT") }} |
| #!/usr/bin/env bash | |
| # Test all ciphers against given URL | |
| # Script by Indiv https://superuser.com/users/21867/indiv - https://superuser.com/a/224263 | |
| # OpenSSL requires the port number. | |
| SERVER=$1 | |
| DELAY=1 | |
| ciphers=$(openssl ciphers 'ALL:eNULL' | sed -e 's/:/ /g') |
| #!/bin/bash | |
| # this file | |
| # a) gets all databases from mysql | |
| # b) gets all tables from all databases in a) | |
| # c) creates subfolders for every database in a) | |
| # d) dumps every table from b) in a single file | |
| # this is a mixture of scripts from Trutane (http://stackoverflow.com/q/3669121/138325) | |
| # and Elias Torres Arroyo (https://stackoverflow.com/a/14711298/8398149) |
| #!/bin/bash | |
| echo "Average php-fpm process memory usage:" | |
| PHPFPM="php-fpm" # it could be just php-fpm or php-fpm-X.X (eg. php-fpm-7.1) depending on configuration | |
| AVG=$(ps --no-headers -o "rss,cmd" -C $PHPFPM | awk '{ sum+=$1 } END { printf ("%d%s\n", sum/NR/1024,"M") }') | |
| QTY=$(ps -ylC $PHPFPM --sort:rss | tail -n +2 | wc -l) | |
| echo "$AVG on $QTY processes" | |
| exit 0 |
I hereby claim:
To claim this, I am signing this object: