Skip to content

Instantly share code, notes, and snippets.

View cdivitotawela's full-sized avatar

Chaminda Divitotawela cdivitotawela

  • Base2 Cloud
  • Brisbane, Australia
View GitHub Profile
@cdivitotawela
cdivitotawela / ca.md
Created August 22, 2019 00:21 — forked from soarez/ca.md
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.

@cdivitotawela
cdivitotawela / personal_access_token.py
Created March 21, 2019 05:38 — forked from vitalyisaev2/personal_access_token.py
Script for obtaining Gitlab API Personal Access Token
#!/usr/bin/python3
"""
Script that creates Personal Access Token for Gitlab API;
Tested with GitLab Community Edition 10.1.4
"""
import sys
import requests
from urllib.parse import urljoin
from bs4 import BeautifulSoup