- Open: /etc/crypttab
cryptswap1 UUID={uid code 1} /dev/urandom swap,cipher=aes-cbc-essiv:sha256
cryptswap2 UUID={uid code 2} /dev/urandom swap,cipher=aes-cbc-essiv:sha256
- Run:
<?php | |
function getPostValue( $name ) { | |
if ( empty( $_POST[ $name ] ) ) { | |
return ''; | |
} | |
return $_POST[ $name ]; | |
} | |
function printOldValue( $name = '' ) { |
Solution found at github
Warning:
mongodb/mongodb 1.0.2 requires ext-mongodb ^1.1.0 -> the requested PHP extension mongodb is missing from your system.
export LANGUAGE=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
export LC_ALL=en_US.UTF-8 | |
locale-gen en_US.UTF-8 | |
dpkg-reconfigure locales |
#!/bin/bash | |
# source: https://www.linuxquestions.org/questions/debian-26/apt-get-update-gets-stuck-while-reading-package-list-on-my-slug-795324/ | |
mv /var/lib/dpkg/status /var/lib/dpkg/status.broken.bak | |
cp /var/lib/dpkg/status-old /var/lib/dpkg/status | |
rm -rf /var/lib/apt/lists/* | |
dpkg --configure -a | |
aptitude update | |
aptitude upgrade |
#!/bin/bash | |
# ########################################### | |
# Title :PrinTxt | |
# Description :This script print given text with different style | |
# Author :Rashko Petrov | |
# Website :https://rashkopetrov.dev | |
# GitHub :https://gist.github.com/rashkopetrov/4a4a96b1c83f4c8cc82497065cd3d266/ | |
# Date :2021-07-07 | |
# Version :0.21.07.07 - 2021-07-07 | |
# Usage :bash printxt.sh [option] [text] |