Skip to content

Instantly share code, notes, and snippets.

@kcris
kcris / freenom.com.ddns.sh
Created April 11, 2017 18:39 — forked from a-c-t-i-n-i-u-m/freenom.com.ddns.sh
Dynamic DNS support shell script for freenom.com
#!/bin/bash
# settings
# Login information of freenom.com
freenom_email="main@address"
freenom_passwd="pswd"
# Open DNS management page in your browser.
# URL vs settings:
# https://my.freenom.com/clientarea.php?managedns={freenom_domain_name}&domainid={freenom_domain_id}
freenom_domain_name="domain.name"
@kcris
kcris / monad11.cpp
Last active October 12, 2015 18:48 — forked from splinterofchaos/monad.cpp
monad in c++ 11 (fork)
#include <memory>
#include <iostream>
#include <utility>
#include <algorithm>
#include <iterator>
struct sequence_tag {};
struct pointer_tag {};
template< class X >