This guide has moved to a GitHub repository to enable collaboration and community input via pull-requests.
https://github.com/alexellis/k8s-on-raspbian
Alex
#!/bin/bash | |
# A bash script to update a Cloudflare DNS A record with the external IP of the source machine | |
# Used to provide DDNS service for my home | |
# Needs the DNS record pre-creating on Cloudflare | |
# Proxy - uncomment and provide details if using a proxy | |
#export https_proxy=http://<proxyuser>:<proxypassword>@<proxyip>:<proxyport> | |
# Cloudflare zone is the zone which holds the record |
This guide has moved to a GitHub repository to enable collaboration and community input via pull-requests.
https://github.com/alexellis/k8s-on-raspbian
Alex
if [ ! -f .env ] | |
then | |
export $(cat .env | xargs) | |
fi |
Taken from this page: http://code-worrier.com/blog/autocomplete-git/ | |
Step 1: download this bash script (make sure to name it ".git-completion.bash"): | |
https://github.com/git/git/blob/master/contrib/completion/git-completion.bash. | |
You can run this curl from your home directory to download it directly: | |
curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash | |
Step 2: Place the file in your home directory |
<?php | |
//client id and client secret | |
$client = ''; | |
$secret = ''; | |
//hardcode the full url to redirect to this file | |
$url = ""; | |
//STEP 1 - Get Access Code |
This guide combined with the info here allows you do the following:
Why would you want this? Well, for me I own some domain names and I like to use gmail to read my mail. One use case is that we have a small organization that I've already set up a google for domains account with, but the organization has multiple domains that all redirect to our website. I wanted our mail to also all redirect to the same mail, so I created MX records for all the domains that are supposed to redirect and pointed them at my VPS and on my VPS I set up mail relaying to my original google for domains account, with entries for each user. This way, if I had my google domains running at myemail@mygoogledomain.com, but som