Skip to content

Instantly share code, notes, and snippets.

View tmidi's full-sized avatar

Taleeb Midi tmidi

View GitHub Profile

Keybase proof

I hereby claim:

  • I am tmidi on github.
  • I am taleeb_midi (https://keybase.io/taleeb_midi) on keybase.
  • I have a public key ASCDfy6-_G5JI_xRQnhOginMZdSqKLFMIbyXdT9uhRuyQQo

To claim this, I am signing this object:

[Unit]
Description=HAProxy Load Balancer
Documentation=man:haproxy(1)
Documentation=file:/usr/share/doc/haproxy/configuration.txt.gz
# allows us to do millisecond level restarts without triggering alert in Systemd
StartLimitInterval=0
StartLimitBurst=0
After=network.target syslog.service
Wants=syslog.service
@tmidi
tmidi / ipa_mail_passexpiration.sh
Created April 3, 2018 20:35 — forked from miticojo/ipa_mail_passexpiration.sh
send email for password expiration
#!/bin/bash
# Source: http://vmhacks.com/freeipa-password-expiry-notification-script-for-red-hat-identity-management/
# notifies people a set number of days before expiry, once via email
# open a kerberos ticket using keytab authentication
# the following keytab file was made using ktutil with rc4-hmac
/usr/bin/kinit admin@YOURDOMAIN.COM -k -t /sextoys/admin.keytab
worker_processes 3;
worker_rlimit_nofile 1024;
events {
worker_connections 800;
}
http {
include mime.types;
default_type application/octet-stream;
@tmidi
tmidi / nginx.conf
Created August 8, 2017 03:20
Nginx conf for Passbolt
worker_processes 3;
worker_rlimit_nofile 1024;
events {
worker_connections 800;
}
http {
include mime.types;
default_type application/octet-stream;