- 博客(32)
- 资源 (4)
- 收藏
- 关注
原创 【java】Java Cryptography Extension (JCE)
【代码】【java】Java Cryptography Extension (JCE)
2024-08-18 19:01:36 463
原创 [maven]JCE cannot authenticate the provider BC
【代码】[maven]JCE cannot authenticate the provider BC。
2024-08-11 10:01:45 265
原创 解决 “该设备正在使用中“ 无法弹出 USB 大容量存储设备的问题
出现"该设备正在使用中"无法弹出 USB 大容量存储设备的问题,通常有以下几种解决方案:
2024-08-03 19:55:40 1059
原创 Kubernetes(K8s)部署nfs服务
1.编写yaml文件nfs-app-deployment.yamlapiVersion: apps/v1kind: Deploymentmetadata: labels: run: nfs-app name: nfs-app namespace: cbfspec: replicas: 1 selector: matchLabels: run: nfs-app strategy: rollingUpdate: maxSurge
2021-10-03 23:19:04 362
原创 windows搭建Kubernetes(K8s)
1.安装kubectl 1.下载kubectl.exe https://minikube.sigs.k8s.io/docs/start/ https://dl.k8s.io/release/v1.22.0/bin/windows/amd64/kubectl.exe # c:\Users\admin\Desktop\temp\k8s\kubectl.exe 2.添加环境变量 Path: c:\Users\admin\Desktop\temp\k8s2.安装minik
2021-10-03 18:20:32 526
原创 vs2015 + opencv 配置
1.vs2015配置1.解压opencv-3.4.1-vc14_vc15.exe到c:\2.vs2015选x643.包含目录 c:\opencv\build\include c:\opencv\build\include\opencv c:\opencv\build\include\opencv24.库文件 c:\opencv\build\x64\vc14\lib5.输入...
2020-03-17 16:12:23 187
原创 [C++]使用opencv获取视频帧
extractFrames.cpp/**** this file is used to extract frames from video* Copyright (c) 2017, Sanjun Liu, email: Sunite.liu@gmail.com* All rights reserved*/#include <opencv2/core/core.hpp>#i...
2020-03-17 16:05:52 4500
原创 zlib库的使用,可以压缩和解压文件夹
zipHelper.h#pragma once#ifndef ZIP_H#define ZIP_H#include <iostream>#include <fstream>#include <string>#include <io.h>#include <direct.h>#include "zlib\unzip.h...
2020-03-15 23:16:03 5418 1
原创 C++修改系统环境变量
#include <iostream>#include <Windows.h>using namespace std;/* 0: ok-1: error*/int addEnvPath(string envKey, string envValue) { HKEY hKey; const char *key = "Environment"; DWOR...
2020-03-14 17:01:10 2453 3
原创 gnupg使用示例
0.安装# Debian / Ubuntu 环境sudo apt-get install gnupg# Fedora 环境yum install gnupg# windows环境https://files.gpg4win.org/gpg4win-3.1.11.exe1.生成新的密钥对gpg --gen-key2.生成吊销证书gpg --output revoke....
2020-03-10 02:26:01 507
原创 wrap_function
#include <iostream>template <typename T> class funct_wrap0{public: funct_wrap0(T (&f_)()):f(f_){} T operator()() const { return f(); }private: T (&f)();};templa...
2020-03-01 14:40:34 1545
原创 is_function
#include <iostream>template<typename T>struct is_function { static const bool value = false;};template<typename T>struct is_function<T(void)> { static const bool...
2020-03-01 13:26:21 440
原创 abs,max,min
#include <iostream>template <long x, typename enabled=void>struct tabs { const static long value = x; };template <long x>struct tabs<x,typename enable_if_c<(x < 0)>...
2020-03-01 10:25:29 222
原创 is_unsigned_type,is_unsigned_type,copy_functor
#include <iostream>template <typename T>struct is_unsigned_type{ static const bool value = static_cast<T>((static_cast<T>(0)-static_cast<T>(1))) > 0;};...
2020-03-01 09:53:30 208
原创 if both of its arguments are actually references to the same object
#include <iostream>template <bool B, class T = void>struct enable_if_c { typedef T type;};template <class T>struct enable_if_c<false, T> {};template <class Con...
2020-03-01 09:34:47 126
原创 if one type is convertible into another type.
#include <iostream>template <typename from, typename to>struct is_convertible{ struct yes_type { char a; }; struct no_type { yes_type a[2]; }; static const from& from_h...
2020-02-29 22:55:33 102
原创 the square root of value
//the square root of valueinline unsigned long square_root(unsigned long value){ unsigned long x; if (value < 3) return value; else if (value < 4096) // 12 x = 45...
2020-02-29 22:17:28 340
原创 安装CMake
$ cmake_version="3.5.2"$ target_path=$HOME/Deps/cmake/${cmake_version}$ cmake_url="https://cmake.org/files/v${cmake_version%.*}/cmake-${cmake_version}-Linux-x86_64.tar.gz"$ mkdir -p "${target_path...
2020-02-20 18:08:06 117
原创 SQL Server + asp.net 数据库连接配置
Default.asp.csusing System;using System.Collections;using System.Configuration;using System.Data;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.W
2015-11-16 13:47:53 331
VMProtect Ultimate v3.5.1 Build 1399.zip.fgpg
2024-10-19
zlib库的使用,可以压缩和解压文件夹.zip
2020-03-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人