command | description |
---|---|
ctrl + a | Goto BEGINNING of command line |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Update ddns | |
After=network.target | |
[Service] | |
ExecStart=/bin/bash /opt/path/to/cf-ddns.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding:utf-8 -*- | |
# !/usr/bin/env python3 | |
''' | |
Author: ayasakinagi | |
Email: [email protected] | |
环境: Python3 | |
依赖: deluge_client | |
使用: 修改host, port, username, password, limitSize, dataPath变量 |
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: