Skip to content

Instantly share code, notes, and snippets.

View cnDelbert's full-sized avatar

Delbert cnDelbert

View GitHub Profile
#!/usr/bin/env python
# coding=utf8
# author=evi1m0
# website=linux.im
'''
12306 Captcha Picture:
author: Evi1m0@20150316
1. Download Captcha
2. Pic Conver Text
@cnDelbert
cnDelbert / ExpireCNDomainSearch.py
Created December 26, 2015 15:54
Get domains which would expire in 2 days and match the keyword you interested in.
# -*- coding: utf-8 -*-
__author__ = 'Delbert'
import requests
def init():
domainList = list()
future0ListURL = 'http://www.cnnic.cn/download/registar_list/1todayDel.txt'
future1ListURL = 'http://www.cnnic.cn/download/registar_list/future1todayDel.txt'
future2ListURL = 'http://www.cnnic.cn/download/registar_list/future2todayDel.txt'
# coding: utf-8
__author__ = 'Delbert'
# 20160303
# Original: https://www.wechall.net/challenge/training/encodings/ascii/
# Output: The solution is: dilsmeboeili
def main():
ascii_list = [84, 104, 101, 32, 115, 111, 108, 117, 116, 105, 111, 110, 32, 105, 115, 58, 32, 115, 105, 114, 101, 105, 98, 97, 101, 104, 101, 110, 97]
result = ascii_to_char(ascii_list)
@cnDelbert
cnDelbert / CameraRenderer.cs
Last active August 25, 2021 07:29
Unity Tutorials from Catlink.
using UnityEngine;
using UnityEngine.Rendering;
public class CameraRenderer
{
private ScriptableRenderContext context;
private Camera camera;
private const string bufferName = "RenderCamera";
private static ShaderTagId unlitShaderId = new ShaderTagId("SRPDefaultUnlit");
private CullingResults cullingResults;
@cnDelbert
cnDelbert / 解决Windows系统蓝牙设置连接后音量100%的问题.reg
Created January 8, 2023 06:43
解决Windows系统蓝牙设置连接后音量100%的问题
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Bluetooth\Audio\AVRCP\CT]
"DisableAbsoluteVolume"=dword:00000001
@cnDelbert
cnDelbert / starship.toml
Created September 23, 2023 06:38
A starship config file with full time and directory path.
add_newline = true
format = """
$username$status$hostname$time\
$git_branch$git_commit$git_state$git_metrics$git_status\
$package\
$c\
$cmake\
$dotnet\
$golang\