Skip to content

Instantly share code, notes, and snippets.

@iRajatDas
iRajatDas / HowToDeleteAllCloudflareRecors.md
Created November 20, 2022 14:51 — forked from AidasK/HowToDeleteAllCloudflareRecors.md
Cloudflare delete all DNS records. Just go to cloudflare dns zones, open your browers developer console and paste this javascript code.

image

Real developers are not used to clicking, it's allways easier to write a script to do it for you.
@pythoninthegrass
pythoninthegrass / jenkins-docker-compose.yml
Last active February 11, 2024 08:18 — forked from SWBSanjeewa/jenkins-docker-compose
Run jenkins master and slave using docker compose
# MASTER PRE-REQS
# Install docker, docker-compose
# mkdir -p ~/{jenkins,jnlp_slave}
# master
# docker run -d \
# -u root \
# --name=jenkins \
# -e TZ=America/Denver \
@sandromello
sandromello / zimbra_soap_request.py
Created February 22, 2017 11:37
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
@sandromello
sandromello / zimbra_custom.md
Last active July 8, 2023 14:03
Zimbra Customization Tips

Customizações Zimbra

Subject no Log

Para apresentar o Subject no log precisamos configurar isso no header checks. O header checks nas versões 6+ vem por padrão desabilitado. Portanto vamos habilitar no nível global.

zmprov mcf zimbraMtaBlockedExtensionWarnRecipient FALSE

Agora no arquivo /opt/zimbra/conf/postfix_header_checks.in adicionar ao arquivo a seguinte linha:

@balupton
balupton / README.md
Last active June 7, 2021 16:00
Node.js Best Practice Exception Handling