Saturday, December 2, 2017

Encrypt & Backup your Data With Rclone

Rclone logo

This tutorial is compatible with any storage service such as Amazon, Google Drive, buckets, SSHs or FTPs. However, I'll be using buckets. As of the date of this post,Backblaze offers 200GB for $1/month, which is the cheapest on the net, followed by OVH cloud storage and Hubic (Also owned by OVH).

This tutorial will cover the following:
1- Creating remote connection
2- Creating remote encrypted connection
3- Upload Data
4- Download Data
5- Different Commands & Flags

Wednesday, November 29, 2017

Quickly Mark All Emails As Read in Gmail

Quickly mark thousands of Gmail emails as read in 4 easy steps:

1- Search for "is:unread"

2-  Select All the emails

3- Click "Select all conversations that match this search"

4- Click "More" and "Mark as Read"

That's it!

Questions or comments? Ask them below!

Tuesday, September 5, 2017

Installing PPTP on CentOS 7 OpenVZ

Although PPTP is not the most secure VPN, it's easy to setup and use.

Make sure PPTP is enabled on the server

Run the below command
cat /dev/ppp

If you get the below, it means it's enabled
cat: /dev/ppp: No such device or address

Tuesday, August 29, 2017

Enable Tun/Tap in Proxmox 4 LXC Containers

In your host server (Where Proxmox is installed)

Replace all the below "$ID" with your container ID (CT id)

Shutdown your container:
pct shutdown $ID

Friday, July 28, 2017

Removing Duplicate Emails From Different Lists in Sendy

Sendy is a PHP self hosted web application that allows you to manage email lists and send emails through Amazon SES and other services.

One of the missing features in Sendy however, is the ability to remove duplicates from different lists. For example if the same email is subscribed to listX and listY, it's not possible to automatically remove that email.

The below script is an addition to the Sendy installation, and was successfully tested on Sendy v2.1.1.3.

Saturday, April 29, 2017

Protecting Proxmox VE Against Bruteforce With Fail2ban

Proxmox is a virtualization management solution that allows the deployment of Virtual Machines (KVM) & Containers (LXC Containers).

Protecting Proxmox Login against Brute Force with Fail2ban

In this tutorial, Proxmox VE 4 is used which is Linux Jessie based.

Tuesday, February 21, 2017

Let's Encrypt Free A+ Grade SSL On Nginx & Ubuntu 16.04


LEMP on Ubuntu 16.04

Start by updating apt indexes

sudo apt-get update

Install Let's Encrypt Package

(Known as certbot on Github (
sudo apt-get install letsencrypt

Wednesday, February 15, 2017

Installing Wordpress on PHP7, Nginx & Ubuntu 16.04 With SSL Support

Nginx Wordpress Logo
This tutorial assumes you already have LEMP installed on Ubuntu 16.04 with PHP7 & PHP-FPM. If you don't have anything installed yet, you can find a tutorial on how to do it in here.

For this tutorial, I'll assume you are logged in as root. Ideally however, you must use a non-root username and prefix all the commands with sudo.

Update your packages

apt-get update && apt-get upgrade

Monday, January 23, 2017

Installing LEMP - Ubuntu 16.04, Nginx, MariaDB & PHP 7

LEMP Ubuntu Nginx MariaDB PHP
Make sure you have Ubuntu 16.04 64 bit. In this tutorial, I'm assuming you are logged in as root and issuing the commands as root (Not recommended in live environment). If you're not a root user, use sudo before every command.

Fixing "perl: warning: Setting locale failed" On Ubuntu

Ubuntu Logo

If you're ever faced with this warning, which usually happens on a fresh Ubuntu installation:

perl: warning: Setting locale failed.  
perl: warning: Please check that your locale settings:  
        LANGUAGE = "en_US:en",  
        LC_ALL = (unset),  
        LC_MESSAGES = "en_US.UTF-8",  
        LANG = "en_US.UTF-8"  
    are supported and installed on your system. 

Wednesday, January 4, 2017

How To Download a Facebook Video Without any Software

How to Download a Facebook Video Without any Software

You can download any Facebook Video without the help of any software or browser add-on.

1- Find your video

2- Open the Video in a new tab

If the video opens in a popup, click on the date/time of the video, so that it opens in a new tab