I hereby claim:
- I am anttikurittu on github.
- I am anttikurittu (https://keybase.io/anttikurittu) on keybase.
- I have a public key ASDKyFodCLfCiBc8fAoXLnGhdDoMluSyuS00cT_7aZzaJwo
To claim this, I am signing this object:
#/usr/bin/python3 | |
import requests | |
import json | |
def fetch_token(): | |
payload = {} | |
url = "https://api.wall-box.com/auth/token/user" | |
headers = { | |
'Accept': 'application/json, text/plain, */*\'', |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Get and refresh the Cloudflare IP range and set them in a configuration | |
# file for Nginx. Rememember to include this in your server directive | |
# with 'include /path/to/this/script.sh;' | |
# add this to your crontab with 'crontab -e' | |
# 30 5 * * * /etc/nginx/sites-available/get-cf-ip-range.sh | |
set -e | |
wget -q -P /etc/nginx/sites-available/ https://www.cloudflare.com/ips-v4 | |
wget -q -P /etc/nginx/sites-available/ https://www.cloudflare.com/ips-v6 |