Skip to content

Instantly share code, notes, and snippets.

@Asenar
Asenar / gandi.sh
Created July 26, 2024 07:53 — forked from gbarre/gandi.sh
Update DNS A record with Gandi's API
#!/bin/sh
# Customize with your datas
APIKEY="secret_token"
DOMAIN="my_domain"
RECORD="my_record"
# DO NOT EDIT AFTER THIS LINE
CURRENTIP=$(curl -s ifconfig.co/ip)
IPLENGTH=$(echo -n ${CURRENTIP} | wc -m)
@Asenar
Asenar / gist:5246483
Last active December 15, 2015 10:29
mkdir ~/tmp_working_dir
cd ~/tmp_working_dir
git init full_smalte
cd full_smalte
all_subs="installer framework module.sample tests theme.backoffice theme.frontoffice"
# part 1 : import all
# Six branch doomed to die