点点滴滴

不积跬步,无以至千里;不积小流,无以成江海。

文章列表

  • vulkan功能支持检测 - 编译安卓应用程序

    1

    一、vulkan功能支持检测//#define VK_NO_PROTOTYPES#include <vulkan/vulkan.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <android/log.h>// Android日志标签#define LOG_TAG "VulkanInfo"#d

    soskp-yoours2025-09-11 18:27:10

    阅读更多
  • 基于GD32F407移植Threadx系统

    2

    一、Threadx    下载地址: https://github.com/eclipse-threadx/threadx二、拷贝文件    1. 复制common下的src和inc目录下所有文件到mcu目录    2. 复制 ports\cortex_m4\keil\src 目录下所有文件到mcu目录    3. 复制 por

    soskp-yoours2025-08-05 19:10:17

    阅读更多
  • GitHub网页发布

    3

    一、创建仓库或者Fork别人的仓库    需要注意必须有 index.html 文件作为首页。二、操作步骤    以Fork MinhasKamal/DownGit 为例:         首先打开项目仓库,按照如图顺序操作。    1. 点击Settings    2. 点击P

    soskp-yoours2025-07-31 18:42:10

    阅读更多
  • windows下scrcpy的server编译

    4

    一、linux下编译使用build_without_gradle.sh二、windows下编译@echo off:: Configurationset ANDROID_HOME=D:\Java\Android\android-sdk-windowsset SCRCPY_DEBUG=falseset SCRCPY_VERSION_NAME=3.3.1:: Default values if environment variables no

    soskp-yoours2025-07-22 18:57:11

    阅读更多
  • nodejs报错ERR_SSL_WRONG_VERSION_NUMBER分析

    5

    一、报错    1. 执行命令 npm install -g yarn --verbose    二、简化程序进行分析    编写js文件,内容为:    var https = require('https');    const fs = require('fs');  &n

    soskp-yoours2025-06-25 11:54:53

    阅读更多
  • c++基于openssl使用windows证书

    6

    #include <stdio.h>#include <string.h>#include <winsock2.h>#include <ws2tcpip.h>#include <openssl/ssl.h>#include <openssl/err.h>#include <openssl/x509v3.h>#pragma comment(lib, "ws

    soskp-yoours2025-06-24 18:32:16

    阅读更多
  • openssl使用windows默认证书

    7

    一、命令行方式    指定pem格式证书    openssl s_client -connect registry.npmmirror.com:443 -tls1_3  -CAfile windows_root_certs.pem二、导出windows默认证书为pem证书#include <windows.h>#include <wincrypt.

    soskp-yoours2025-06-24 18:27:02

    阅读更多
  • lucene分类统计

    8

    一、简介    网上公开的lucene分类统计版本较老,不适合新版本lucene 9.4.1。二、示例public static void Test() throws Exception    {        // 实例化Analyzer分词器        Analyzer analyzer = new Stand

    soskp-yoours2025-04-18 18:46:31

    阅读更多
  • vc++调用jar包

    9

    一、编写jar包    定义如下接口static public String GetVersion()public void SetLucenePath(String LucenePath)// 添加索引public void addIndex(Info info) throws IOException// 关键字查询public List<Info> search(String q, int pageS

    soskp-yoours2025-04-18 18:37:19

    阅读更多
  • Oracle备份与恢复数据

    10

    1. 创建临时表空间     用于存储排序、哈希连接等操作中产生的临时数据     CREATE TEMPORARY TABLESPACE SOSKP_DATA_Temp     TEMPFILE 'D:\Oracle\data\SOSKP_DATA_Temp.DBF'     

    soskp-yoours2025-03-18 19:45:27

    阅读更多
  • Tomcat多项目启停控制 - JMX的使用

    11

    一、Tomcat多项目配置    conf目录下,修改server.xml文件    <Engine name="Catalina" defaultHost="localhost">      <Realm className="org.apache.catalina.realm.LockOutRealm">    &nbs

    soskp-yoours2025-01-24 19:24:08

    阅读更多
  • licheepi-nano(荔枝派) - SPI驱动CC2520 - 驱动程序

    12

    一、简介    依据上一篇设备树编写基于spi的cc2520驱动。二、probe驱动入口    不需要初始化spi本身的驱动,进入该入口后已经自动初始化完成spi。    1. 构建设备号 - 略    2. 注册设备 - 略    3. 创建类 - 略    

    soskp-yoours2024-11-01 20:30:39

    阅读更多
  • licheepi-nano(荔枝派) - SPI驱动CC2520 - 设备树

    13

    一、简介    设备树修改包含 suniv-f1c100s.dtsi 和 suniv-f1c100s-licheepi-nano.dts 两个文件。二、suniv-f1c100s.dtsi    增加dma、spi1定义    1. spi1引脚定义        在 pio: pinct

    soskp-yoours2024-11-01 20:09:33

    阅读更多
  • 编译Apache subversion

    14

    一、编译openssl-3.3.2    https://openssl-library.org/source/    1. 安装 ActivePerl    https://www.activestate.com/products/perl/    2. 下载nasm    h

    soskp-yoours2024-10-09 20:11:38

    阅读更多
  • 图片相似度 - 汉明距离

    15

    #include <opencv2\opencv.hpp>  #include <opencv2\core\core.hpp>  #include <opencv2\highgui\highgui.hpp>  #include <opencv2\imgproc\imgproc.hpp>  #include &l

    soskp-yoours2024-09-23 19:12:23

    阅读更多