I hereby claim:
- I am hatsuyuki280 on github.
- I am hatsuyuki_nanami (https://keybase.io/hatsuyuki_nanami) on keybase.
- I have a public key ASByHuTIaH42dMOHwl31Y9tPUZdTyXHx6bePv6n1msm-5go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# -*- coding:utf-8 -*- | |
# !/usr/bin/env python3 | |
''' | |
Author: ayasakinagi | |
Email: [email protected] | |
环境: Python3 | |
依赖: deluge_client | |
使用: 修改host, port, username, password, limitSize, dataPath变量 |
#!/usr/bin/env python3 | |
# --- | |
# Copyright 2020 glowinthedark | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# | |
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, |
#!/bin/env python3 | |
# Written by @hatsuyuki280 | |
# with The Unlicense | |
# for more? refer to <https://unlicense.org> | |
# Use it and have fun! | |
from requests import get,patch | |
## Please make sure this token is valid to operate zone/ssl&cert (edit) |
[Unit] | |
Description=Just eating some mem for keep Always Free Avalible | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/dd if=/dev/random bs=20M count=100 of=/dev/shm/Just-eating-some-mem.bin | |
RemainAfterExit=true | |
ExecStop=/usr/bin/rm /dev/shm/Just-eating-some-mem.bin | |
StandardOutput=journal |
[Unit] | |
Description=Update ddns | |
After=network.target | |
[Service] | |
ExecStart=/bin/bash /opt/path/to/cf-ddns.sh |