Skip to content

Instantly share code, notes, and snippets.

View qzaidi's full-sized avatar
💭
smiling

Qasim Zaidi qzaidi

💭
smiling
View GitHub Profile
@qzaidi
qzaidi / gist:f2a8ebf51daa8479f62788db753e2b81
Created May 25, 2022 08:55 — forked from danielestevez/gist:2044589
GIT Commit to an existing Tag
1) Create a branch with the tag
git branch {tagname}-branch {tagname}
git checkout {tagname}-branch
2) Include the fix manually if it's just a change ....
git add .
git ci -m "Fix included"
or cherry-pick the commit, whatever is easier
git cherry-pick {num_commit}

AnyConnect VPN

Get a entry level burstable instance with alicloud with ubuntu 18.04 on it.

  1. Install ocserv, easy-rsa and firewalld
    apt-get update
    apt install ocserv git firewalld
    git clone https://github.com/OpenVPN/easy-rsa
# openvpn
#
description "OpenVPN - virtual private network daemon(s)"
author "Jay"
version "1.0.0"
start on runlevel [2345]
stop on runlevel [!2345]
respawn