- 博客(257)
- 资源 (47)
- 问答 (6)
- 收藏
- 关注
原创 Go Summery 2 install beego
Go to github and install bee.bee new project_namebee pack -be GOOS=windows/linux
2024-05-09 15:48:11 64
原创 System Maintance Summery 3 Open vm support for development
Run command as Administrator:bcdedit /set hypervisorlaunchtype off
2024-05-09 07:15:29 73
原创 System Maintance Summery 2 speed optimized by rmmod
Remove linux startup module by command:sudo rmmod example_moduleForbid linux startup module for always:sudo nano /etc/modprobe.d/blacklist.conf
2024-05-09 07:10:59 94
原创 Javascript Summery 11 GIF‘s background is opacity or not opacity
GIF's background is opacity or not opacity.apng, webp is supported by all web browsers.webp's performance is better than apng.Animation pic file format can be used in web browsers which is half-opacity, only can be apng or webp.
2024-05-06 11:33:11 112
原创 Jar Summery 4 allow CORS on nginx
add_header Access-Control-Allow-Credentials true;add_header Access-Control-Allow-Origin *;add_header Access-Control-Allow-Headers 'x-requested-with,content-type,Cache-Control,Pragma,Date,x-timestamp,Authorization,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent'
2024-05-06 10:49:03 174
原创 Jar Summary 3 using outside configuration
--spring.config.location=./application.yaml
2024-05-06 10:28:36 100
原创 ARM Summery 6 Flash and SDRAM
Program Size on Keil displaying, Code and RO-data is on Flash, RW-data and ZI-data is in SDRAM.
2024-05-01 01:20:12 33
原创 Jar Summery 2 Linux Service Configure Example
Jar Summery 2 Linux Service Configure Example
2024-04-30 18:18:58 223 1
原创 Jar Summary 1 start IPv4 port listening
Jar Summary 1 start IPv4 port listening
2024-04-30 18:15:15 21
原创 ARM Summery 5 Complex function Pins
ARM Pins can be used in different mode, at least some Pins, some choose the single function type Pins or set the Pins function type before using them.
2024-04-30 17:20:10 44
原创 System maintance summery 1 MySql
To set case insensitive table names in mysql8:After install mysql-server 8, DON'T start mysqld service just at that time, but add below line to mysql-server.cnf([mysqld]): lower_case_table_bames =1After that, start it.
2024-04-30 17:15:41 40
原创 ARM Summary 4 I2C communication
I2Cuse SDA SCL two Pins to communicate.Signals send bySDAcovered to 16 Pins output by 8574T.Signals one bit by one bitserialy in, signals with 8 bits serialyout by 8574T.8574T has the I2C address to recieve I2C signals.
2024-04-26 21:13:32 134
原创 ARM Summary 3 Hardware Coding vocabulary
APB2 外围设备总线,STM32的标准总线 Advanced Peripheral Bus。GPIO 通用型输入输出 General-purpose input/output。PWM 脉宽调制 Pulse Width Modulation。CR 配置寄存器 Configure Register。PWR 指示灯:电源指示灯 Power。
2024-04-26 20:56:13 76
原创 JavaScript Summery 8 speed up dev by editing vite.config.js
JavaScript Summery 8 speed up dev by editing vite.config.js
2024-04-26 19:47:02 358 1
原创 ARM Summery2 STM32 GPIO Simple Code steps
1. Enable Periph clock by Call RCC ABP2: RCC_APB2PeriphClockCmd. 2. Init GPIO CLUSTR and Pins with GPIO_Init. 3. Set Pins' High or low voltage using GPIO_SetBits.
2024-04-25 21:46:03 99
原创 JavaScript Summery 6 use .env.development and vite --host 0.0.0.0 --mode development target diff env
proxy={return {})
2024-04-25 20:11:43 184
原创 JavaScript Summery 5 use getUserMedia to show current machine‘s video cammera
)
2024-04-25 19:49:52 179 2
原创 ARM Code Summery 1 PWM Device
ARM chip is for caculate. To aim managing lightness of light emitting diod by pulse width management, use PWM device driver board.
2024-04-24 22:02:18 359
原创 JavaScript Summery2 format float
parseFloat(string).toFixed(2); //2 fractions, truncate(parseFloat(string)+0.05).toFixed(2); //2 fractions, half round upkey word: toFixed
2024-04-24 09:15:55 363 2
原创 警惕非上架应用的下载和使用
1、上架难吗?1)对于某些刚开始做开发的个人而言可能会有一点点的难度,但这不应该是成熟软件不上架应用市场的借口;2)Qt应用通吃Windows、macOS、Linux三大平台,通吃三大应用市场,上架应用市场毫无压力;3)ELectron应用通吃Windows、Linux平台,在一定程度上也能上架macOS平台;4)软件上架应用市场成本:Windows应用市场免费,Linux软件中心免费,Apple Store个人一年99美元,企业一年299美元(不是任何一个应用不上架应用市场的主要理由);
2022-08-20 00:00:43 1688
原创 Windows商店的Redis客户端G-dis3
Windows版Redis客户端软件G-dis3对key的模式搜索不会返回RedisServer的所有Key数据,所以,不会导致正式环境连接服务器时的内存溢出等问题。G-dis3(Windows、macOS、Ubuntu上跨平台的Redis客户端软件G-dis3)是采用纯C++语言开发的跨平台的Redis客户端。3、在OperateData(操作数据)界面,特殊处理二进制数据为'\B'开头的数据,使得在G-dis3中完美支持二进制数据的显示和操作。TCP层包装操作系统相关的socket代码;...
2022-08-01 22:55:06 592
原创 Linux上的Redis客户端软件G-dis3
Linux的Redis客户端软件G-dis3对key的模式搜索不会返回RedisServer的所有Key数据,所以,不会导致正式环境连接服务器时的内存溢出等问题。G-dis3(Ubuntu上的Redis客户端软件G-dis3)是采用纯C++语言开发的跨平台的Redis客户端。3、在OperateData(操作数据)界面,特殊处理二进制数据为'\B'开头的数据,使得在G-dis3中完美支持二进制数据的显示和操作。1、分析了Redis客户端的代码,总结了Redis客户端的。读取数据的三个主体方法;...
2022-07-29 09:39:27 949
原创 自建GitLab的客户端配置
1、生成密钥对:ssh-keygen -t rsa -C '[email protected]' -f ~/.ssh/gitlab_rsa2、粘贴公钥到GitLab3、在~/.ssh目录下新建名称为config的文件,配置多个不同的host使用不同的ssh key:# gitlabHost host1 HostName 192.168.0.1 User git PreferredAuthentications publickey IdentityFile ~/.ssh...
2021-12-13 10:14:40 1012 1
原创 chrome访问http请求安全设置
chrome://flags/#unsafely-treat-insecure-origin-as-secure添加地址并设置为enable
2021-11-30 15:47:26 3340
原创 通过GDI实现了透明背景的文字绘图
周末,基于node C++扩展,通过GDI实现了透明背景的文字绘图功能,上图:此功能通过纯GDI实现,而通过GDI实现透明背景的窗口的关键点是产生一张32位的HBITMAP,而后UpdateLayeredWindow(ULW_ALPHA)。仅此提供一个愿景和实现案例。...
2021-10-18 14:07:24 648 1
转载 Per-pixel Alpha Blending in Win32 Desktop Applications
Per-pixel Alpha Blending in Win32 Desktop ApplicationsIt took a bit of research and experimenting, but I was able to correctly achieve per-pixel alpha blending in Windows desktop applications. In addition to having tested it on Windows XP SP3 and Windows
2021-10-15 15:49:14 104
原创 Electron + node C++开发
node-gypElectron C++,使用nannpm install -g prebuild node-gyp electronnpm install nan bindings --save#include <nan.h>void Add(const Nan::FunctionCallbackInfo<v8::Value>& info) { if (info.Length() < 2) { Nan::ThrowTyp...
2021-10-14 23:27:02 596
原创 wxPy半透明窗体
def OnPaint(self, evt): width, height = self.GetClientSize() text = 'Alpha test' font = self.GetFont() font.SetPointSize(font.GetPointSize() + 16) font = font.MakeBold() font = font.MakeItalic() bm.
2021-10-13 23:52:26 88
原创 ubuntu webkit2gtk开发环境搭建
sudo apt-get install gnome-develsudo apt-get install libglib2.0-doc libgtk2.0-docsudo apt-get install devhelpsudo apt-get install glade-gnome glade-common glade-doc
2021-10-13 14:22:05 738
原创 桌面端可行方案——张人杰
1、Windows、Ubuntu:Electron + node C++扩展,macOS:wkWebView + Swift优势:一套UI,界面基本完全一致,业务功能的性能由C++或Swift保证,MIT协议,完全免费,可上架Windows Store商店和Apple Store商店缺点:每个平台都有与平台相关的代码,得维护UI代码、windows业务代码、ubuntu业务代码、swift业务代码一共四套代码,全栈人员可以抵挡一面。普遍应用:上架应用百度网盘(windows版和mac版)、上架应
2021-10-09 11:41:28 1415
原创 wxWidgets3.1.5环境搭建总结
1、安装mingw版codeblock2、安装wxMSWhttps://github.com/wxWidgets/wxWidgets/releases/download/v3.1.5/wxMSW-3.1.5-Setup.exe3、在include目录中操作setup.h将wx/msw文件夹中的setup.h拷贝到wx目录4、下载wxWidgets的lib:https://github.com/wxWidgets/wxWidgets/releases/download/v3.1
2021-10-06 16:25:05 629
原创 Ubuntu20安装多版本gcc
1、sudo gedit /etc/apt/sources.list末尾添加以下内容:deb http://dk.archive.ubuntu.com/ubuntu/ trusty main universe2、安装gcc-8sudo apt search gcc-8sudo apt install gcc-83、支持gcc版本切换sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 80..
2021-09-29 15:08:20 1228
拾色器jquery-color.picker.js改进V1.0.2
2012-08-14
Generic Architecture架构更新2012
2012-08-11
Generic Architecture架构更新
2012-08-10
R2高性能数据库连接池v1.8改进版源码
2012-01-05
R2高性能数据库连接池v1.8源码
2012-01-05
R2高性能数据库连接池v1.7源码
2012-01-01
R2高性能数据库连接池v1.6源码
2011-12-31
R2高性能数据库连接池v1.5源码
2011-12-14
R2高性能数据库连接池v1.3源码
2011-11-29
R2数据库连接池高性能连接池v1.3
2011-11-29
R2 v1.2源码
2011-11-28
R2数据库连接池高性能连接池v1.2
2011-11-28
R2,jdbc数据库连接池源码
2011-11-27
R2数据库连接池运用jdk1.6特性的高性能全参数化配置连接池
2011-11-26
jd-gui-cleaner清除jd-gui反编译后注释的工具v1.3.2
2011-10-22
jd-gui-cleaner v1.3.2
2011-10-22
jd-gui-cleaner清除jd-gui反编译后注释的工具
2011-10-22
sna集中式session管理实现服务器集群及客户端程序
2011-06-09
项目开发架构规约--张人杰2020.pptx
2020-04-08
alex-sensitive-words-filter-3.0.jar
2019-12-13
Window 7版Acrive Ports - Guard Ports
2016-06-30
Alex-Word-Filter-MFC网络版java客户端(多线程连接池版)
2016-02-12
Alex-Word-Filter-MFC网络版(修正版)
2016-02-11
Alex-Word-Filter-MFC版
2015-12-21
Guard Port - MFC 2012
2015-12-11
Active Ports - MFC 2012
2015-12-10
张氏web漏洞检查工具
2015-10-03
范型框架Generic Architecture 2012 V2.1.32
2012-08-28
SSI文件上传与下载 V1.2.2
2012-08-21
拾色器改进jquery-alex-color.picker.js V1.3.2
2012-08-17
拾色器改进jquery-alex-color.picker.jsV1.3.2
2012-08-17
Qt5 QPrintPreviewDialog的page setting为什么是灰的
2016-07-15
xp系统报gettcptable failed with 122错误,是怎么回事?
2015-12-09
web系统的权限管理问题
2015-11-28
android开发,media server died怎么处理?
2013-10-28
TA创建的收藏夹 TA关注的收藏夹
TA关注的人