摘要: 参考文档 :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 阅读(2062) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(425) 评论(0) 推荐(0) 编辑
摘要: 讨论在此 https://www.v2ex.com/t/416419 阅读全文
posted @ 2018-03-24 00:46 hheedat 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 练习写写:https://github.com/hheedat/go_code/blob/master/45_trie.go 爬虫和转载均不用注明出处 阅读全文
posted @ 2018-03-24 00:35 hheedat 阅读(726) 评论(0) 推荐(0) 编辑
摘要: # 实时统计 ## 方式一 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 阅读(2075) 评论(1) 推荐(0) 编辑
摘要: 最基本的模拟竖式的计算方法,供参考 https://github.com/hheedat/php_code/blob/master/61_multiply_two_large_numbers.php 阅读全文
posted @ 2017-02-07 01:06 hheedat 阅读(2749) 评论(0) 推荐(0) 编辑
摘要: 供参考,代码还可继续打磨 同时放在了我的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 阅读(1043) 评论(0) 推荐(0) 编辑
摘要: MySQL有四种隔离级别,分别是: READ UNCOMMITTED(未提交读) READ COMMITTED(提交读) REPEATABLE READ (可重复读) SERIALIZABLE(可串行化) 下面会分别用一些例子来解释各种隔离级别,在开始之前,首先要了解一些前提知识: AUTOCOMM 阅读全文
posted @ 2016-03-24 01:54 hheedat 阅读(294) 评论(0) 推荐(0) 编辑