Skip to content

Instantly share code, notes, and snippets.

View frjo's full-sized avatar

Fredrik Jonsson frjo

View GitHub Profile
@frjo
frjo / dynamicdns.py
Last active March 10, 2021 08:15
Script to update DNS entries for a list of domains via GlySYS API.
#!/usr/bin/env python3
"""
Script to update DNS entries for a list of domains via GlySYS API.
"""
import argparse
import ipaddress
import logging
import os
import requests
@frjo
frjo / contact.php
Last active January 20, 2023 07:22
PHP script for contact form
<?php
// Set the e-mail address that submission should be sent to.
$address = 'info@example.com';
// Set the e-mail subject prefix.
$prefix = 'Website feedback';
// DO NOT EDIT ANYTHING BELOW UNLESS YOU KNOW WHAT YOU ARE DOING.

Keybase proof

I hereby claim:

  • I am frjo on github.
  • I am frjo (https://keybase.io/frjo) on keybase.
  • I have a public key ASDlsyFPVKq0n9FcdP9DXlqi9F6m8NWpEWIKuObz3zLHSAo

To claim this, I am signing this object: