摘要: From https://gist.github.com/magnetikonline/0ccdabfec58eb1929c997d22e7341e45 AD LDS - create user via ADSI Edit, user need attributes (mail, userprinc 阅读全文
posted @ 2022-06-11 21:59 tang88seng 阅读(239) 评论(0) 推荐(0) 编辑
摘要: https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/locks/ReentrantReadWriteLock.html Lock downgrading Reentrancy also allows downgrading f 阅读全文
posted @ 2022-05-11 22:23 tang88seng 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 拿 select * from users where name like 'acme%' 举例, 在name上有非聚集索引。 Seek 翻译成定位更合适,上面的SQL直接在索引定位到该 Entry. Scan 如果 Users表很小,或者返回大量的数据;索引一个一个定位慢,还不如 从头到尾 Sca 阅读全文
posted @ 2022-05-10 12:01 tang88seng 阅读(125) 评论(0) 推荐(0) 编辑
摘要: Note: on Debian 9 sudo aptitude install tightvnc configure to start with icewm vi ~/.vnc/xstartup with below: #!/bin/bash xrdb $HOME/.Xresources icewm 阅读全文
posted @ 2022-04-01 17:09 tang88seng 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 参照 : https://www.cygwin.com/faq.html > 下面解决: Also, set /etc/nsswitch.conf as follows: passwd: files db group: files db 另外 set LC_ALL=C 的 bug 在新版本解决了 阅读全文
posted @ 2022-03-30 11:34 tang88seng 阅读(171) 评论(0) 推荐(0) 编辑
摘要: From https://blog.csdn.net/qq_40925189/article/details/102833531 第一种:需要登录才能运行的方法 第一步:编写运行jar包的bat文件新建一个run.txt文件,将以下内容放进去,然后修改文件后缀为.bat @echo off java 阅读全文
posted @ 2022-01-22 11:26 tang88seng 阅读(953) 评论(0) 推荐(0) 编辑
摘要: Key combination Action Windows logo key Open or close the Start menu Windows logo key + Pause Display the System Properties dialog box Windows logo ke 阅读全文
posted @ 2021-12-21 09:55 tang88seng 阅读(87) 评论(0) 推荐(0) 编辑
摘要: iostat -x -k -d 10 360 -d Display the device utilization report. -k Display statistics in megabytes per second -x Display extended statistics. 10 10 s 阅读全文
posted @ 2021-12-01 15:13 tang88seng 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 02 JVM垃圾回收算法 2.1 什么是垃圾回收? 程序的运行必然需要申请内存资源,无效的对象资源如果不及时处理就会一直占有内存资源,最终将导致内存溢出,所以对内存资源的管理是非常重要了。 2.2 什么样的对象需要回收? 引用计数法 引用计数是历史最悠久的一种算法,最早George E. Colli 阅读全文
posted @ 2021-06-18 21:30 tang88seng 阅读(29) 评论(0) 推荐(0) 编辑
摘要: squid.conf chromium.exe --proxy-server="XXXXX:3128" # # Recommended minimum configuration: # # Example rule allowing access from your local networks. 阅读全文
posted @ 2021-03-31 14:29 tang88seng 阅读(70) 评论(0) 推荐(0) 编辑