会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
hheedat
博客园
首页
新随笔
联系
订阅
管理
2021年8月7日
Windows PowerShell 中查找文件
摘要: 参考文档 :https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-childitem?view=powershell-7.1 从一个路径中查找 Get-ChildItem -Pat
阅读全文
posted @ 2021-08-07 17:31 hheedat
阅读(2707)
评论(0)
推荐(1)
2018年8月29日
本地搭建一个MongoDB副本集
摘要: mkdir -p /data/mongo/27017 /data/mongo/27018 /data/mongo/27019 mkdir -p /var/log/mongodb sudo mongod --replSet rs-local-test --dbpath /data/mongo/27017 --port 27017 --logpath /var/log/mongodb/27017....
阅读全文
posted @ 2018-08-29 22:20 hheedat
阅读(431)
评论(0)
推荐(0)
2018年3月24日
MongoDB | MySQL 把复合索引合并到单列有意义吗?
摘要: 讨论在此 https://www.v2ex.com/t/416419
阅读全文
posted @ 2018-03-24 00:46 hheedat
阅读(305)
评论(0)
推荐(0)
Golang 实现 Trie 例子
摘要: 练习写写:https://github.com/hheedat/go_code/blob/master/45_trie.go 爬虫和转载均不用注明出处
阅读全文
posted @ 2018-03-24 00:35 hheedat
阅读(735)
评论(0)
推荐(0)
2017年10月15日
一行 Shell 通过 Nginx access 日志实时统计单台机器QPS
摘要: # 实时统计 ## 方式一 tail -f access.log | awk -F '[' '{print $2}' | awk 'BEGIN{key="";count=0}{if(key==$1){count++}else{printf("%s\t%d\r\n", key, count);coun
阅读全文
posted @ 2017-10-15 00:11 hheedat
阅读(2124)
评论(1)
推荐(0)
2017年2月7日
PHP实现大数相加、大数相乘练习
摘要: 最基本的模拟竖式的计算方法,供参考 https://github.com/hheedat/php_code/blob/master/61_multiply_two_large_numbers.php
阅读全文
posted @ 2017-02-07 01:06 hheedat
阅读(2789)
评论(0)
推荐(0)
2016年7月30日
用PHP实现单向链表
摘要: 供参考,代码还可继续打磨 同时放在了我的github上:https://github.com/hheedat/php_code/blob/master/58_linked_list.php 预期的输出是: linked list length is 10 index is : 0 value is
阅读全文
posted @ 2016-07-30 00:45 hheedat
阅读(1054)
评论(0)
推荐(0)
2016年3月24日
MySQL事务隔离级别初探
摘要: MySQL有四种隔离级别,分别是: READ UNCOMMITTED(未提交读) READ COMMITTED(提交读) REPEATABLE READ (可重复读) SERIALIZABLE(可串行化) 下面会分别用一些例子来解释各种隔离级别,在开始之前,首先要了解一些前提知识: AUTOCOMM
阅读全文
posted @ 2016-03-24 01:54 hheedat
阅读(307)
评论(0)
推荐(0)
公告