start new:
tmux
start new with session name:
tmux new -s myname
| #!/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" |
| import sys | |
| import markdown | |
| import yaml | |
| import os | |
| from jinja2 import Environment, FileSystemLoader | |
| with open(sys.argv[2], 'r') as f: | |
| content = yaml.safe_load(f.read()) | |
| for k in content: |
| (* ocamlfind ocamlopt -o exmpl -package curl -linkpkg exmpl.ml *) | |
| open Printf | |
| let _ = Curl.global_init Curl.CURLINIT_GLOBALALL | |
| (* | |
| ************************************************************************* | |
| ** Aux. functions | |
| ************************************************************************* | |
| *) |