How to Install OpenVPN in Debian 10 Buster

Here is how to install OpenVPN v2.4.7+ in Debian Buster in 60 seconds: apt-get update; apt-get dist-upgrade -y wget https://raw.githubusercontent.com/Angristan/openvpn-install/master/openvpn-install.sh -O debian10-vpn.sh chmod +x debian10-vpn.sh ./debian10-vpn.shapt-get update; apt-get dist-upgrade -y wget https://raw.githubusercontent.com/Angristan/openvpn-install/master/openvpn-install.sh -O debian10-vpn.sh chmod +x debian10-vpn.sh ./debian10-vpn.sh Then simply follow instructions, that’s all. I am attaching the .sh file also here (in case it […]

How to Allow Specific IP Addresses in OpenVPN Server

The best and safest way to allow only specific IP addresses to use your VPN is by using iptables. First you need to add your accept (allow) rules and then you add a rule to drop (deny) all other traffic, example: iptables -A INPUT -s 1.2.3.4/32 -i eth1 -p udp -m udp –dport 1194 -j […]

How to Add Static IP to Any 3G/4G SIM Mobile

Need a static IP for your 3G/4G/LTE SIM mobile? No problems! You can do this by using a VPN service and a special router that supports VPN protocol (OpenVPN). In my case, I am going to use this super tiny and awesome mini router GL.iNet GL-MT300N-V2: You can find it also on Amazon (it arrived […]

Linux Delete Files Older Than 3 Months Bash

This bash command will print all files older than 3 months: find /path/to/root/folder/*.log -type f -mtime "+$(( ( $(date ‘+%s’) – $(date -d ‘3 months ago’ ‘+%s’) ) / 86400 ))" -printfind /path/to/root/folder/*.log -type f -mtime "+$(( ( $(date ‘+%s’) – $(date -d ‘3 months ago’ ‘+%s’) ) / 86400 ))" -print Use -delete to […]

Linux Delete Empty Directories Recursively Bash

This bash command will print all empty directories: find /path/to/root/folder/ -type d -empty -printfind /path/to/root/folder/ -type d -empty -print Use -delete to delete all matches: find /path/to/root/folder/ -type d -empty -deletefind /path/to/root/folder/ -type d -empty -delete

Customer emails don’t show up in Zendesk

In case your customers emails don’t show up in Zendesk read this: Customer emails don't show up in Zendesk – Zendesk help Important options are in Support, navigate to Admin > Channels > Email. We use email forwarding from support@ourdomain.com to Zendesk support email. Some emails may take SOME time to arrive (even a few […]

Get Windows 7, 8, 10 License Information

Here is how to get Windows 10 license information via command-line: C:\Windows\SysWOW64\cscript.exe "C:\Windows\SysWOW64\slmgr.vbs" /dlvC:\Windows\SysWOW64\cscript.exe "C:\Windows\SysWOW64\slmgr.vbs" /dlv * You can even get if Windows is activated and genuine. This is an example output: icrosoft (R) Windows Script Host Version 5.8 Copyright (C) Microsoft Corporation. All rights reserved.   Software licensing service version: 6.1.7601.17514   Name: Windows(R) […]

Cheapest Alternatives to Mailchimp, Sendinblue, Sendgrid

I was looking for a cheap alternative to Mailchimp or Sendinblue. Mainly I was looking for an email marketing solution that does not provide too expensive monthly plans if you have “many” subscribers. Even if I have 50k subscribers, I may require to send a few emails per month so for my case Mailchimp was […]

Convert InnoSetup EXE Installer to MSI

If you need to convert a InnoSetup EXE setup into MSI installer: https://www.exemsi.com/ Here you can download a Mozilla Firefox MSI package example: https://www.exemsi.com/popular-msi-packages/ Product is free but has also a paid version.

Get Serial Number of CPU, RAM, Motherboard, HDD

Use WMIC to get useful hardware details on a Windows PC: Get serial number of local computer: wmic bios get serialnumber /format:listwmic bios get serialnumber /format:list Get RAM part and serial number: wmic memorychip get PartNumber,SerialNumber /format:listwmic memorychip get PartNumber,SerialNumber /format:list Get processor name: wmic cpu get Name / format:listwmic cpu get Name / format:list […]