- Settings & Privacy
- Feed
- Unfollow people and groups
- Replace the following line with today's class (see screenshot)
ssh-keygen && cat $env:userprofile/.ssh/id_rsa.pub | ssh user@linuxserver 'cat >> .ssh/authorized_keys' |
#!/usr/bin/env bash | |
# for debug output, uncomment: | |
#set -x | |
function help { | |
echo "WordPress cleanup -v 0.5 2018-06-26 / [email protected] | |
Usage: |
Docker supports volumes for storing data across containers. This also allows us to mount the volume in a docker container to backup this volume. Using Volumerize we can mount our volume and back it up to a separate volume or many backend options.
Volumerize is a docker container that can attach your docker volumes and backup the files of the volume. It does this with a cronjob in the container or runs manually.
Volumerize uses Duplicity to make the actual backup. Supports many backup backend options like S3, Dropbox, and the local file system.
<?php | |
// Ref : http://php.net/manual/en/function.ftp-put.php | |
$name = "test.txt"; | |
$filename = "/home/mine/Desktop/test.txt"; | |
//-- Code to Transfer File on Server Dt: 06-03-2008 by Aditya Bhatt --// | |
//-- Connection Settings | |
$ftp_server = "server_url_here"; // Address of FTP server. | |
$ftp_user_name = "username_here"; // Username |
See comments section for more up-to-date versions of the script. The original script is from 2014 and will not work as is.
Facebook will block this feature for you while you use it, depending on how much entities you try to unfollow. It automatically unblocks in a couple of hours and you will be able to continue.
# Ask for the user password | |
# Script only works if sudo caches the password for a few minutes | |
sudo true | |
# Install kernel extra's to enable docker aufs support | |
# sudo apt-get -y install linux-image-extra-$(uname -r) | |
# Add Docker PPA and install latest version | |
# sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 | |
# sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list" |
for i in `curl https://www.cloudflare.com/ips-v4`; do csf -a $i; done |
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] | |
</IfModule> |