#20
展开↯#21
作者:广西南宁市
文章:OctoberCms学习笔记中文文档翻译 发表时间:2024-11-11, 04:20:10
#23
作者:广西南宁市
文章:程序员编程常用网页工具集[游戏] 发表时间:2024-11-11, 04:59:09
#25
作者:广西
Hot Pearl 就是你想的那种演员
对的,是这一部:https://t.co/UgSzuAMmGb
或者自行黄黑网站搜索The girls staged a lesbian Christmas bacchanalia_1WIN NIGONIKA TOP PORN 2023
文章:linux中ls颜色说明 发表时间:2024-03-22, 23:59:27
#26
作者:广西
【Electron-Vue】使用 el-table 死活不显示的问题
electron-vue中在使用el-table时,死活不显示表格和数据,控制台上显示高度为0,你以为是自己的数据没有绑定上去?但是有又数据,
我们需要把 element-ui 加入到
文件中的白名单里面在这句话
添加element-ui组件修改为
再运行项目,便能够成功构建出el-table表格了 #,广西,2024-03-30,14:55:13, node_modules\node-sass: Command failed报错问题处理
安装指定版本
#,广西,2024-03-30,14:56:19, node-sass: Command failed.
electron-packager electron-builder #,广西,2024-03-30,14:59:36, #,广西,2024-03-30,15:00:55, Electron-vue控制台报错http://localhost:9080/__webpack_hmr 404 (Not Found)
解决方案
.electron-vue/dev-runner.js 文件
// hot: true,
第80行
app.use(hotMiddleware) //解除注释
electron-vue中在使用el-table时,死活不显示表格和数据,控制台上显示高度为0,你以为是自己的数据没有绑定上去?但是有又数据,
我们需要把 element-ui 加入到
.electron-vue/webpack.renderer.config.js
Run code
Cut to clipboard
文件中的白名单里面在这句话
let whiteListedModules = ['vue']
Run code
Cut to clipboard
添加element-ui组件修改为
let whiteListedModules = ['vue', 'element-ui']
Run code
Cut to clipboard
再运行项目,便能够成功构建出el-table表格了
nvm install v14.18.3
Run code
Cut to clipboard
附nvm部分命令:
nvm install v14.18.3 安装指定版本(以14.18.3为例)
nvm install latest 可选参数arch指定安装32位还是64位版本,默认是系统位数。可以添加--insecure绕过远程服务器的SSL
nvm list 查看已有版本(也可简写成 nvm ls)
nvm use v14.18.3 切换到指定版本(以14.18.3为例)
nvm uninstall 14.18.3 卸载指定版本(以14.18.3为例)
nvm on 开启node.js版本管理
nvm off 关闭node.js版本管理
nvm proxy [url] 设置下载代理。不加可选参数url,显示当前代理。将url设置为none则移除代理
nvm node_mirror [url] 设置node镜像。默认是https://nodejs.org/dist/。如果不写url,则使用默认url。设置后可至安装目录settings.txt文件查看,也可直接在该文件操作
nvm npm_mirror [url] 设置npm镜像。https://github.com/npm/cli/archive/。如果不写url,则使用默认url。设置后可至安装目录settings.txt文件查看,也可直接在该文件操作
nvm root [path] 设置存储不同版本node的目录。如果未设置,默认使用当前目录
Run code
Cut to clipboard
electron-packager electron-builder
::v-deep(vue2)
:deep(<inner-selector>) (vue3)
[@vue/compiler-sfc] ::v-deep usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead.
原因:
::v-deep(vue2)
:deep(<inner-selector>) (vue3)
解决:
::v-deep(vue2)
:deep(<inner-selector>) (vue3)
例子:
// ::v-deep .custom-autocomplete .el-input--large .el-input__inner {
// width: 270px;
// }
:deep(.custom-autocomplete .el-input--large .el-input__inner) {
width: 270px !important;
}
Run code
Cut to clipboard
解决方案
.electron-vue/dev-runner.js 文件
// hot: true,
第80行
app.use(hotMiddleware) //解除注释
文章:linux中ls颜色说明 发表时间:2024-03-30, 14:53:30
#27
作者:广西南宁市
创建一个新的Systemd服务单元文件
启用你的新服务
启动服务
退出 nano 文本编辑器
按下 Ctrl 键和字母键,同时按下 X 键。这会触发 nano 的退出命令。
如果你对文件所做的更改没有保存,nano 会询问你是否要保存更改。如果你希望保存更改,按下 Y 键,然后按下 Enter 键。如果不想保存更改,按下 N 键,然后按下 Enter 键。
如果你保存了更改,nano 会要求你确认文件名。按下 Enter 键以接受当前文件名,或者输入一个新文件名并按下 Enter 键以另存为新文件。
如果你没有对文件做任何更改或者在第2步中选择了不保存更改,nano 将立即退出。
这些步骤将帮助你在 nano 中退出并根据需要保存或者不保存更改。 #,广西南宁市,2023-10-28,19:29:22, #,广西南宁市,2023-10-30,00:08:39, #,广西,2024-03-11,03:13:22, Linux开机启动脚本
reboot_server.sh
CPU监测重启
cpu_c.sh
/etc/rc.d/rc.local
注意设置文件可执行
sudo nano /etc/systemd/system/my_custom_service.service
Run code
Cut to clipboard
[Unit]
Description=My Custom Service
After=network.target
[Service]
ExecStart=/bin/bash -c "php /www/wwwroot/110.com/wk.php start -d && /home/tuners/ZLMediaKit/release/linux/Debug/MediaServer -d"
WorkingDirectory=/www/
Restart=no
User=root
[Install]
WantedBy=multi-user.target
Run code
Cut to clipboard
启用你的新服务
sudo systemctl enable my_custom_service
Run code
Cut to clipboard
启动服务
sudo systemctl start my_custom_service
Run code
Cut to clipboard
退出 nano 文本编辑器
按下 Ctrl 键和字母键,同时按下 X 键。这会触发 nano 的退出命令。
如果你对文件所做的更改没有保存,nano 会询问你是否要保存更改。如果你希望保存更改,按下 Y 键,然后按下 Enter 键。如果不想保存更改,按下 N 键,然后按下 Enter 键。
如果你保存了更改,nano 会要求你确认文件名。按下 Enter 键以接受当前文件名,或者输入一个新文件名并按下 Enter 键以另存为新文件。
如果你没有对文件做任何更改或者在第2步中选择了不保存更改,nano 将立即退出。
这些步骤将帮助你在 nano 中退出并根据需要保存或者不保存更改。
chmod 4755 /home/www/reboot_server.sh
#!/bin/bash
# 检查PHP进程是否在运行
while true; do
if ps aux | grep -q "[p]hp"; then
#echo "PHP已启动"
sleep 1
break
else
#echo "等待PHP启动..."
sleep 15
fi
done
sleep 65
php /www/wwwroot/110.com/wk.php start -d
/home/tuners/ZLMediaKit/release/linux/Debug/MediaServer -d &
Run code
Cut to clipboard
以下文件存在sid特权,chmod u-s或g-s去除sid位:"、、、、、、、"
解决方案:1、使用chmod u-s/g-s 【文件名】命令修改文件的权限
chmod u-s /usr/bin/chage
chmod u-s /usr/bin/gpasswd
chmod u-s /usr/bin/chfn
chmod u-s /usr/bin/chsh
chmod u-s /usr/bin/newgrp
chmod u-s /usr/bin/write
chmod u-s /bin/mount
chmod u-s /bin/umount
chmod g-s /usr/bin/write
Run code
Cut to clipboard
reboot_server.sh
#!/bin/bash
sleep 1
while true; do
if ps aux | grep -q "[n]ginx"; then
#echo "nginx已启动"
sleep 1
break
else
sudo service nginx restart
#echo "等待nginx启动..."
sleep 5
fi
done
# 检查PHP进程是否在运行
while true; do
if ps aux | grep -q "[p]hp"; then
#echo "PHP已启动"
sleep 1
break
else
#echo "等待PHP启动..."
sleep 5
fi
done
sleep 1
#sleep 65
php /***om/**t.php start -d &
sleep 1
php /***om/**t.php start -d &
sleep 1
php /***om/**t.php start -d &
Run code
Cut to clipboard
CPU监测重启
cpu_c.sh
#!/bin/bash
#初始化计时器和CPU使用率计数器
timer=0
timer_sleep=19
#high_cpu_count=0
threshold=98 #CPU使用率
duration=600 #五分钟,单位为秒
while true; do
#使用top命令获取CPU使用率
cpu_usage=$(top -bn1 | grep "Cpu(s)" | awk '{print $2 + $4}' | awk -F'.' '{print $1}')
#检查CPU使用率是否超过阈值 gt:表示大于>
if [ $cpu_usage -gt $threshold ]; then
#((timer++))
#重置计时器
((timer=timer+timer_sleep))
else
#如果CPU使用率没有超过阈值,增加计时器
#((timer++))
timer=0
#重置CPU使用率计数器
#high_cpu_count=0
fi
#echo $cpu_usage
#echo $timer
#如果计时器达到五分钟并且CPU使用率计数器大于0,执行重启
if [ $timer -gt $duration ]; then
#echo "CPU usage has been high for 5 minutes. Restarting the system..."
sudo reboot #需要sudo权限
exit 0 #重启后退出脚本
fi
#休眠一段时间再次检查
sleep $timer_sleep
done
Run code
Cut to clipboard
/etc/rc.d/rc.local
注意设置文件可执行
#!/bin/bash
# THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES
#
# It is highly advisable to create own systemd services or udev rules
# to run scripts during boot instead of using this file.
#
# In contrast to previous versions due to parallel execution during boot
# this script will NOT be run after all other services.
#
# Please note that you must run 'chmod +x /etc/rc.d/rc.local' to ensure
# 注意设置文件可执行
# that this script will be executed during boot.
touch /var/lock/subsys/local
/***/reboot_server.sh
/***/www/cpu_c.sh
Run code
Cut to clipboard
文章:Linux下的SVN服务器搭建 发表时间:2023-10-28, 19:28:57
#28
作者:广西
gt、ge、lt、le、eq、ne的含义'
gt:表示大于>。即greater than
ge:表示大于等于>=。即greater than or equals to
lt:表示小于<。即less than
le:表示小于等于<=。即less than or equals to
eq:表示等于=。即equals
ne:表示不等于!=。即not equals
gt:表示大于>。即greater than
ge:表示大于等于>=。即greater than or equals to
lt:表示小于<。即less than
le:表示小于等于<=。即less than or equals to
eq:表示等于=。即equals
ne:表示不等于!=。即not equals
文章:Linux下的SVN服务器搭建 发表时间:2024-03-11, 03:08:11
#29
作者:广西南宁市
Sourcetree回滚到某个版本
使用sourcetree实现git回滚到上一个提交的版本
1、右键点击需要回滚到的提交记录,选择“重置当前分支到此次提交”
强制覆盖
2、git命令:git push -f
3、关闭sourcetree,重新打开就看到已经回滚完成
#,广西,2024-02-02,15:44:37, hongkongdoll #,广西,2024-02-02,16:12:19, Darth Plagueis the wise #,广西南宁市,2024-02-29,16:43:12, 随机图片 #,广西南宁市,2024-02-29,16:50:31, 藤原拓海来了:新村あかり,moon-020,2月新片,图书馆评分8.2 #,广西南宁市,2024-02-29,16:56:26, 《独自等待》差不多是我记忆中最好的青春电影。夏雨在北京川流不息的大街上骑着自行车,一脸的阳光和自信,背景音乐是新裤子《年轻的习惯》。最后一个镜头居然还有周润发。“火车开走了还会再开回来的。哎你说,咱俩怎么就从来没好过呢?” #,广西南宁市,2024-02-29,17:02:31, 我去广州玩的时候鉴赏过黑妹,个人感觉非常带劲,挺瘦的小黑妹,手臂大腿跟背部肌肉摸上去扎实得很,真的是腿玩年,引道的收缩力度比很多括约肌都猛,还不是那种集中一小环的压缩,而是从头到根部的吸吮,我甚至求她slow down slow dowm,不然她全力施展,绝对秒射
使用sourcetree实现git回滚到上一个提交的版本
1、右键点击需要回滚到的提交记录,选择“重置当前分支到此次提交”
强制覆盖
2、git命令:git push -f
3、关闭sourcetree,重新打开就看到已经回滚完成
文章:gitee代码通过宝塔自动同步到服务器 发表时间:2023-12-27, 23:15:20
#30
作者:广西南宁市西乡塘区
这五个系列非常多人拍,但是个人认为最好看的还是筱田优和其他两位老师一起拍的那部,宅男同时召唤出了三个魅魔。去年初还流出了无码版本,观赏性较强
SDDE-625?
STARS-157
#,广西,2023-12-27,02:07:34, https://tktube.com/categories/7c26fad3901898582e98669f503d20de/
佘贝拉bella&夏西CiCi b32ed5b7e4f644ce5fc4baed87ddb85f20ef3f08 #,广西,2023-12-27,02:08:38, GANA-2226 椚ゆあ
SDDE-625?
STARS-157
佘贝拉bella&夏西CiCi b32ed5b7e4f644ce5fc4baed87ddb85f20ef3f08
文章:Call to undefined function mysql_connect() 发表时间:2023-11-23, 16:33:45
#32
作者:广西南宁市
http://www.gxwyly.com/aadb/kw0cmepa.html
ABP-107 It Has Me Come In Immediately Saddle Candid Fujii Aisha! ! ABP107
ABP-107 藤井あいさを即ハメドッキリでイカせちゃいます!!
単体作品, 即ハメ, イタズラ
Fujii Aisa – 藤井あいさ
ABP-107
2014-02-21120 Min.
abp-159
새폴더2 (2015)
常年霸占missav的总浏览量第一位
https://javdb.com/v/neB8vm
https://huaduys.com/voddetail/2168.html
https://noodlemagazine.com/watch/-217335816_456245015
https://mustjav.com/index.php/vod/play/id/332775/sid/1/nid/1.html
https://sis001.com/forum/redirect.php?fid=58&tid=11655103&goto=nextoldset&styleid=24
https://yirenav.lol/index.php/vod/play/id/212886/sid/1/nid/1.html
https://v6av.com/e/action/ListInfo/?classid=2
https://www.movieffm.net/chinese-subtitles/rctd-526/
https://avhd101.com/adultonly?refer=https%3A%2F%2Favhd101.com%2Fsearch%3Fft%3D4%26q%3DRCTD%2520526%26s%3D
https://javgg.net/jav/rctd-526/
https://avgo.tv/video/0/263852
https://www.18sex.org/cn/av/113348.html
https://leakeystar.com/vodplay/59467.shtml
https://www.eporner.com/video-zLyn1mU0bKV/rctd-526/
https://javpapa.com/187435/%E4%B8%AD%E6%96%87%E5%AD%97%E5%B9%95-rctd-526-%E5%81%87%E8%A3%9D%E6%98%AF%E5%85%85%E6%B0%A3%E5%A8%83%E5%A8%83%E7%9A%84%E5%A5%B3%E5%A7%93%EF%BD%9E%E8%8A%AD%E8%95%BE%E5%A8%83%E5%A8%83%EF%BD%9E/
https://0cili.net/!hohw
https://avday.tv/search?c=long&q=RCTD-526
https://arcjav.com/rctd-526/
https://www.eyny.com/tag/RCTD-526
https://www.jpvhub.com/cn/b3dxn7yqo6/jav/%E4%B8%AD%E6%96%87%E5%AD%97%E5%B9%95/%5B%E4%B8%AD%E6%96%87%E5%AD%97%E5%B9%95%5D-rctd-526-%E3%83%A9%E3%83%96%E3%83%89%E3%83%BC%E3%83%AB%E3%81%AE%E3%83%95%E3%83%AA%E3%82%92%E3%81%99%E3%82%8B%E5%A5%B3%EF%BD%9E%E3%83%90%E3%83%AC%E3%83%89%E3%83%BC%E3%83%AB%EF%BD%9E-%E5%B7%A5%E8%97%A4%E3%83%A9%E3%83%A9
https://www.airav.wiki/video/RCTD-526
https://www4.bestjavporn.com/video/rctd-526-decensored/
https://www5.javxxx.me/zh/movie/rctd-526c/
https://javtiful.com/video/32663/rctd-526
https://www5.javmost.com/RCTD-526/
https://tktube.com/videos/190422/rctd-526c/
https://pornxx.cc/vod/play/id/50943/sid/1/nid/1.html
https://www2.javdock.com/zh/video/rctd-526c/
https://cn.xsz-av.com/video/120443/rctd-526-%E3%83%A9%E3%83%96%E3%83%89%E3%83%BC%E3%83%AB%E3%81%AE%E3%83%95%E3%83%AA%E3%82%92%E3%81%99%E3%82%8B%E5%A5%B3-%E3%83%90%E3%83%AC%E3%83%89%E3%83%BC%E3%83%AB-%E5%B7%A5%E8%97%A4%E3%83%A9%E3%83%A9-%E5%A3%8A%E3%81%97%E3%81%A6%E3%81%97%E3%81%BE%E3%81%A3%E3%81%9F%E3%83%A9%E3%83%96%E3%83%89%E3%83%BC%E3%83%AB%E3%81%AE%E3%83%95%E3%83%AA%E3%82%92%E3%81%99%E3%82%8B%E5%B9%BC%E9%A6%B4%E6%9F%93%E3%81%BF
https://njav.tv/zh/v/rctd-526
https://javday.tv/videos/RCTD526/
https://seajav.com/search/tag/RCTD-526.html
https://www4.javhdporn.net/video/rctd-526c/
https://jable.tv/s0/videos/rctd-526/?lang=zh
http://www.avlangb.com/read-htm-tid-4523794-ordertype-desc.html
1067e0f454e3175e81e0da3c4c5cf77faee7703e
https://www.gy33.xyz/index.php/vodtype/23.html
https://thisav.com/
https://www.xnxx.com/video-vtuola3/natalie_wants_to_make_him_cum
https://www.xvideos.com/tags/5kporn
https://xhamster.com/channels/5kporn
https://www.xnxx.com/search/5kporn
https://spankbang.com/s/5kporn/
文章:Call to undefined function mysql_connect() 发表时间:2023-09-14, 18:10:18
#33
作者:广西南宁市
宝塔Call to undefined function mcrypt_module_open()
宝塔面板安装第三方 PHP 扩展 libsodium sodium
php sodium.so
宝塔多个版本PHP切换默认PHP版本
切换命令
#,广西南宁市,2023-09-15,00:46:28, Laravel项目提示:The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.错误的解决办法
Laravel 报错:”RuntimeException inEncrypter.php line 43: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.”是因为没有有效的APP_KEY。
#,广西南宁市,2023-09-15,00:47:18, laravel 性能,把配置加载到缓存中,可以极大提升性能, #,广西南宁市,2023-09-15,00:47:38, The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct
Please provide a valid cache path. #,广西南宁市,2023-09-15,00:48:28, laravel报错Please provide a valid cache path的解决方法
Please provide a valid cache path.
是因为laravel的缓存路径没有找到,
laravel的缓存文件路径是在 config/cache.php中设置的,
默认存放在storage文件夹中。
解决方法是:
确保storage目录下有app,framework,views三个目录并有读写权限
确保storage/framework目录下有cache,sessions,views三个目录并有读写权限
如果缺少以上目录,手动创建出来即可。
#,广西南宁市,2023-09-15,04:59:33,
重新生成
清除缓存
记得缓存回来
#,广西南宁市,2023-09-15,05:00:43, 非常简单,将APP_KEY从.env文件复制到config/app.php -> key或运行以下命令:
php artisan key:generate
The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct #,广西南宁市,2023-10-08,16:16:16,
宝塔面板安装第三方 PHP 扩展 libsodium sodium
php sodium.so
宝塔多个版本PHP切换默认PHP版本
切换命令
php -v
Run code
Cut to clipboard
ln -sf /www/server/php/72/bin/php /usr/bin/php
Run code
Cut to clipboard
Laravel 报错:”RuntimeException inEncrypter.php line 43: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.”是因为没有有效的APP_KEY。
php artisan key:generate
Run code
Cut to clipboard
打开.env配置文件会发现APP_KEY处已经生成了一个新的APP_KEY,如果没有,把运行命令生成的key值复制粘贴到文件中保存即可。
Run code
Cut to clipboard
Please provide a valid cache path.
Please provide a valid cache path.
是因为laravel的缓存路径没有找到,
laravel的缓存文件路径是在 config/cache.php中设置的,
默认存放在storage文件夹中。
解决方法是:
确保storage目录下有app,framework,views三个目录并有读写权限
确保storage/framework目录下有cache,sessions,views三个目录并有读写权限
如果缺少以上目录,手动创建出来即可。
重新生成
php artisan key:generate
Run code
Cut to clipboard
清除缓存
php artisan config:clear
Run code
Cut to clipboard
记得缓存回来
php artisan config:cache
Run code
Cut to clipboard
php artisan key:generate
The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct
文章:微信(小程序)mcrypt_module_open() 无法使用 发表时间:2023-09-15, 00:45:06
#34
展开↯#35
作者:广西
微信退款:订单金额或退款金额与之前请求不一致,请核实后再试
精度问题,php 浮点型运算丢失精度,float转换为int类型后导致最后一位数值对不上,
所以需要intval(strval()) 转换金额数值
$refund_fee3 = 225798是真的神奇
用这个就可以了
#,广西南宁市,2023-09-14,11:34:55,
精度问题,php 浮点型运算丢失精度,float转换为int类型后导致最后一位数值对不上,
所以需要intval(strval()) 转换金额数值
*100 和intval(strval())处理后的数值再int就有区别了
$refund_fee = 2257.99;
$refund_fee0 = $refund_fee*100;
$refund_fee2 = intval(strval($refund_fee*100)); //转为分
$refund_fee3 = (int)$refund_fee0;
$refund_fee4 = (int)$refund_fee2;
float(225799)
int(225799)
string(2) "3:" int(225798)
string(2) "4:" int(225799)
Run code
Cut to clipboard
$refund_fee3 = 225798是真的神奇
intval(strval($refund_fee*100));
Run code
Cut to clipboard
用这个就可以了
文章:启动停止等命令 发表时间:2023-09-11, 14:47:24
#36
作者:广西南宁市
轮询后台定时任务
宝塔》定时任务》脚本》直接复制粘贴》运行即可,
#,广西,2023-09-10,22:12:51, Alexis Fawx
宝塔》定时任务》脚本》直接复制粘贴》运行即可,
#!/bin/bash
step=1 #间隔的秒数,不能大于60
for (( i = 0; i < 60; i=(i+step) )); do
curl http://lizhenqiu.com #调用链接
sleep $step
done
exit 0
Run code
Cut to clipboard
文章:启动停止等命令 发表时间:2023-09-02, 17:17:23
#37
作者:广西南宁市
认证验证伪静态
rewrite ^(.*)/app/v3/verify/backflow$ $1/app/v3/verify/backflow/index.php?$2 last; #,广西南宁市,2023-09-02,17:01:39, #,广西南宁市,2023-09-02,17:02:51, 清除仓库大文件
#,广西南宁市,2023-09-02,17:04:12, #,广西南宁市,2023-09-02,17:05:18, mysql日志恢复
#,广西南宁市,2023-09-02,17:05:48,
rewrite ^(.*)/app/v3/verify/backflow$ $1/app/v3/verify/backflow/index.php?$2 last;
cd ZLMediaKit/release/linux/Debug
#通过-h可以了解启动参数
./MediaServer -h
#以守护进程模式启动
./MediaServer -d &
killall -2 MediaServer
Run code
Cut to clipboard
git repo-clean --verbose --scan --type=exe --number=10 --delete
rewrite ^(.*)/app/v3/verify/backflow$ $1/app/v3/verify/backflow/index.php?$2 last;
Run code
Cut to clipboard
systemctl restart smb.service ##重启Samba服务
Run code
Cut to clipboard
./my2sql -user root -password 7PCLsghYqKVbtMs -host 127.0.0.1 -port 3307 -mode file -local-binlog-file ./mysqlbin/mysql-bin.002380 -work-type rollback -start-file mysqlbin/mysql-bin.002380 -start-datetime "2020-07-16 10:20:00" -stop-datetime "2023-08-16 11:00:00" -output-dir ./tmpdir
./my2sql -user root -password 7PCLsghYqKVbtMs -host 127.0.0.1 -port 3307 -mode file -local-binlog-file ./mysqlbin/mysql-bin.002381 -work-type 2sql -start-file ./mysqlbin/mysql-bin.002381 -start-datetime "2020-07-16 10:20:00" -stop-datetime "2023-08-16 11:00:00" -output-dir ./tmpdir
mysqlbinlog --base64-output=decode-rows -v mysql-bin.002382 --result-file=mysql-bin-sql-002382.sql
Run code
Cut to clipboard
mysqlbinlog --base64-output=decode-rows -v mysql-bin.002375 --result-file=mysql-bin-sql-002375.sql
Run code
Cut to clipboard
文章:启动停止等命令 发表时间:2023-09-02, 17:01:03
#38
作者:广西南宁市
electron-builder打包配置
electron-builder打包配置说明 https://www.cnblogs.com/xi12/p/16513755.html
electron打包vue项目 https://www.cnblogs.com/xi12/p/15946522.html
module.exports = {
//判断开发模式还是生产模式
publicPath: process.env.NODE_ENV === 'production' ? './' : '/',
//插件配置
pluginOptions: {
//electronBuilder配置
electronBuilder: {
builderOptions: {
'productName': 'all electron',//生成exe的名字
"appId": "com.xi.www",//包名
"copyright": "xi",//版权信息
"directories": { // 输出文件夹
"output": "electron_output",
},
"nsis": {
"oneClick": false, // 是否一键安装
"allowElevation": true, // 允许请求提升。若为false,则用户必须使用提升的权限重新启动安装程序。
"allowToChangeInstallationDirectory": true, //是否允许修改安装目录
"installerIcon": "./build/icons/icon.ico",// 安装时图标
"uninstallerIcon": "./build/icons/icon.ico",//卸载时图标
"installerHeaderIcon": "./build/icons/icon.ico", // 安装时头部图标
"createDesktopShortcut": true, // 是否创建桌面图标
"createStartMenuShortcut": true,// 是否创建开始菜单图标
"shortcutName": "all-electron", // 快捷方式名称
"runAfterFinish": false,//是否安装完成后运行
},
"win": {
"icon": "build/icons/icon.ico",//图标路径
"target": [
{
"target": "nsis", //利用nsis制作安装程序
"arch": [
"x64", //64位
// "ia32" //32位
]
}
]
}
}
}
}
}
Run code
Cut to clipboard
electron-builder打包配置说明 https://www.cnblogs.com/xi12/p/16513755.html
electron打包vue项目 https://www.cnblogs.com/xi12/p/15946522.html
文章:vite+ vue3(现有项目或者新项目)+electron打包教程,以及electron代码热重载页面 发表时间:2023-08-03, 18:39:14
CSS特效——背景色彩不停流动效果
<div class="gradient-flow"></div> <style> .gradient-flow { width: 50vw; height: 50vh; background-size: 200% 200%; /* 背景图大小 */ background-image: linear-gradient(135deg, #ff7c7c, #ffeb3b, #26c6da, #7e57c2); animation: flow 10s ease infinite; } @keyframes flow { 0% { background-position: 0% 50%; } 25% { background-position: 100% 50%; } 50% { background-position: 100% 0%; } 75% { background-position: 0% 0%; } 100% { background-position: 0% 50%; } } /*为了确保动画效果在不同的设备上都能良好展示,我们需要考虑响应式设计。*/ @media (max-width: 768px) { .gradient-flow { background-size: 300% 300%; animation-duration: 7s; } } /*为了进一步增强视觉冲击力,可以将背景色流动效果与其他CSS效果结合起来,例如加入阴影或透明度变化。*/ .gradient-flow { box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5); transition: box-shadow 0.5s ease-in-out; } .gradient-flow:hover { box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8); } </style> <!--添加交互性 通过JavaScript,我们可以为背景色流动效果增加一些交互性,例如根据鼠标移动位置改变背景颜色流动的方向。--> <script> const gradientFlow = document.querySelector('.gradient-flow'); gradientFlow.addEventListener('mousemove', function(e) { const x = e.clientX / window.innerWidth * 100; const y = e.clientY / window.innerHeight * 100; this.style.backgroundPosition = `${x}% ${y}%`; }); </script>