<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[shichen501的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/shichen501</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; shichen501]]></copyright><item><title><![CDATA[MacOS 如何映射快捷键]]></title><link>https://blog.youkuaiyun.com/shichen501/article/details/145364794</link><guid>https://blog.youkuaiyun.com/shichen501/article/details/145364794</guid><author>shichen501</author><pubDate>Sun, 26 Jan 2025 09:40:56 +0800</pubDate><description><![CDATA[macOS Sequoia 现在要求热键注册至少使用一个非 shift 或 option 的修饰符，对于原来使用快捷键。做键盘映射，可以实现原有功能继续使用。ii. 输入规则示例，映射。i. 打开软件，添加映射。]]></description><category></category></item><item><title><![CDATA[goaccess 基本使用]]></title><link>https://blog.youkuaiyun.com/shichen501/article/details/124999314</link><guid>https://blog.youkuaiyun.com/shichen501/article/details/124999314</guid><author>shichen501</author><pubDate>Fri, 27 May 2022 10:35:53 +0800</pubDate><description><![CDATA[文章目录说明基础安装参数使用报告分析附录日志格式变量预置格式日志实例默认自定义格式源码安装
说明
Nginx 的日志分析有助于对流量、错误排查，使用工具 goaccess 可以避免写复杂的 awk 函数，可以方便的统计来源 IP、请求流量、请求地址及请求时间分布。
goaccess 工程地址
报告示例
基础
安装
yum install goaccess -y

参数




参数
作用




-o
输出报告


-q
地址统计不带 query 参数


–hour-spec
默认为 hr 按小时统计，m]]></description><category></category></item><item><title><![CDATA[MacOS 10.12编译安装 TensorFlow]]></title><link>https://blog.youkuaiyun.com/shichen501/article/details/123968324</link><guid>https://blog.youkuaiyun.com/shichen501/article/details/123968324</guid><author>shichen501</author><pubDate>Tue, 05 Apr 2022 13:57:19 +0800</pubDate><description><![CDATA[文章目录使用 conda 安装编译安装本机型号说明环境检查开始安装选项测试其他build_tf.sh常见问题Compiling src/google/protobuf/compiler/main.cc [for host] failed: undeclared inclusion(s)ERROR: tensorflow-2.8.0-cp39-cp39-macosx_12_0_x86_64.whl is not a supported wheel on this platform.
使用 conda 安装

]]></description><category></category></item><item><title><![CDATA[读书笔记-白话机器学习的数学]]></title><link>https://blog.youkuaiyun.com/shichen501/article/details/122799480</link><guid>https://blog.youkuaiyun.com/shichen501/article/details/122799480</guid><author>shichen501</author><pubDate>Sun, 06 Feb 2022 16:52:38 +0800</pubDate><description><![CDATA[回归
线性回归
步骤


训练数据，画图


预测函数和目标函数


初始值是随机的


最小二乘法


12\frac{1}{2}21​ 是方便计算加的




梯度下降法

学习率 η\etaη



复合函数微分的链式法则


参数更新表达式


演示程序


标准化

差值阈值，跳出训练



公式
预测函数:
fθ(x)=θ0+θ1x
f_\theta(x)= \theta_0 + \theta_1x
fθ​(x)=θ0​+θ1​x
目标函数（误差函数）：
E(θ)=12∑i=1n(y(i)−fθ]]></description><category></category></item><item><title><![CDATA[读书笔记-写给所有人的逻辑思维课]]></title><link>https://blog.youkuaiyun.com/shichen501/article/details/122279762</link><guid>https://blog.youkuaiyun.com/shichen501/article/details/122279762</guid><author>shichen501</author><pubDate>Sun, 02 Jan 2022 19:49:25 +0800</pubDate><description><![CDATA[百度脑图地址


]]></description><category></category></item><item><title><![CDATA[如何发布一个 Composer 包]]></title><link>https://blog.youkuaiyun.com/shichen501/article/details/109851642</link><guid>https://blog.youkuaiyun.com/shichen501/article/details/109851642</guid><author>shichen501</author><pubDate>Fri, 20 Nov 2020 15:45:04 +0800</pubDate><description><![CDATA[文章目录流程Composer 说明说明目录结构CHANGES.mdLICENSEREADME.md.gitignorecomposer.jsonsrcsample问题开始步骤一 创建远程仓库步骤二 提交 packagist.org
流程
参考: https://packagist.org/about#how-to-update-packages
Composer 说明
说明

包名在 composer.json 确定
版本号由仓库的发布版本确定, 必须发布第一个版本才能进行下载
建议使用 PSR-4

目录]]></description><category></category></item><item><title><![CDATA[自签名证书]]></title><link>https://blog.youkuaiyun.com/shichen501/article/details/106301069</link><guid>https://blog.youkuaiyun.com/shichen501/article/details/106301069</guid><author>shichen501</author><pubDate>Sat, 23 May 2020 15:34:12 +0800</pubDate><description><![CDATA[参考文档
https://medium.com/@tbusser/creating-a-browser-trusted-self-signed-ssl-certificate-2709ce43fd15
说明

测试用的自签名证书
针对NET::ERR_CERT_COMMON_NAME_INVALID 的报错, 是因为从 Chrome 58 版本后, 证书必须包含Subject Alternative Name, 才能被认为正确

自签名证书版本
# 生成私钥 -des3 -aes256 加上密码保护
ope]]></description><category></category></item><item><title><![CDATA[mac 的 excel 替换换行符]]></title><link>https://blog.youkuaiyun.com/shichen501/article/details/105505071</link><guid>https://blog.youkuaiyun.com/shichen501/article/details/105505071</guid><author>shichen501</author><pubDate>Tue, 14 Apr 2020 09:42:03 +0800</pubDate><description><![CDATA[说明: 听说在 Windows 的 excel 中只要调出替换对话框, 在输入框中输入alt 0010, 就表示单元格内换行符, 但是 mac 的 excel 并不支持, 查询了很多文档, 只能实现曲线救国.
方法实现

在导入数据时, 用指定字符表示换行符, 比如CHAR, 同时建议在需要替换列后面留两个空列
在替换列后的第一个空列使用 excel 函数 =SUBSTITUTE(A1, "CHA...]]></description><category></category></item><item><title><![CDATA[云服务器安全管理]]></title><link>https://blog.youkuaiyun.com/shichen501/article/details/105481719</link><guid>https://blog.youkuaiyun.com/shichen501/article/details/105481719</guid><author>shichen501</author><pubDate>Mon, 13 Apr 2020 09:32:33 +0800</pubDate><description><![CDATA[文章目录说明操作流程用户管理/etc/ssh/sshd_config配置说明操作参考
说明

文档主要针对除阿里云和腾讯云外的云服务器
所有操作流程都不会影响当前已登录的 ssh 连接, 所以为避免修改配置后无法连接, 在未结束前, 不要断开此次连接

操作流程

删除系统默认创建用户, 如联通云会默认创建和 root 密码相同的用户 administrator
创建部门使用的非 root 用户,...]]></description><category></category></item><item><title><![CDATA[LNMP 一键安装脚本阅读]]></title><link>https://blog.youkuaiyun.com/shichen501/article/details/103736835</link><guid>https://blog.youkuaiyun.com/shichen501/article/details/103736835</guid><author>shichen501</author><pubDate>Fri, 27 Dec 2019 18:23:32 +0800</pubDate><description><![CDATA[文章目录基础笔记软件介绍版本号.user.ininginxphp.ini文件描述符系统级别用户级别安装编译安装Mysql后续处理编译安装 php工具编译安装 nginxlua 配置流程安装流程其他工具tool/*addons.sh卸载流程删除路径常用命令phpnginxmysqlyumpythoniptables规则服务lnmp 脚本其他源码地址SHELL学习系统信息内存大小版本信息内存大小Swa...]]></description><category></category></item><item><title><![CDATA[性能分析]]></title><link>https://blog.youkuaiyun.com/shichen501/article/details/88865453</link><guid>https://blog.youkuaiyun.com/shichen501/article/details/88865453</guid><author>shichen501</author><pubDate>Thu, 28 Mar 2019 11:33:18 +0800</pubDate><description><![CDATA[lscpu
# 逻辑cpu核数
CPU(s):                8
On-line CPU(s) list:   0-7
# 每个核心线程, 如何大于1则使用了超线程技术
Thread(s) per core:    1
# 每个cpu插槽核数 / 每颗物理cpu核数
Core(s) per socket:    8
# 物理CPU的插槽
Socket(s):            ...]]></description><category></category></item><item><title><![CDATA[通过frm和ibd恢复数据库]]></title><link>https://blog.youkuaiyun.com/shichen501/article/details/88664318</link><guid>https://blog.youkuaiyun.com/shichen501/article/details/88664318</guid><author>shichen501</author><pubDate>Tue, 19 Mar 2019 15:52:18 +0800</pubDate><description><![CDATA[文章目录参考地址步骤通过mysqlfrm可以从frm中获取表结构使用批量导出问题新建空的数据库, 导入上述表结构删除对应的表空间, 将表对应的ibd文件复制到数据目录下单个批量重新插入表空间mysql
参考地址

https://www.nullalo.com/en/recover-mysql-innodb-tables-without-ibdata1-file/
https://www.cnbl...]]></description><category></category></item><item><title><![CDATA[nginx配置proxy_pass URL末尾加与不加/(斜线)的区别]]></title><link>https://blog.youkuaiyun.com/shichen501/article/details/81003099</link><guid>https://blog.youkuaiyun.com/shichen501/article/details/81003099</guid><author>shichen501</author><pubDate>Wed, 11 Jul 2018 16:40:47 +0800</pubDate><description><![CDATA[说明


curl在终端进行访问,可以避免浏览器缓存影响测试结果
测试结果在本地通过一个虚拟主机8087的acces_log获取
每一条curl下面为对应的测试结果


测试

1

location /tobaidu {
    proxy_pass http://127.0.0.1:8087;
}

curl http://127.0.0.1/tobaidu



http://127.0.0...]]></description><category></category></item><item><title><![CDATA[SoapClinet 使用CDATA]]></title><link>https://blog.youkuaiyun.com/shichen501/article/details/80934419</link><guid>https://blog.youkuaiyun.com/shichen501/article/details/80934419</guid><author>shichen501</author><pubDate>Thu, 05 Jul 2018 23:04:24 +0800</pubDate><description><![CDATA[new SoapVar([new SoapVar('&amp;lt;![CDATA['.$v.']]&amp;gt;',XSD_ANYXML)],SOAP_ENC_OBJECT);]]></description><category></category></item><item><title><![CDATA[mysql入门使用]]></title><link>https://blog.youkuaiyun.com/shichen501/article/details/79843291</link><guid>https://blog.youkuaiyun.com/shichen501/article/details/79843291</guid><author>shichen501</author><pubDate>Sat, 07 Apr 2018 17:30:15 +0800</pubDate><description><![CDATA[说明


数据库都有一个或多个不同的API用于创建,访问,管理,搜索和复制所保存的数据
RDBMS 关系数据库管理系统 Relational Database Management System
参照完整性:参照的完整性要求关系中不允许引用不存在的实体
MySQL支持大型数据库,支持5000万条记录的数据仓库,32位系统表文件最大可支持4GB,64位系统支持最大的表文件为8TB
BSON( Bin...]]></description><category></category></item><item><title><![CDATA[防止浏览器记住密码]]></title><link>https://blog.youkuaiyun.com/shichen501/article/details/78183959</link><guid>https://blog.youkuaiyun.com/shichen501/article/details/78183959</guid><author>shichen501</author><pubDate>Mon, 09 Oct 2017 16:29:33 +0800</pubDate><description><![CDATA[网站开发中的登录注册模块如果涉及到验证码,密码,通常导致浏览器错误识别验证码为账号提示保存密码;又或者在网站保存账号密码,但是在输入验证码时自动填充为真实账号密码,不同的浏览器效果不同,下面提供三种方法防止自动填充在验证码的输入框增加属性autocomplete=”off”,不自动填充  autocomplete="off"
屏蔽浏览器识别动态更改input属性浏览器是根据type=”passwor]]></description><category></category></item><item><title><![CDATA[微信公共号如何本地调试]]></title><link>https://blog.youkuaiyun.com/shichen501/article/details/78180575</link><guid>https://blog.youkuaiyun.com/shichen501/article/details/78180575</guid><author>shichen501</author><pubDate>Mon, 09 Oct 2017 11:05:35 +0800</pubDate><description><![CDATA[微信使用的是内置的浏览器,所以授权或其他调用微信接口不能直接在浏览器执行下载微信开发者工具注:要调试的公告号和开发者必须绑定 
官方文档工具下载地址修改本地hosts
  hosts文件是一个域名解析文件,用于存储计算机网络中各节点信息,负责将主机名映射到相应的IP地址,用来补充网络中DNS的功能.
  
  通过修改hosts文件,我们可以将授权回调地址映射到本地,即可在本地实现调试
问题mac修]]></description><category></category></item><item><title><![CDATA[git 操作文档]]></title><link>https://blog.youkuaiyun.com/shichen501/article/details/77844451</link><guid>https://blog.youkuaiyun.com/shichen501/article/details/77844451</guid><author>shichen501</author><pubDate>Mon, 04 Sep 2017 22:41:19 +0800</pubDate><description><![CDATA[配置文件
用户配置
查看当前项目配置
设置显示颜色使命令输出语法高亮
配置所在目录
文档解释
分支命名
入门
初始化git
查看工作区状态
提交本地库
文件对比
查看日志
回退或前进版本
版本表示
版本操作
删除文件
远程仓库
创建密钥
操作远程仓库
推送本地仓库到远程仓库
确认指纹信息
克隆远程仓库
显示详细信息
远程分支操作
分支
创建分支
查看分支
删除分支
合并指定分支到当前分支
合并冲突解]]></description><category></category></item><item><title><![CDATA[px dip sp]]></title><link>https://blog.youkuaiyun.com/shichen501/article/details/76401106</link><guid>https://blog.youkuaiyun.com/shichen501/article/details/76401106</guid><author>shichen501</author><pubDate>Sun, 30 Jul 2017 18:49:33 +0800</pubDate><description><![CDATA[px像素–基本原色素及其灰度的基本编码spsp(scaled pixels—best for text size)——带比例的像素,是放大像素，主要是用于字体显示,在更改系统字体时可以实现同步变化dipdip(device independent pixels)——设备独立像素 ,和屏幕的物理尺寸正比换算公式:dip = dpr * pxdpr设备像素比dpr(devicePixelRatio)]]></description><category></category></item><item><title><![CDATA[php-cgi php-fpm说明]]></title><link>https://blog.youkuaiyun.com/shichen501/article/details/76401099</link><guid>https://blog.youkuaiyun.com/shichen501/article/details/76401099</guid><author>shichen501</author><pubDate>Sun, 30 Jul 2017 18:48:24 +0800</pubDate><description><![CDATA[CGICommon Gateway Interface公共网关接口
FastCGI
工作原理
php-cgi
- php-cgi变更phpini配置后需重启php-cgi才能让新的php-ini生效
php-fpm
CGI(Common Gateway Interface)公共网关接口
  遇到连接请求时,创建cgi的子进程,处理完后结束这个子进程,这就是fork-and-excute,有多少请求就]]></description><category></category></item></channel></rss>