Skip to content

Instantly share code, notes, and snippets.

@vitalyisaev2
vitalyisaev2 / personal_access_token.py
Last active April 26, 2024 05:02
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
- Gitlab Enterprise Edition 12.6.2
- Gitlab Enterprise Edition 13.4.4
"""
import sys
import requests
anonymous
anonymous / gist:f72e5c4a432492abce59
Created October 30, 2014 18:41
Arthur Whitney's interpreter, decompressed
typedef char C;
typedef long I;
typedef struct a {
I t,r,d[3],p[2];
}* A;
#define P printf