- 博客(16)
- 资源 (1)
- 收藏
- 关注
原创 GmSSL 国密MS2/SM3/SM4/SM9/ZUC/SSL密码工具箱
GmSSL 国密MS2/SM3/SM4/SM9/ZUC/SSL密码工具箱
2022-05-17 15:19:44
3511
原创 直播-FFmpeg、Nginx_rtmp流媒体
ffmpeg nginx rtmp 解码 编码 转码 服用 流 下载FFmpeg、Nginx_rtmp流媒体服务器构建及基础操作FFmpeg常用命令示例# 重新编码推送demo.mp4文件ffmpeg.exe -i ./demo.mp4 -f flv rtmp://10.1.30.128:1935/mytv/demo1# 基于原媒体文件直接进行推送ffmpeg.exe -i ./demo.mp4 -c copy -f flv rtmp://10.1.30.128:1935/myt.
2021-12-31 18:22:45
165
原创 CPU总线&段地址&物理地址科普
CPU寻址能力及总线宽度 例如: CPU寻址能力为 8KB, 总线宽度计算方式: 换算 8KB = 8 * 1204Byte = 8192Byte 得出 寻址范围为: 0 ~ 8191 我们假设,总线宽度为 y 则 2^y = 8192 y = 13 即,总线宽度为 13 时, CPU寻址能力为8KB. 参考: 总线宽度 |
2021-12-31 18:13:30
2122
原创 Zephir-开发PHP扩展C
Zephir - 是一种高级编程语言,可简化 PHP 扩展的创建和可维护性。Zephir 扩展导出为 C 代码,可以通过 gcc/clang/vc++ 等主要 C 编译器进行编译和优化。功能暴露给 PHP 语言。GitHubhttps://github.com/zephir-lang/zephirZephir Parserhttps://github.com/zephir-lang/php-zephir-parserZephirZephir DocumentationZephir-Docs...
2021-12-31 18:00:04
443
原创 PHP8.1.1 编译错误问题汇总
configure: error: Package requirements (libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0) were not met:configure: error: iconv does not support errnocollect2: error: ld returned 1 exit statusmake: *** [sapi/cli/php] 错误 1
2021-12-31 17:54:24
2308
原创 php8.1.1编译安装
安装wget https://www.php.net/distributions/php-8.1.1.tar.gztar -zxvf ./php-8.1.1.tar.gzcd php-8.1.1# 编译./configure --prefix=/usr/local/php81 --with-config-file-path=/usr/local/php81/etc --with-config-file-scan-dir=/usr/local/php81/conf.d --with-mysqli
2021-12-31 17:51:27
1763
原创 pd-用PHP编写一个密码随机生成脚本命令
编写脚本sudo vim /sbin/pd## pd内容如下#!/usr/bin/env php<?php$length = array_pop($_SERVER['argv']);$length = is_numeric($length) ? $length : 16;$length = $length < 8 ? 8 : $length;$alpha = str_split(str_shuffle('abcdefghijklmnopqrstuvwxyzABCDEFGH
2021-12-31 17:40:54
229
原创 PHP进程实现&管理
运行环境为Linux,模式为CLIDEMO/*要创建的子进程*/$manager = [ 'work1', 'work2', 'work3',];/*当前进程名称*/$status = file_exists('/proc/' . getmypid() . '/status');$bash = '-';if ($status) { $bash = file('/proc/' . getmypid() . '/status', FILE_IGNORE.
2021-12-31 17:35:29
380
原创 golang与phplaravel内置加密算法-aes256加密解密
golang写的与php框架laravel内置安全加密算法对接附上: laravel内部安全加密算法/golang安全加密算法,内有demo示例https://github.com/jiangshengxin/golang-phplaravel-aes256-cbcGolang代码package mainimport ( "crypto/aes" "crypto/cipher" "encoding/base64" "encoding/json" ".
2021-12-31 17:26:43
1234
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人