Skip to content

Instantly share code, notes, and snippets.

@idoop
idoop / README.md
Created November 12, 2016 03:35 — forked from chuangbo/README.md
Python dynamic DNSPod DNS Script

替换上你的Email,密码,域名ID,记录ID等参数,就可以运行了。 会在后台一直运行,每隔30秒检查一遍IP,如果修改了就更新IP。

获得domain_id可以用curl curl -k https://dnsapi.cn/Domain.List -d "login_email=xxx&login_password=xxx"

获得record_id类似 curl -k https://dnsapi.cn/Record.List -d "login_email=xxx&login_password=xxx&domain_id=xxx"

@idoop
idoop / Makefile
Created November 17, 2021 10:20
GattLib as OpenWRT package
#
# Copyright (C) 2020-2030 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
# Author: Chen Yang <[email protected]>
# Github: https://github.com/idoop
include $(TOPDIR)/rules.mk
@idoop
idoop / aes_test.go
Created December 18, 2021 06:10
golang use AES Encrypt & Decrypt include CBC/ECB/CFB mode
package main
import (
"bytes"
"crypto/aes"
"crypto/cipher"
"crypto/rand"
"encoding/base64"
"encoding/hex"
"io"
@idoop
idoop / Makefile
Created January 27, 2022 03:11
pigz for OpenWRT
include $(TOPDIR)/rules.mk
PKG_NAME:=pigz
PKG_VERSION:=master
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/idoop/pigz.git
PKG_SOURCE_DATE:=2022-01-26
PKG_SOURCE_VERSION:=3aef2d014c01aa30d0fe16aa7052451972f72d66
@idoop
idoop / Makefile
Created October 10, 2022 12:41
sysbench for OpenWRT
include $(TOPDIR)/rules.mk
PKG_NAME:=sysbench
PKG_VERSION:=master
PKG_MAINTAINER:=ChenYang <[email protected]>
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/akopytov/sysbench.git
PKG_SOURCE_VERSION:=df89d34c410a2277e19f77e47e535d0890b2029b
PKG_BUILD_PARALLEL:=1
@idoop
idoop / Makefile
Created October 10, 2022 12:46
Concurrency Kit for OpenWRT
include $(TOPDIR)/rules.mk
PKG_NAME:=concurrencykit
PKG_VERSION:=master
PKG_MAINTAINER:=ChenYang <[email protected]>
PKG_SOURCE_PROTO:=git
#PKG_SOURCE_VERSION:=master
PKG_SOURCE_URL:=https://github.com/idoop/ck.git
PKG_SOURCE_VERSION:=e408b8bd045aa7c07b7a7924952408483b8a8c61
@idoop
idoop / gen_ssl_key.sh
Created December 1, 2022 05:16
快速生成自签名证书的shell脚本
#!/bin/sh
# Date: 2022-12-01
# Author: ChenYang
country="CN"
province="Guangdong"
city="Shenzhen"