Skip to content

Instantly share code, notes, and snippets.

@littleya
littleya / reinstall.md
Created April 16, 2021 05:02 — forked from celeron633/reinstall.md
tencent cloud reinstall pure ubuntu
@littleya
littleya / ⁄etc⁄pacman.d⁄hooks⁄linux-modules-post.hook
Created January 2, 2019 03:52 — forked from ephemient/⁄etc⁄pacman.d⁄hooks⁄linux-modules-post.hook
(Arch Linux) Keep current modules around during kernel upgrade
[Trigger]
Operation = Upgrade
Type = Package
Target = linux
[Action]
Description = Restore Linux kernel modules
When = PostTransaction
Depends = coreutils
Depends = rsync
@littleya
littleya / delugeAutoDelete.py
Last active February 20, 2024 00:39
u2@share
# -*- coding:utf-8 -*-
# !/usr/bin/env python3
'''
Author: ayasakinagi
Email: [email protected]
环境: Python3
依赖: deluge_client
使用: 修改host, port, username, password, limitSize, dataPath变量