Docly

Docly

Did You Know?

Docly turns out that context is a key part of learning.

Mirroring a repository

1.Open Git Bash. 2.Create a bare clone of the repository. $ git clone --bare https://github.com/exampleuser/old-repository.git 3.Mirror-push to the new repository. $ cd old-repository.git $ git push --mirror https://github.com/exampleuser/new-repository.git 4.Remove the temporary local repository you created in step 1. $ cd

IPtables for routing over OpenVPN on Linux

Enable forwarding: sysctl -w net.ipv4.ip_forward=1 Create this script eg sudo nano iptables.sh eth=$1 proto=$2 port=$3 # OpenVPN iptables -A INPUT -i "$eth" -m state --state NEW -p "$proto" --dport "$port" -j ACCEPT # Allow TUN interface connections to OpenVPN server iptables

How to Save Windows 10’s Lock Screen Spotlight Images to Your Hard Drive

By default, Windows 10 shows background pictures on your lock screen that have been curated specifically for this use–but it’s not immediately clear where they’re stored. Windows replaces these images regularly, but if you want to use them as regular

OpenVPN Centos 7/8 – Firewall and Routing Configuration

Set Firewall Rules 1. Start by checking your active firewalld zone: firewall-cmd --get-active-zones The output will show your firewalld zone. In the example below, it is public. 2. Add the openvpn service to the list of services firewalld allows within the active zone. The active

Hướng dẫn cài đặt và cấu hình Cronjob trên Centos

1. Kết nối với Server / VPS bằng quyền root Sau khi kết nối, bạn cần update hệ thống (đối với những server lâu chưa update) để các ứng dụng đạt trạng thái tốt nhất khi cài đặt cron: sudo