Skip to content

Instantly share code, notes, and snippets.

View netcreatoreu's full-sized avatar

NetCreator netcreatoreu

View GitHub Profile
@netcreatoreu
netcreatoreu / zimbra_soap_request.py
Created January 27, 2021 13:56 — forked from sandromello/zimbra_soap_request.py
Example requesting Zimbra SOAP API
#!/usr/bin/env python
import xml.etree.ElementTree as ET
import requests
url = 'https://<ZIMBRA_SERVER_URL>:7071/service/admin/soap'
headers = { 'Content-Type': 'application/soap+xml' }
# Get the credentials through zmlocalconfig
# zmlocalconfig zimbra_user
@netcreatoreu
netcreatoreu / repair-timemachine-disk-network.sh
Created November 13, 2019 15:57 — forked from pmeulen/repair-timemachine-disk-network.sh
Script to repair a Time Machine network volume
#!/bin/bash
set -e
###############################################################################
# This script tries to repair a Time Machine *network* backup (i.e. an APF
# share containing a sparsebundle) that is shared over a network using e.g. an
# Apple TimeCapsule, a NAS, Raspberry PI, ...
# The script must be run on the computer that created the backup
#
@netcreatoreu
netcreatoreu / sysctl-proxmox-tune.conf
Created October 7, 2019 12:47 — forked from sergey-dryabzhinsky/sysctl-proxmox-tune.conf
Most popular speedup sysctl options for Proxmox. Put in /etc/sysctl.d/
# allow that much active connections
net.core.somaxconn = 256000
# do less swap but not disable it
vm.swappiness = 1
# allow application request allocation of virtual memory
# more than real RAM size (or OpenVZ/LXC limits)
vm.overcommit_memory = 1

Keybase proof

I hereby claim:

  • I am netcreatoreu on github.
  • I am netcreator (https://keybase.io/netcreator) on keybase.
  • I have a public key whose fingerprint is 1346 33D1 6EFD A5AC B574 8CAC 5C04 9BB4 0509 5509

To claim this, I am signing this object:

@netcreatoreu
netcreatoreu / nginx.conf
Created December 9, 2016 16:47 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048