三雷科技
国产操作系统下的QT项目实战,密码算法应用研发,网络安全应用研发。
coco2dx4.0游戏开发,塔防游戏开发实战。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
人工智能入门,电子书安装工具说明
简单来说,Jupyter 是一个基于网页的应用程序,允许你创建和共享包含实时代码可视化结果数学公式和叙述性文本的文档。想象一下,它就像一个可以同时写代码、运行代码、看到结果、并写下详细注释和分析的“智能笔记本”。原创 2025-09-24 09:10:04 · 247 阅读 · 0 评论 -
JavaScript 混淆方案
JavaScript混淆技术通过变量重命名、字符串加密、控制流扁平化等方式保护代码安全,常用工具包括UglifyJS、Babel和Webpack插件,专业工具有JavaScript Obfuscator和JScrambler。高级方案采用代码虚拟化、WebAssembly等技术,但需注意混淆会影响性能和可维护性,不能完全替代后端安全措施。应根据项目需求选择合适的混淆强度与工具。原创 2025-05-29 09:00:00 · 428 阅读 · 0 评论 -
Python 实现的 JavaScript 变量和函数名混淆工具
本文介绍了一个用Python实现的JavaScript代码混淆工具,可将变量名和函数名替换为随机生成的短标识符。该工具通过正则表达式识别变量声明(var/let/const)和函数定义(function),使用defaultdict自动生成2-6位随机名称(避开保留字),并保持引用关系不变。实现包含安全校验机制,不混淆保留字和无效标识符,同时避免修改对象属性名。示例展示了原始代码与混淆后代码的对比,以及变量/函数名的映射关系。文章最后建议可扩展支持ES6+特性、字符串加密等进阶功能。该工具适用于基本的代码混原创 2025-05-28 06:45:00 · 153 阅读 · 0 评论 -
clamAV使用详解(ubuntu)
执行命令freshclam错误描述解决方案出现错误的原因是因为文件已经被占用了。因此我们可以通过lsof找到占用文件的进程,发现就是freshclam占用了,可能是因为服务在后台自动更新数据库导致的。因此不需要理会。通过。原创 2025-02-24 09:16:45 · 773 阅读 · 0 评论 -
x11 windows 入门demo4(修改窗口的透明度)
我们可以通过_NET_WM_WINDOW_OPACITY属性修改窗口的透明度。原创 2023-06-29 16:11:25 · 815 阅读 · 1 评论 -
Linux的XServer
linux本身没有图形界面,linux现在的图形界面的实现只是linux下的应用程序实现的: 图形界面并不是linux的一部分,linux只是一个基于命令行的操作系统,linux和Xfree的关系就相当于当年的DOS和WINDOWS 3.0 一样,windows 3.0不是独立的操作系统,它只是DOS的扩充,是DOS下的应用程序级别的系统,不是独立的操作系统,同样XFree只是 linux下的一个应用程序而已。不是系统的一部分,但是X的存在可以方便用户使用电脑。WINDOWS 95.....转载 2022-04-27 14:38:40 · 7308 阅读 · 0 评论 -
x11 窗口调试工具
xwininfo:查看X11窗口属性。常用命令xwininfo -tree -all // 然后选择你需要关注的窗口xwininfo -id %%% // 获取某一个窗口的信息xdotool :设置X11窗口属性可以将窗口进行显示,或者隐藏,或者移动到某个区域。Usage: xdotool <cmd> <args>Available commands: getactivewindow getwindowfocus getwindowname ge原创 2021-08-24 08:52:36 · 2286 阅读 · 0 评论 -
x window 第10章 events事件
本节描述窗口交叉事件EnterNotify和LeaveNotify的处理过程。如果指针运动或窗口层次结构更改导致指针位于与以前不同的窗口中,X服务器将向为这些事件选择的客户端报告EnterNotify或LeaveNotify事件。但是,通知和离开层次结构所引起的通知事件(通知和离开)都是由通知事件引起的,可见性通知和公开事件。原创 2020-12-10 10:15:55 · 506 阅读 · 0 评论 -
第九章 窗口和绘话管理
虽然很难将函数分类为只用于应用程序、窗口管理器或会话管理器,但本章中的函数通常由窗口管理器和会话管理器使用。预计大多数应用程序不会使用这些函数。x11windows中的窗口和会话管理原创 2021-01-03 20:34:12 · 446 阅读 · 0 评论 -
X Window 系统的窗口显示原理
X Window 系统介绍X Window 系统是一个基于网络的图形界面系统,它于 1984 年在麻省理工学院开发,有将近 20 年的应用历史。X Window 系统广泛的应用于桌面 Linux(如 Fedora、Debian、Ubuntu 等),嵌入式 Linux(如 Nokia 的 Maemo、Intel 的 Moblin 等)。随着 Nokia 和 Intel 高调的将 Maemo 和 Moblin 合并为 Meego,X Window 系统的应用将被推向一个新的高潮。X Window 是 C原创 2021-02-08 16:36:55 · 678 阅读 · 0 评论 -
X Window 系统的窗口显示原理
简介:本文介绍 X Window 系统的窗口显示原理。从一个简单的 X 客户端程序入手,介绍了窗口的创建接口 XCreateWindow 和显示接口 XMapWindow 的实现,并结合窗口管理器介绍了 X Server、X Client 和窗口管理器三部分交互的原理。X Window 系统介绍X Window 系统是一个基于网络的图形界面系统,它于 1984 年在麻省理工学院开发,有将近 20 年的应用历史。X Window 系统广泛的应用于桌面 Linux(如 Fedora、Debian、Ub.原创 2020-12-29 13:30:03 · 634 阅读 · 0 评论 -
Chapter 6: Color Management Functions
第六章:颜色管理函数概述1.1 Color Structures1.2 Color StringsXAllocNamedColor()XcmsAllocNamedColor()XLookupColor()XcmsLookupColor()XParseColor()XStoreNamedColor()1.3 Color Conversion Contexts and Gamut Mapping1.4 Creating, Copying, and Destroying ColormapsXCreateColor原创 2021-09-25 15:45:42 · 374 阅读 · 0 评论 -
第五章 Pixmap and Cursor方法
Once you have connected to an X server, you can use the Xlib functions to:Create and free pixmapsPixmaps can only be used on the screen on which they were created. Pixmaps are off-screen resources that are used for various operations, for example, defini原创 2021-09-24 08:32:50 · 538 阅读 · 0 评论 -
第四章: 窗口信息函数(x11)
通过本章内容,你可以学习到x11 windows窗口信息的获取。例如窗口的父子关系、窗口的宽高、窗口的深度等。原创 2020-12-18 09:21:17 · 773 阅读 · 0 评论 -
x11 window 第三章:窗口管理(下)
In the X Window System, awindowis a rectangular area on the screen that lets you view graphic output. Client applications can display overlapping and nested windows on one or more screens that are driven by X servers on one or more machines. Clients who ..原创 2020-12-11 16:18:24 · 936 阅读 · 1 评论 -
x11 window 第三章:窗口管理(上)
Visual TypesOn some display hardware, it may be possible to deal with color resources in more than one way. For example, you may be able to deal with a screen of either 12-bit depth with arbitrary mapping of pixel to color (pseudo-color) or 24-bit depth原创 2021-01-05 10:02:54 · 623 阅读 · 0 评论 -
x11 windows 第二章:窗口显示函数说明
在程序可以使用显示器之前,必须与X服务器建立连接。建立连接后,就可以使用本章中讨论的Xlib宏和函数返回有关显示的信息原创 2020-12-10 21:52:05 · 870 阅读 · 1 评论 -
X Window 程式设计入门
--------------------------------------------------------------------------------这只是入门,仅仅是入门而已。所以并不是很完全,却可以给你一个概观的了解,让你知道XWindowprogramming过程和所需的基本知识。如果你需要更进一步的资料,请参考Xlib-CLanguageXInteraceReferrence。对於内容有任何意见,也欢迎指教。本文件由李圭烽(Thinker;Thinker.bbs@...转载 2020-12-10 09:55:31 · 1143 阅读 · 0 评论 -
x11 windows入门文档
linux桌面操作系统的窗口程序入门文档。本文讲解X11window常用的函数说明。xwindow相关函数原创 2020-12-09 15:11:19 · 746 阅读 · 0 评论 -
x11 windows 入门Demo3
// Written by Ch. Tronche (http://tronche.com/)// Copyright by the author. This is unmaintained, no-warranty free software. // Please use freely. It is appreciated (but by no means mandatory) to// acknowledge the author's contribution. Thank you.////.原创 2020-12-09 14:59:10 · 508 阅读 · 0 评论 -
x11 windows 入门demo1
// Written by Ch. Tronche (http://tronche.lri.fr:8000/)// Copyright by the author. This is unmaintained, no-warranty free software. // Please use freely. It is appreciated (but by no means mandatory) to// acknowledge the author's contribution. Thank yo.原创 2020-12-09 14:38:34 · 562 阅读 · 0 评论 -
x11 windows (Mapping Windows)
window is considered mapped if anXMapWindow()call has been made on it. It may not be visible on the screen for one of the following reasons: It is obscured by another opaque window. One of its ancestors is not mapped. It is entirely clipped by an...原创 2020-12-09 14:04:13 · 757 阅读 · 0 评论 -
x11 window 入门Demo2
一、文件创建创建prog-2.cc文件// Written by Ch. Tronche (http://tronche.lri.fr:8000/)// Copyright by the author. This is unmaintained, no-warranty free software.// Please use freely. It is appreciated (but by no means mandatory) to// acknowledge the author's.原创 2020-12-09 10:13:54 · 650 阅读 · 0 评论
分享