Skip to content

Instantly share code, notes, and snippets.

@Centzilius
Centzilius / cheats.md
Created May 21, 2018 22:32
Personal Cheatsheet

VIM

let skip_defaults_vim=1
syntax on
set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab

ZSHRC

GRML

All Users

@Centzilius
Centzilius / mm-gitlab-ldap-auth.py
Created October 19, 2021 01:03
Mattermost Auth Token extractor for MM + GitLab + LDAP
from requests import session
import re
username = ""
password = ""
gitlab_url = "https://gitlab.example.com"
mattermost_url = "https://mattermost.example.com"
sess = session()
#!/bin/bash
export CURDIR="$(cd $(dirname $0); pwd -P)"
export PROTON_VER=Proton-6.21-GE-2
export WINE="$CURDIR/$PROTON_VER/files/bin/wine"
export WINEPREFIX="$CURDIR/prefix"
export WINEARCH=win64
export PATH="$CURDIR/$PROTON_VER/files/bin:$PATH"
export XL_WINEONLINUX=true
export DXVK_FRAME_RATE=0
""" Game fix for FFXIV
"""
#pylint: disable=C0103
from protonfixes import util
import os
from subprocess import call
import sys
def main():