Skip to content

Instantly share code, notes, and snippets.

@omata
omata / ReadMe.md
Created July 12, 2023 22:18
How to Change Open Files Limit on OS X and macOS Sierra (10.8 - 10.12)

How to Change Open Files Limit on OS X and macOS

To check the current limits on your Mac OS X system, run in terminal:

launchctl limit maxfiles
ulimit -a

Steps

################################################################################
######################## STUBBY YAML CONFIG FILE ###############################
################################################################################
# This is a yaml version of the stubby configuration file (it replaces the
# json based stubby.conf file used in earlier versions of getdns/stubby).
#
# For more information see
# https://dnsprivacy.org/wiki/display/DP/Configuring+Stubby
#
# This format does not fully support all yaml features - the restrictions are:
@omata
omata / keybase.md
Created June 30, 2019 16:17
keybase.md

Keybase proof

I hereby claim:

  • I am omata on github.
  • I am omatat (https://keybase.io/omatat) on keybase.
  • I have a public key ASA0pXXS-Ae4LtShRk5oQltnzsVsBDitWpmOw5IcedLC2Ao

To claim this, I am signing this object:

def validate_ip_helper(address = ""):
"""
Valida que la dirección IP dada sea correcta.
Parámetro: address: Dirección IP en el formato 'xxx.xxx.xxx.xxx' a validar.
La función retorna un valor lógico (bool) como se describe a contnuación:
Respuesta: True: Si la dirección es correcta.
False: Si la dirección es incorrecta.
"""