Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>字段管理</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/antd/4.23.0/antd.min.css">
<style>
body {
padding: 20px;
@ichimarusakura
ichimarusakura / listen1_aha_playlist.md
Last active August 17, 2023 07:43
updated by Listen1(https://listen1.github.io/listen1/) at 2023/8/17 15:43:41

本歌单由Listen1创建, 歌曲数:282,歌单数:18,点击查看更多

@ichimarusakura
ichimarusakura / changeIP.bat
Created June 30, 2017 01:45 — forked from HamGuy/changeIP.bat
批处理脚本-快速改变 IP 地址
@echo off
echo **************************************************************************
echo * 修改IP地址、DNS *
echo * *
echo **************************************************************************
echo 正在修改IP地址和DNS服务器地址,请耐心等待…………
echo 正在更改本机IP地址...
netsh interface ipv4 set address name="本地连接" source=static addr=192.168.1.100 mask=255.255.255.0 gateway=192.168.1.1 gwmetric=0 >nul
echo 正在添加本机首选DNS服务器...
netsh interface ipv4 set dns name="本地连接" source=static addr=202.96.134.133 register=PRIMARY
@ichimarusakura
ichimarusakura / dfdff
Created May 22, 2017 03:04
大幅度发大幅度
/***************************************QGroupBox style*************************************************/
ShadeWiget #testGroupBox{
background-color: transparent;
border: 1px solid #aaaa7f;
border-radius: 0px;
margin-top: 0px; /* leave space at the top for the title */
margin-right: 0px;
margin-bottom: 5px;
margin-left: 0px;
}
@ichimarusakura
ichimarusakura / BMPConverter.py
Created September 23, 2016 01:45
ForDeviceImageConvertor
import io,os,struct,codecs,glob,binascii
from PIL import Image
imgs = glob.iglob('slices//*.*')
for img in imgs:
fo_img = Image.open(img)
filename = os.path.basename(img)
basename, extname = os.path.splitext(filename)
o_path = 'bmp//'
if os.path.isdir(o_path) == False:
os.mkdir(o_path)
@ichimarusakura
ichimarusakura / JaketResize.py
Last active May 12, 2020 08:14
JacketEditor
import io,os,struct,codecs,glob,binascii
from PIL import Image
imgs = glob.iglob('png\\*.*')
for img in imgs:
fo_img = Image.open(img)
filename = os.path.basename(img)
basename, extname = os.path.splitext(filename)
newb_img = Image.new('RGBA', (320, 320), (255, 255, 255, 0))
news_img = Image.new('RGBA', (160, 160), (255, 255, 255, 0))
o_path = 'jacket\\'
from PIL import Image,ImageDraw,ImageFont
fo = open('name.txt','r')
for names in fo:
uc = []
ab = []
#color font
color = '#000000'
color1 = '#000000'
font = 'dfgothw5.ttc'
#name size
@ichimarusakura
ichimarusakura / XXX.plist
Created July 10, 2016 07:42
Texture Plist Info
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<integer> x </integer>
<integer> y </integer>
<integer>wight</integer>
<integer>height</integer>
</array>
@ichimarusakura
ichimarusakura / Checksum.py
Last active May 12, 2020 08:14
BIN File's Checksum Algorithm
import os,codecs
hashcode = []
rg = range(0, 10000)
dict = {'BNR_BIG_ID1000':'ADA613C6','BNR_BIG_ID2000':'6E6CA712','BNR_BIG_ID3000':'ECE07F8A','BNR_BIG_ID4000':'0F89FD78','BNR_BIG_ID5000':'8D0525E0','BNR_BIG_ID5100':'2DF7BBEF','BNR_BIG_ID5300':'FFEE7A33','BNR_BIG_ID6000':'4ECF9134','BNR_BIG_ID6100':'EE3D0F3B','BNR_BIG_ID6200':'9CD650E8','BNR_BIG_ID8800':'0BFD203A','BNR_BIG_ID9001':'9DF788D5','BNR_BIG_ID7000':'CC4349AC','BNR_ID1000':'4A89EF27','BNR_ID2000':'89435BF3','BNR_ID3000':'0BCF836B','BNR_ID4000':'E8A60199','BNR_ID5000':'6A2AD901','BNR_ID5100':'CAD8470E','BNR_ID5300':'18C186D2','BNR_ID6000':'A9E06DD5','BNR_ID6100':'0912F3DA','BNR_ID6200':'7BF9AC09','BNR_ID8800':'ECD2DCDB','BNR_ID9001':'7AD87434','BNR_ID7000':'2B6CB54D','IDX_ID1000':'1082B3A6','IDX_ID2000':'D3480772','IDX_ID3000':'51C4DFEA','IDX_ID4000':'B2AD5D18','IDX_ID5000':'30218580','IDX_ID5100':'90D31B8F','IDX_ID5300':'42CADA53','IDX_ID6000':'F3EB3154','IDX_ID6100':'5319AF5B','IDX_ID6200':'21F2F088','IDX_ID8800':'B6D9805A','IDX_ID9001':'20D328B5',