airikr / Fairphone 6 privacy fixes
0 likes
0 forks
1 files
Last active 1 week ago
| 1 | echo |
| 2 | echo "Uninstalling bloatware" |
| 3 | echo "Use adb shell cmd package install-existing <package name> to re-installing an app" |
| 4 | echo |
| 5 | |
| 6 | adb shell cmd package uninstall -k --user 0 com.google.android.apps.bard |
| 7 | adb shell cmd package uninstall -k --user 0 com.google.android.apps.docs |
| 8 | adb shell cmd package uninstall -k --user 0 com.google.android.apps.maps |
| 9 | adb shell cmd package uninstall -k --user 0 com.google.android.apps.nbu.files |
| 10 | adb shell cmd package uninstall -k --user 0 com.google.android.apps.photos |
airikr / backupvps.sh
0 likes
0 forks
1 files
Last active 6 days ago
| 1 | #!/bin/bash |
| 2 | REMOTE_USER="user" |
| 3 | REMOTE_HOST="111.111.111.111" |
| 4 | REMOTE_PORT="11" |
| 5 | REMOTE_PATH="/" |
| 6 | LOCAL_PATH="/path/to/folder" |
| 7 | |
| 8 | rsync -avhzr --delete --progress --rsh="ssh -p${REMOTE_PORT}" "${REMOTE_USER}@${REMOTE_HOST}:${REMOTE_PATH}" --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found","/swapfile","/boot/*"} "${LOCAL_PATH}" |
airikr / domain.conf
0 likes
0 forks
1 files
Last active 1 week ago
| 1 | Protocols h2 h2c http/1.1 |
| 2 | |
| 3 | <VirtualHost *:80> |
| 4 | <Directory /var/www/html/website/> |
| 5 | Options Indexes FollowSymLinks MultiViews |
| 6 | AllowOverride All |
| 7 | Order allow,deny |
| 8 | allow from all |
| 9 | </Directory> |
airikr / domain.conf
0 likes
0 forks
1 files
Last active 7 months ago
My default config file for a domain for Apache (Docker).
| 1 | Protocols h2 h2c http/1.1 |
| 2 | |
| 3 | <VirtualHost *:80> |
| 4 | ServerName domain.com |
| 5 | |
| 6 | RewriteEngine On |
| 7 | RewriteCond %{SERVER_NAME} =domain.com |
| 8 | RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] |
| 9 | </VirtualHost> |
airikr / Update Docker images/containers
0 likes
0 forks
1 files
Last active 1 week ago
| 1 | #!/bin/bash |
| 2 | declare -a arr=("snikket") |
| 3 | |
| 4 | for i in "${arr[@]}" |
| 5 | do |
| 6 | if [ "$i" = "snikket" ] |
| 7 | then |
| 8 | echo |
| 9 | echo "snikket" |
| 10 | echo |
Newer
Older