- 博客(54)
- 资源 (15)
- 收藏
- 关注
原创 word文档快速搜索软件
DocFetch(推荐):Windows 和 Linux。添加文件夹并为其编制索引。它们必须再次被索引才能识别更改,但在那之后基本上是实时搜索,它显示实例的数量和文档的摘录。Agent Ransack:仅限 Windows。您必须指定文件夹,然后进行搜索。无需按文件夹索引,但它们意味着软件在搜索之前执行此操作,因此每次搜索都需要时间。Everything:界面不行,没法显示详细内容吧?Windows Search:别用这个,慢。astrogrep:无索引,慢。
2024-11-19 16:30:58
129
原创 vhdx本地启动错误(Windows安装程序无法将Windows配置为在此计算机的硬件上运行)
第一代虚拟机,安装后会在激活分区附带bootvhd.dll等重要文件(MBR)。可使用本模板快速创建新的本地启动vhdx。创建第二代(UEFI),请挂载WEPE等可UEFI-DVD。需要使用Hyper-V创建。
2022-12-27 23:39:54
1199
原创 【AHK】循环读取操作
;循环读取 脚本处理GotoSeqs:Loop, read, list.txt{send,^fsleep,100send, ^asend, %A_LoopReadLine%sleep,1000send,{enter}sleep,1450 ;4500send, {RButton}sleep,450send,^ssleep,100;msgbox, 48 , GOTO, NEXT, 0.2}send,{F2}return
2022-02-13 11:31:16
2321
原创 【Autohotkey】批量绑定热键 热字符串 使用格式化数据
准备两个文件 ahk.csv和test.ahk——ahk.csv如下,存放 方法+热键+功能。第三行意思是键盘输入//bin就会打开回收站Run,#c,controlSend,![,「RunHot,:*X://bin,::{645ff040-5081-101b-9f08-00aa002f954e}test.ahk如下,读取csv并且使用HotKey等绑定ahkdatafile = ahk.csvIf FileExist(ahkdatafile){Loop, Read, %ahkdata
2022-01-30 22:19:58
986
原创 autohotkey 双击桌面隐藏图标
以下代码放入ahk文件中运行即可。; ===============================================================================================================================; =====隐藏桌面图标:双击; ========================================================================================
2022-01-30 22:07:31
1747
原创 小乌龟图标
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers重命名1TortoiseNormal为前面带空格
2021-09-25 22:23:40
162
原创 git 口诀
https://github.com/settings/keysgit config --global user.name “”git config --global user.email “”ssh-keygen -t rsa -C “”cat ~/.ssh/id_rsa.pubssh git@github.com网络ssh.exeC:\Program Files\Git\usr\bin\ssh.exe
2021-08-21 10:10:43
87
原创 python关于sjis编码的错误
以下的字符,py在读取sjis时会出现和npp等不同的情况。左边为npp解码的字符,右边为py解码的字符。~〜∥‖-−¢¢££¬¬
2021-06-23 01:01:47
665
原创 git通用解决问题
全局配置文件.gitconfig[user] name = email = [credential]helper = store[remote "origin"] proxy = proxy = [http] sslVerify = false sslBackend = openssl sslCAInfo = git config --global user.name “?”git config --global user.email “email@email.com”
2021-06-09 19:28:59
125
原创 简易压缩模型原型
def splitlis(lis,n): for i in range(0, len(lis), n): yield lis[i: i + n]def csilas(src,dst): dat=open(src, 'rb').read().hex() fp=open(dst,'wb+') cat=b'%zfc-1.0' fp.write(cat) lis=list(splitlis(dat,2048)) inx=0 whil
2021-05-05 16:29:57
103
原创 Everything命令行自行编译
Everything输出// Everything IPC test// this tests the lib and the dll.#include <stdio.h>#include "..\include\Everything.h"int main(int argc,char *argv[]){ if (argc<2){ printf("too few arguments!"); return 1; } char *fn=argv[1]; int
2021-04-07 14:56:54
1221
原创 python 二进制修改器
分页管理,避免一次性输出卡死# from hexEditor import *# -*- coding: utf-8 -*-################################################################################## Form generated from reading UI file 'hexEditor.ui'#### Created by: Qt User Interface Compiler version
2021-02-10 14:48:28
370
原创 Stellarium PC完全移植安卓版0.20.4
Qt 5.15的发布可以说是天降神兵,自带的CMake对Qt 安卓的构建支持很完美。再经过0.18.0发布以来野生大神对Stellarium做了安卓的代码匹配以及本人的辛勤修bug,移植版已经能很好的工作了。Stellarium相比于电脑版,还增加了Stellarium mobile带有的传感器功能。下载页面:Release Stellarium Android LTS文件链接: Stellarium apk如果你不会下载,把apk链接贴到 这里 下载反馈:评论区或者issues说明与考古
2021-01-20 14:21:00
2035
原创 Qt MainWin 嵌入 桌面
https://blog.youkuaiyun.com/qq_41673920/article/details/108121387https://blog.51cto.com/mypyg/263349#include <Windows.h>bool enumUserWindowsCB(HWND hwnd, LPARAM lParam){ long wflags = GetWindowLong(hwnd, GWL_STYLE); if (!(wflags & WS_VISIB
2021-01-11 18:55:01
294
原创 如何自己编译 skychart (Cartes du Ciel) 星图软件?
How to build for Win64 ?下载 https://github.com/pchev/skychartDownload and install https://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2064%20bits/Lazarus%202.0.10/lazarus-2.0.10-fpc-3.2.0-win64.exe/downloadDownload and install https://source
2021-01-02 16:23:36
401
原创 clone github超大仓库
某些仓库3-4GB,难道要克隆一夜吗?fork到gitee再下载?很可惜gitee超大仓库会屏蔽。如果是github的仓库在gitee也有镜像的仓库呢(比如gitee mirror)?很可惜gitee对超大仓库的clone也是稀烂,我大概下不到1G就fatal了,即使是git clone depth=1。no no no写一个github actions的yml文件先是checkout然后打包.git文件夹上传到artifact或者release中,然后下载就行了。下载慢可以用d.serctl上
2020-12-26 20:13:38
374
原创 qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in ““ even though it was found.
https://forum.qt.io/topic/93247/qt-qpa-plugin-could-not-load-the-qt-platform-plugin-xcb-in-even-though-it-was-found/66So, Debian 10:ldd -r <for example, home dir>/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so | grep libxcb-utillibxcb-util
2020-12-13 14:23:40
538
原创 Qt 5.15.1 mingw 静态编译(windows)
编译命令configure.bat -release -static -opensource -confirm-license -static-runtime -qt-zlib -qt-libjpeg -qt-tiff -qt-webp -qt-libpng -qt-freetype -qt-pcre -qt-harfbuzz -gui -widgets -no-pch -opengl desktop -platform win32-g++ -prefix “G:\Qt\5.15.1\mingw81_st
2020-11-14 11:21:51
941
原创 静态编译 Qt 5.4.2 MinGW32 on Windows10x64
CPU: E5 2630RAM 16GBSSD硬盘步骤和这个差不多,https://www.cnblogs.com/ike_li/p/6860089.html解压后1.5GB编译命令 mingw32-make -j12编译时长:45分钟编译完 2.65GB安装时长:20分钟安装文件:500MB
2020-11-13 22:01:52
250
原创 DSS巡天HTM文件组织解析
仓库:https://dss.stellarium.org/survey/x_y.jpg切割成四个方块,00 01 10 11.分别是(2x)_(2y)(2x)_(2y+1)(2x+1)_(2y)(2x+1)_(2y+1)如果回溯,则是 str(int(ix / 2)) + ‘_’ + str(int(iy / 2)) + ‘.jpg’
2020-10-15 15:41:01
259
原创 Stellarium Windows/Linux编译记录
先把这个多看几遍https://github.com/Stellarium/stellarium/blob/master/BUILDING.md拿编译0.20.2举例1.Stellarium Linux编译Deepin 15.11和1002下均编译成功,Qt5.12.3。很容易,照着guide走一遍就行,没试过打包,直接点击release就可以运行sudo apt install build-essential cmake zlib1g-dev libgl1-mesa-dev libdrm-de
2020-10-12 22:53:07
821
原创 2020 配置 Qt for Android + sdk +ndk
https://doc.qt.io/qt-5/android-getting-started.htmlQt5.12.3 全安装看版本匹配,android-ndk-r20b-linux-x86_64.zipsdk则不要乱下例如有一个300MB的android-sdk_r24.4.1-linux.tar.gz不是完整的,解压后运行./android即出现熟悉的下载UI按API28下载编译,有真机则不需要system image...
2020-10-09 00:31:34
1188
原创 epub解压的多个html制作单个html
'''运行方法:"python " 加上 "build_one_html_from_multi_html_in_epub.py"所在路径'''import osimport syssrcpth = os.path.split(sys.argv[0])[0].replace("\\","/")print(srcpth)'''递归遍历'''def dirlist(path, ext="", allfile=None): if allfile == None: .
2020-09-29 23:19:33
786
原创 FK4/5, J2000, B1950, Glat/Glon转换
# -*- coding: utf-8 -*-from numpy import *def deg2rad(degrees): return degrees * pi / 180.def rad2deg(radians): return radians * 180. / pi#def baryvel(dje, deq=0): """ NAME: BARYVEL PURPOSE: Calculat
2020-09-27 00:44:10
1941
1
原创 搜索DeepPro708000.mdb 深空天体数据库
1.安装Deepsky Astronomy Softwarehttp://www.mikehotka.com/DAS/masterdownload.htm2.搜索:DeepSkyTable([‘NGC 3372’,‘Be 84’])# 搜索mdbdef searchInmdb(id='',pf='',brave=True): lis = [] # 连接mdb文件 connStr = ( r'Driver={Microsoft Access Driver (
2020-09-24 19:32:40
593
原创 SkySafari函数破解
IDA反汇编:libskychart.so目录参数——StarClusterNumber(char const*)MessierNumber(char const*)CaldwellNumber(char const*)NGCNumber(char const*)ICNumber(char const*)LBNNumber(char const*)BarnardNumber(char const*)LDNNumber(char const*)PKNumber(char const*)P
2020-09-17 11:17:36
601
原创 百万级深空天体数据库获取
到https://github.com/Stellarium/stellarium-data/issues 下载扩展版catalog.dat,或者使用标准版也行解码工具:https://github.com/tiagohm/nebula-data按照说明安装dart等等,然后~/.pub-cache/bin/nebula -i catalog.dat -n names.dat -x -o ./ext.json即可得到百万级深空天体数据库...
2020-09-14 10:50:15
833
1
原创 别人的项目pull下来却构建不了(Linux系统下)
别再把项目先git clone到windows下再复制到Linux下了! 直接git clone到Linux下 LF和CRLF够你喝一壶的
2020-09-11 16:14:33
92
原创 python - fchart模块报错
fchart是py2,fchart3才是py3下载github原文件夹内星表只要输出eps字体就不会错。然后convert -density 600 B86.eps -resize 100% B86.pdf修改报错问题:/usr/local/lib/python2.7/dist-packages/fchart/label_potential.py34行newsize[N] = abs(size)**0.5/usr/local/lib/python2.7/dist-packages/fc
2020-09-10 01:05:15
523
原创 转换sqlite文件到csv
import sqlite3def sqliteTocsv(src): mydb = sqlite3.connect(src) # 链接数据库 cur = mydb.cursor() # 创建游标cur来执行SQL语句 # 获取表名 cur.execute("SELECT name FROM sqlite_master WHERE type='table'") Tables = cur.fetchall() # Tables 为元组列表 for i
2020-09-09 12:21:21
892
原创 快速创建Stellarium的观测清单
def jsondump(dic,dst,sort=False): f = open(dst, "w", encoding='utf-8') json.dump(dic, f, ensure_ascii=False, sort_keys=sort, indent=4) f.close()def makebookmark(src,dst): import uuid dic = {'bookmarks': {}} for line in open(src, .
2020-08-23 14:11:40
119
原创 快速创建SkySafari的观测清单(Observing Lists)
import redef writealllines(lines,src,srccoding="utf-8",filetype="txt",crlf=True): rf = '' if crlf == True: rf = '\n' fp = open(src, "w", encoding=srccoding) fp.writelines([line + rf for line in lines]) fp.close()def skylistMa
2020-08-23 14:07:45
183
原创 github page 403、403问题
在某些地区运营商的路由器下,几乎所有github page都无法解析。问了一下别人的网络可以连,点击下面的网址,ping某个github.iohttps://www.boce.com/然后hosts文件ip 域名即可。
2020-08-15 09:55:15
883
原创 深空天体反差指数计算
反差指数计算运行计算反差指数.py输出结果数据源:NI反差指数源.csvNI反差指数源.csv数据格式:目标,bmag,vmag,lx(长轴/arcmin),ly(短轴/arcmin)import math# 修正issue与公式来源# https://github.com/Stellarium/stellarium/issues/1145# 根据你的环境设置NELM:# ! Class 1 = NELM 7.6-8.0; average NELM is 7.8# ! Class
2020-07-31 12:10:26
510
原创 根据时间、所在地计算给定深空天体的方位角和高度;制定深空天体观测计划
1、根据时间、所在地计算给定深空天体的方位角和高度DSOAZ(ra,dec,mydate)ra: 天体时角/度dec:天体赤纬/度mydate格式:“2020/7/30 23:00:00”from ephem import *def DSOAZ(ra,dec,mydate): wpf = Observer() wpf.lat = '25' # 纬度 wpf.lon = '110' # 经度 wpf.elevation = 0 # 海拔 wpf.pr
2020-07-31 12:04:04
827
原创 一种本地存储的天文观测日志系统理念 (待完)
连续日志 <–> 项目索引日志日志式 存储伪代码:while readline: index.data += line.datasearch()write()labelget()
2020-07-11 20:56:07
135
原创 文本机翻算法
jhx是判定该行文本需要翻译solveline是翻译前文本处理lsum是翻译结构,如下:[0,脚本,’’][1,原文,’’][2,原文,译文]0是不需要翻译,1是等待翻译,2是翻译完成。翻译时出现某些未被翻译的句子,则需要重新遍历找出并翻译。lsum = []for line in readdiralllines(src,srccoding): if jhx(line): lsum.append([1,solveline(line),'']) else:
2020-05-31 18:28:08
468
原创 pythonUI模板: 为python所有函数打包UI模板
字典即可生成一个简单的UI,每个点击按钮对应一个函数,输入框对应数据存储在StringStacks。#!/usr/bin/env python3# -*- coding:utf-8 -*-from tkinter import *from tkinter.ttk import *StringStacks = {}class UIStack: def __init__(self, mylist): self.dblist = [] global db
2020-05-14 20:06:45
674
命令行批量转换doc文件到docx文件(Windows运行,无需安装Office等其他环境,已打包好LO依赖)
2024-11-19
【解包工具】asmodean tools合集(含源码)
2021-04-09
Qt 5.15.1 MSVC static 静态编译包
2020-11-14
Qt 5.12.10 mingw73_static.7z 静态编译包
2020-11-14
Qt 5.15.1 mingw81-static.7z 静态编译包
2020-11-14
Qt 5.4.2 MinGW32 static 静态编译 版本打包
2020-11-13
文档编码批量转换UTF16toUTF8.rar
2019-11-27
文档编码批量转换UTF8toUTF16.rar
2019-11-27
文档编码批量转换UTF8toGBK.rar
2019-11-27
文档编码批量转换GBK到UTF8.exe.rar
2019-11-27
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人