- 博客(274)
- 资源 (1)
- 收藏
- 关注

原创 footstep
http://www.syyong.com/db/Redis-why-the-use-of-single-process-and-single-threaded-way-so-fast.htmlhttps://www.ibm.com/developerworks/cn/linux/l-async/在线动画演示:http://tools.jb51.net/aideddesign/paix...
2018-11-29 14:45:35
291
原创 mysql-Synch-clickhouse
从其他数据库同步到 ClickHouse,当前支持 MySQL 与 postgres,支持全量复制与增量复制。
2024-03-01 16:52:07
1128
原创 mysql主从
在这种情况下,尽管 I/O 线程仍在接收主数据库的变更事件,但由于出现了错误,SQL 线程无法执行这些事件,导致复制进程停止。案例操作:从库添加了一条数据;主库有添加了同样的数据;2:启动从库:START SLAVE;1:删除从库:重复的数据;
2023-12-12 18:27:27
106
原创 Jenkins - DingTalk
1:安装DingTalkACTION_CARD 整体跳转 | 钉钉机器人插件在 Jenkins 中使用钉钉机器人发送消息https://jenkinsci.github.io/dingtalk-plugin/examples/actionCardSingle.html2:pipelinepipeline{ agent any stages { stage('Build') { steps{ ...
2022-03-26 11:29:47
1292
原创 Jenkins - Publish Over SSH
1:安装插件Publish Over SSH | Jenkins pluginhttps://plugins.jenkins.io/publish-over-ssh/2:系统配置配置Jenkins SSH KeyPassphrase:ssh-keygen 使用的密码;Path to key:The path to the Jenkins private key;Key:私钥的内容;ssh-keygen # 默认OPENSSH PRIVATE KEYssh-keyg.
2022-03-25 17:38:22
2723
原创 mongo
登录:mongo -u username -p查看系统用户:use admindb.system.users.find(){ "_id":"admin.admin_api", "userId":"", "user":"admin_api", "db":"admin", "credentials":{ "SCRAM-SHA-1":{ "iterationCount":10000, "sa
2022-03-25 16:57:19
200
原创 postgresql
wget https://ftp.postgresql.org/pub/source/v14.2/postgresql-14.2.tar.gz./configure --prefix=/usr/local/postgresqlmakemake install# 添加用户:postgrescd /usr/local/postgresql/# 数据mkdir datachown -R postgres.postgres data/# 日志touch postgresql.log...
2022-03-04 09:32:45
239
原创 mysql-8.0.28
./my.cnf[mysqld]basedir=/www/server/mysql/mysql8.0datadir=/www/server/mysql/mysql8.0/datasocket=/tmp/mysql8.sockport=3308default_storage_engine = InnoDBuser=mysqldefault_authentication_plugin=mysql_native_password[mysqld_safe]log-error=/www/serv.
2022-03-02 14:19:32
791
原创 JumpServer安装
编译文档 - JumpServer 文档JumpServer 是全球首款开源的堡垒机https://docs.jumpserver.org/zh/v2.19.1/dev/build/架构图:源码部署:
2022-02-26 09:51:58
3043
原创 JumpServer:用户-系统特权用户-资产-授权
创建用户查看用户列表:创建系统用户-特权用户:系统用户>特权用户列表:创建资产:再次查看系统特权用户:创建资产授权:
2022-02-25 18:10:12
1153
原创 Elasticsearch8.0
✅启动 elasticsearch# cd /usr/local/elastic/elasticsearch/# ./bin/elasticsearch =>【nohup ./bin/elasticsearch &】✅curl -X GET --cacert ./certs/http_ca.crt -u elastic:Qtybj-fvXGSZmsBpBtM3 https://localhost:9200/✅ 启动 kibnan# 启动 kibnan...
2022-02-19 10:25:31
1379
原创 H5跳转手机应用商店
<div> <a href="https://apps.apple.com/us/app/%E5%BB%BA%E8%BF%9E%E8%BF%9E/id156225****?uo=4"> <img src="image/bgios.png"> </a></div><div> <a href="market://details?id=com.jll..
2022-01-18 17:12:47
804
原创 腾讯云-即时通讯 IM
https://console.cloud.tencent.com/im-detail 基本配置->账号管理(请进入帐号管理)
2021-12-31 17:09:27
436
原创 快递100
$key = ''; //客户授权key $customer = ''; //查询公司编号 $param = array ( 'com' => 'yunda', //快递公司编码 'num' => '3950055201640', //快递单号 'phone' => '', ...
2021-12-01 15:20:49
1213
原创 CDN域名
添加CDN域名:添加域名DNS服务商配置该TXT记录:点击验证,新增源站信息生成:CNAME记录值,cdn.footstep.w.k**unpi.com添加域名DNS服务商配置该CNAME记录:OK
2021-11-24 18:53:27
2416
原创 TencentCaptcha
腾讯云的验证码控制台前端接入文档:绑定一个元素并手动传入场景Id和回调new TencentCaptcha(element, CaptchaAppId, callback, options);try { new TencentCaptcha( document.getElementById('TencentCaptcha'), 'CaptchaAppId', callback, { bizState: '自定义透传参数' }, // (可选.
2021-09-16 14:52:29
2994
原创 Job 和 Event
JobJob:既可以用作同步,也可以用作异步。如果你想延迟执行一个操作,或者这个过程需要花费一段时间,例如:发送邮件等;Job:用在正在处理的事情(queue):正在注册,正在更新, 正在发布, 批量发放;Job可以不间断的执行,类似脚本。Event事件监听可以允许参与不同的角色。事件监听可以认为是特定事件发生的一个Job,一旦事件创建,监听器就会触发。事件可以理解成“当...”,“就...”。 一个事件可以被多个监听器监听,比如登录后,系统既要发送邮件,又要发送短信,这个...
2021-09-08 18:15:41
257
原创 Swagger
php vendor/zircote/swagger-php/bin/openapi ./app/Http/Controllers --format yaml -o ./apenapi.yamlphp vendor/zircote/swagger-php/bin/openapi ./app/Http/Controllers --format json -o ./apenapi.json
2021-08-21 17:57:18
105
原创 password_hash, password_verify
password_hash() 函数用于创建密码的散列(hash)password_verify() 函数用于验证密码是否和散列值匹配vendor/laravel/framework/src/Illuminate/Hashing/BcryptHasher.php/** * Hash the given value. * * @param string $value * @param array $options * @return string * * @t...
2021-03-04 18:14:41
695
2
原创 mongo
登录:mongo -u username -p查看系统用户:use admindb.system.users.find(){ "_id":"admin.admin_api", "userId":"", "user":"admin_api", "db":"admin", "credentials":{ "SCRAM-SHA-1":{ "iterationCount":10000, "sa
2020-11-06 16:51:34
134
原创 2020-11-06
登录:mongo -u username -p查看系统用户:use admindb.system.users.find(){ "_id":"admin.admin_api", "userId":"", "user":"admin_api", "db":"admin", "credentials":{ "SCRAM-SHA-1":{ "iterationCount":10000, "sa
2020-11-06 16:50:43
100
原创 Elasticsearch-API-DSL
基于索引的ID从索引获取类型化的JSON文档curl -X GET "localhost:9200/user/_doc/1?pretty"Source filtering默认情况下,_source除非使用了stored_fields参数或_source禁用了该字段,否则get操作将返回该字段的内容。您可以_source使用以下_source参数关闭检索curl -X GET "localhost:9200/user/_doc/2?_source=false&pretty"..
2020-09-29 11:27:36
180
原创 laravel
安装:composer create-project --prefer-dist laravel/laravel adminInstalling laravel/laravel (v5.8.35)...Package manifest generated successfully.> @php artisan key:generate --ansiApplication key set successfully.Nginx: 在你的站点配置中加入以下配置,所有的请求将会引
2020-09-25 11:20:28
187
原创 网络安全
SQL注入将SQL语句放置于Form表单或请求参数之中提交到后端服务器,后端服务器如果未做输入安全校验,直接将变量取出进行数据库查询防御手段:对输入进行检测,阻断带有SQL语句特征对输入XSS攻击跨站脚本攻击(Cross Site Scripting)- 将可执行的前端脚本代码(一般为JavaScript)植入到网页中反射型: 攻击脚本直接经服务器转手后返回浏览器触发执行攻击者将JS代码作为请求参数放置URL中,诱导用户点击 用户点击后,该JS作为请求参数传给Web服务器后.
2020-09-18 15:04:24
107
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人