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

2024年10月6日

windows cmd alias

摘要: It is rather easy to setup permanent aliases in the Windows command prompt using the @DOSKEY command and HKCU\Software\Microsoft\Command Processor Aut 阅读全文

posted @ 2024-10-06 16:18 yusisc 阅读(47) 评论(0) 推荐(0)

2024年9月12日

bash cheatsheet

摘要: ccd() { pp=$1 pp='D:\app\iStyle_windows_x86_64' echo "$pp" re='(.*)\\+(.*)' while [[ $pp =~ $re ]]; do pp=${BASH_REMATCH[1]}/${BASH_REMATCH[2]} echo $ 阅读全文

posted @ 2024-09-12 00:48 yusisc 阅读(28) 评论(0) 推荐(0)

2024年9月6日

example to load function in dll

摘要: Load Dll - LoadLibrary() < Example 1 > In this example, I will create a simple command line program that pops up a message box shown below using the A 阅读全文

posted @ 2024-09-06 00:05 yusisc 阅读(24) 评论(0) 推荐(0)

2024年8月23日

md5sum calculation by python

摘要: # md5sum.pyy import re import clipboard import os import cv2 import numpy as np import hashlib # Finding Md5 of Files Recursively in Directory in Pyth 阅读全文

posted @ 2024-08-23 00:33 yusisc 阅读(27) 评论(0) 推荐(0)

2024年8月18日

simple sprintf wrapper

摘要: version 0 #include <memory> #include <string> #include <stdexcept> template<typename ... Args> std::string string_format( const std::string& format, A 阅读全文

posted @ 2024-08-18 22:27 yusisc 阅读(20) 评论(0) 推荐(0)

2024年7月24日

a method to make some handy tools with python

摘要: In my working of computer, there are a lot of simple jobs that are frequently repeated. I tried to find a way to make these job been processed easily. 阅读全文

posted @ 2024-07-24 23:39 yusisc 阅读(21) 评论(0) 推荐(0)

2024年7月7日

cpp format a string

摘要: for older standard cpp char cc[55]; sprintf_s(cc, "%09d tttttt %.3f sssss", 7, 1.234567); cout << cc << endl; // 000000007 tttttt 1.235 sssss string s 阅读全文

posted @ 2024-07-07 02:11 yusisc 阅读(27) 评论(0) 推荐(0)

understanding r-value in cpp

摘要: r-value stl - C++ Double Address Operator? (&&) - Stack Overflow: https://stackoverflow.com/questions/4549151/c-double-address-operator && is new in C 阅读全文

posted @ 2024-07-07 01:12 yusisc 阅读(42) 评论(0) 推荐(0)

use smart pointer to manage a dynamically allocated array in cpp

摘要: c++ - Can you make a std::shared_ptr manage an array allocated with new T[]? - Stack Overflow: https://stackoverflow.com/questions/13061979/can-you-ma 阅读全文

posted @ 2024-07-07 00:59 yusisc 阅读(44) 评论(0) 推荐(0)

2024年7月6日

modifing windows color from registry

摘要: Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Control Panel\Colors] "ActiveBorder"="180 180 180" "ActiveTitle"="153 180 209" "AppWorkspace"= 阅读全文

posted @ 2024-07-06 08:59 yusisc 阅读(39) 评论(0) 推荐(0)

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

导航