上一页 1 2 3 4 5 6 7 ··· 18 下一页

2024年5月6日

parallel processing in python

摘要: module usage threading t1 = threading.Thread(target=print_square, args=(10,)) t1.start() t1.join() concurrent.futures pool = concurrent.futures.Thread 阅读全文

posted @ 2024-05-06 01:39 yusisc 阅读(14) 评论(0) 推荐(0)

2024年4月28日

start windows executable in multi-process and wait its ending

摘要: the executable import time import random import sys time.sleep(random.random()) print(sys.argv[1]) the calling control import subprocess ll = [] for i 阅读全文

posted @ 2024-04-28 21:53 yusisc 阅读(7) 评论(0) 推荐(0)

2024年1月27日

windows console prompt modification

摘要: by setting prompt to be $d $t @ $p$_$g$S in environment variables. reference Change your DOS/Command prompt http://www.chami.com/tips/windows/020497W. 阅读全文

posted @ 2024-01-27 22:03 yusisc 阅读(14) 评论(0) 推荐(0)

dealing with msys2 slow startup

摘要: All tools from shell are very slow · Issue #138 · msys2/MSYS2-packages · GitHub https://github.com/msys2/MSYS2-packages/issues/138 msys2.exe takes alm 阅读全文

posted @ 2024-01-27 20:14 yusisc 阅读(58) 评论(0) 推荐(0)

start cmd or shell from current directory in windows file explorer

摘要: start windows cmd in current directory My preferance of starting cmd in a certain certain directory is simply navigating to the directroy; pressing ct 阅读全文

posted @ 2024-01-27 20:02 yusisc 阅读(19) 评论(0) 推荐(0)

2023年11月30日

Constant Pointer vs Pointer to constant

摘要: from : Constant Pointer vs Pointer to constanthttps://www.linkedin.com/pulse/constant-pointer-vs-shirley-vijayakumar Reading a declaration is confusin 阅读全文

posted @ 2023-11-30 00:50 yusisc 阅读(12) 评论(0) 推荐(0)

2023年11月21日

change windows cmd prompt 修改windows命令行提示符

摘要: 通过修改环境变量控制 cmd 提示符。 ref cmd - How do I change the command-line prompt in Windows? - Stack Overflow https://stackoverflow.com/questions/12028372/how-do 阅读全文

posted @ 2023-11-21 21:23 yusisc 阅读(60) 评论(0) 推荐(0)

2023年11月10日

simple cpp file logger

摘要: this is a simple cpp file logger implementation, which is copied from making log file - C++ Forum https://cplusplus.com/forum/beginner/168442/ /////// 阅读全文

posted @ 2023-11-10 00:25 yusisc 阅读(29) 评论(0) 推荐(0)

2023年8月11日

cross-reference creating in ms word

摘要: # equation How to create a cross-reference to an equation in Word - Microsoft Word 365 https://www.officetooltips.com/word_365/tips/how_to_create_a_cr 阅读全文

posted @ 2023-08-11 01:08 yusisc 阅读(15) 评论(0) 推荐(0)

2023年8月4日

windows tool recommandation NegativeScreen

摘要: Recently, our work room is a dark room, where the computer screen is so bright for me, even the screen's brightness is turned to the minimum. After so 阅读全文

posted @ 2023-08-04 01:02 yusisc 阅读(93) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 ··· 18 下一页

导航