Skip to content

Instantly share code, notes, and snippets.

View njoerd114's full-sized avatar
👨‍💻
getting shit done

Niklas Beinghaus njoerd114

👨‍💻
getting shit done
View GitHub Profile
@njoerd114
njoerd114 / docker-compose.yml
Created June 18, 2021 10:42 — forked from ShakataGaNai/docker-compose.yml
Docker Compose for GitLab EE
gitlab:
image: 'gitlab/gitlab-ee:latest'
restart: always
hostname: 'gitlab.mycompany.tld'
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'https://gitlab.mycompany.tld'
# https://docs.gitlab.com/omnibus/settings/ssl.html
letsencrypt['enable'] = true
letsencrypt['auto_renew'] = true
@njoerd114
njoerd114 / README.MD
Last active March 4, 2024 11:20
Sankey Diagram with Google Spreadsheets

Sankey Diagrams within Google Spreadsheets

This Gist is there to help you creating a Sankey Diagram from your Google Spreadsheets.

Installation

  • Open a spreadsheet
  • Click "Tools" -> "Scripts"

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@njoerd114
njoerd114 / changemac.sh
Created February 25, 2019 12:23
WIFIonICE unchained
changemac () {
if [ -z "$1" ]
then
echo "please provide network interface"
else
sudo ifconfig $1 ether $(openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//') && ifconfig $1
fi
}
@njoerd114
njoerd114 / html-macro-content.html
Last active October 6, 2021 14:26
Confluence: User HTML-Macro to embed ReDoc for OpenApi documentation
<redoc spec-url='https://confluence.instance/download/attachments/someid/some_swagger_doc.yaml?api=v2'></redoc>
<!--The some_swagger_doc.yaml can be a site attachment, just copy over the download link once you uploaded the yaml to your page.-->
<script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"> </script>
@njoerd114
njoerd114 / .aliases
Created July 11, 2018 06:25
change mac address of given interface on mac
changemac() {
if [ -z "$1" ]; then echo "please provide network interface"; else sudo ifconfig $1 ether $(openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//') &&ifconfig $1; fi
}
@njoerd114
njoerd114 / .aliases
Created July 11, 2018 06:24
dockernice (Make docker great again on mac)
alias dockernice='sudo renice 10 $(pgrep com.docker.hyperkit)'