Skip to content

Instantly share code, notes, and snippets.

@fxpires
fxpires / kubernetes_service_session_affinity.md
Created January 30, 2020 12:58 — forked from fjudith/kubernetes_service_session_affinity.md
Enable Session Affinity (a.k.a Sticky Session) to Kubernetes service
@fxpires
fxpires / git-ssh-auth-win-setup.md
Created February 14, 2020 18:52 — forked from bsara/git-ssh-auth-win-setup.md
Setup SSH Authentication for Git Bash on Windows

Setup SSH Authentication for Git Bash on Windows

Prepararation

  1. Create a folder at the root of your user home folder (Example: C:/Users/uname/) called .ssh.
  2. Create the following files if they do not already exist (paths begin from the root of your user home folder):
  • .ssh/config
@fxpires
fxpires / DJANGO_TWISTED_HAPROXY.md
Created March 12, 2020 20:54 — forked from sspross/DJANGO_TWISTED_HAPROXY.md
Serving Django and Twisted using HAproxy

Serving Django and Twisted using HAproxy

Why?

Because we wanted to achive the following while developing a webapp using websockets:

Static serving (nginx), Django application (gunicorn) and Websockets service (twisted)

  • on the same IP
@fxpires
fxpires / kibana.service
Created July 26, 2020 22:05
Kibana 7 Systemd Unit (installed on /opt/kibana)
[Unit]
Description=Kibana
After=network.target
[Service]
User=elasticsearch
ExecStart=/opt/kibana/bin/kibana
Type=simple
PIDFile=/var/run/kibana.pid
Restart=always
@fxpires
fxpires / coldfusion_password.py
Created August 7, 2020 14:59 — forked from patrickrbc/coldfusion_password.py
Script to decrypt coldfusion database passwords
#!/usr/bin/python
#
# Coldfusion Password Tool
# Copyright (C) 2013 Adam Boeglin <adamrb@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#