摘要: 一些很古老的项目里使用了memcache作为缓存组件,这些组件基本都是来源于自研环境没有上云,存在很多难以解决的问题。导致无法管理,更没有跨AZ的特性 没有控制面进行管理 不支持扩容、跨AZ部署 连接错误、连接超时频发有些项目后来改用了云上Redis作为缓存组件,但是memcached在并行运行,新 阅读全文
posted @ 2023-08-31 16:07 流火行者 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 1 function BubbleSort(&$arr){ 2 for($i=0;$i<count($arr);$i++){ 3 for($j=$i+1;$j<count($arr);$j++){ 4 if($arr[$i]<$arr[$j]){ 5 $temp=$arr[$i]; 6 $arr[$ 阅读全文
posted @ 2017-04-05 15:51 流火行者 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 支付宝首页搜“510992378”查看留言😝 原文地址: http://www.cnblogs.com/JimmyBright/p/4355862.html 背景:游戏辅助功能通常使用按键精灵编写脚本,按键精灵的最大卖点就是能够找到画面中字,图,色,这对于模拟用户鼠标操作至关重要,这能找到道具,找 阅读全文
posted @ 2015-03-21 19:24 流火行者 阅读(23950) 评论(17) 推荐(11) 编辑
摘要: 1.生成git的对称密钥对 ssh-keygen -t rsa -C "xxx@gamil.com"~/.ssh 下生成的文件为:githubgithub.pub 2.配置密钥 将github.pub公钥配置到github https://github.com/settings/keys3.配置本地 阅读全文
posted @ 2022-04-26 22:51 流火行者 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 苹果电脑下安装beego框架的bee工具,按照github上的文档操作无法成功 bee的源码地址: https://github.com/beego/bee/tree/master 步骤1: 安装最新版本go: https://golang.google.cn/dl/ 安装完成后会自动添加环境变量 阅读全文
posted @ 2022-03-14 17:43 流火行者 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 系统需要添加user_00这个用户 直接使用useradd user_00 但是后来发现这个用户需要放在users和guests这两个用户组下 于是需要修改user_00这个用户组 1:修改user_00所在用户组,使用useradd user_00这个命令会默认添加一个user_00用户组 >>u 阅读全文
posted @ 2022-03-11 17:06 流火行者 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 进入profile.d目录 >>cd /etc/profile.d 新建test.sh文件 >>touch test.sh #!/bin/bash echo "世界顶级,供不应求!新疆棉花中国自己还不够用" echo " " echo "一本“清廉簿”,百年好作风" export HELLO=wor 阅读全文
posted @ 2021-03-28 22:17 流火行者 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 方法1: 进入目录: /etc/profile.d 看到里面有很多sh文件 256term.csh 256term.sh colorgrep.csh colorgrep.sh colorls.csh colorls.sh cvs.csh cvs.sh lang.csh lang.sh less.cs 阅读全文
posted @ 2020-11-17 10:33 流火行者 阅读(761) 评论(0) 推荐(0) 编辑
摘要: pecl install zip 安装成功后 执行php -v报错 PHP Warning: PHP Startup: Unable to load dynamic library 'zip.so' (tried: /usr/local/services/php-7.4.10/lib/php/ext 阅读全文
posted @ 2020-10-14 13:13 流火行者 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 自动换行: word-wrap:break-word; word-break:break-all; overflow: hidden; 多余的文字用省略号: overflow: hidden; text-overflow: ellipsis; white-space: nowrap; overflo 阅读全文
posted @ 2019-06-15 18:44 流火行者 阅读(3940) 评论(0) 推荐(0) 编辑
摘要: curl ifconfig.me或 curl cip.cc 阅读全文
posted @ 2019-04-01 17:16 流火行者 阅读(959) 评论(0) 推荐(0) 编辑
摘要: 使用git pull拉取代码的时候,无法拉取最新代码,报"unable to update local ref"错误。 除了重新clone一份代码外,还可以使用如下解决方案: 1、切换到之前clone代码目录下,执行命令git gc --prune=now 2、再执行命令git remote pru 阅读全文
posted @ 2019-04-01 10:57 流火行者 阅读(1819) 评论(0) 推荐(0) 编辑