十进制小数转化为二进制小数 一、二进制数转换成十进制数 由二进制数转换成十进制数的基本做法是,把二进制数首先写成加权系数展开式,然后按十进制加法规则求和。这种做法称为"按权相加"法。 & 二进制 8年前 4737 浏览
github无密码登录设置 每次push pull 都需要输入git密码,原因是使用了https方式 push在terminal里边 输入 git remote -v ,可以看到形如一下的返回结果:origin https://[email protected] git 9年前 4736 浏览
集群监控:Elasticsearch 5.4 Head安装 安装文档: https://github.com/mobz/elasticsearch-headhead 插件,需要 nodejs 启动,需要先装 node elk、elasticsearch-head 8年前 4730 浏览
MySQL运行状态show status详解 要查看MySQL运行状态,要优化MySQL运行效率都少不了要运行show status查看各种状态,下面是参考官方文档及网上资料整理出来的中文详细解释,不管你是初学mysql还是你是mysql专业级的dba,这都是值得看的.状态名作用域详细解释Aborted_client mysql、status 9年前 4727 浏览
What are the differences between Apache Kafka and RabbitMQ? (Updated May 2017 - it’s been 4.5 years!)Kafka is a general purpose message broker, like RabbItMQ, with similar distributed deployment goals kafka、rabbitmq 8年前 4705 浏览
Redis config 漏洞修复 使用redis默认使用root账号启动,如果主机没有放在内网,限制ip访问会导致,安全漏洞:目前主要是redis config set问题,可以使用如下三种方案解决,优先级从低到高。1、临时解决方案:去掉config命令,修改redis.conf,增加如下 redis、php、config 9年前 4705 浏览
Glogrotate: glog日志切割与清理工具 项目地址github.com/cleey/glogrotate简介Glogrotate (glog rotate) 是 Go 语言编写的 glog、glog clean、golang 5年前 4697 浏览
mysql 忘记密码 修改mysql 配置文件vim /etc/my.cnf # 追加 skip-grant-tables [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock skip-nam mysql 9年前 4693 浏览
sublime注释--DocBlockr 想让sublime支持这样的注释,phper的福利: /** * [cc_get_desc description] * @param [type] $module * @param [type] sublime、注释、DocBlockr 11年前 4659 浏览
CentOS7.9 使用 Yum 安装 MySQL8.0 1、yum仓库下载MySQL: yum localinstall https://repo.mysql.com/ centos7、mysql8、yum 3年前 4641 浏览
Squid安装与使用--设置代理服务器 Squid是一个缓存internet数据的一个软件,它接收用户的下载申请,并自动处理所下载的数据。也就是说,当一个用户象要下载一个主页时,它向Squid发出一个申请,要Squid替它下载,然后Squid连接所申请网站并请求该主页,接着把该主页传给用户同时保留一个备份,当别的用户申请同样的页面时,Sq squid配置、squid安装、squid下载 11年前 4583 浏览
elasticsearch 扩展安装 及 head 1、elasticsearch-head是一个elasticsearch的集群管理工具:./elasticsearch-1.7.1/bin/plugin -install mobz/elasticsearch-headcd elastic elasticsearch、elasticsearch-head 8年前 4567 浏览
wordpress修改侧边栏sidebar wordpress的侧边栏钩子; 将下面的代码追加到你的function.php后面: 可以完成侧边栏的修改: function testname{ register_widget( 'Twenty_El php、wordpress、sidebar 11年前 4559 浏览
关于神牛Cleey的笑话,非程序员误入 1. During his own Google interview, Cleey Dean was asked the implications if P=NP were true. He said, "P = 0 or N = 1." Then, before &n 9年前 4544 浏览