- 以管理员身份运行CMD
slmgr.vbs /upk
slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX
slmgr /skms zh.us.to
slmgr /ato
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <Python.h> | |
// C++ call Python module | |
bool CppCallPython() | |
{ | |
// Python initialize | |
Py_Initialize(); | |
if (!Py_IsInitialized()) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// C++ 使用 Qt 生成 CSV 文件 | |
// 以下函数实现生成特定类型的 CSV 文件,可用于生成带标签的数据集 CSV 文件,标签为图片上一级的文件夹名字。 | |
// 作者:https://github.com/huihut | |
/* | |
目录结构(使用 tree 命令查看): | |
xx@xxs-MacBook-Pro:~/code/dataset$ tree | |
. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables which can be used inside of strings. | |
// ${workspaceRoot}: the root folder of the team | |
// ${file}: the current opened file | |
// ${fileBasename}: the current opened file's basename | |
// ${fileDirname}: the current opened file's dirname | |
// ${fileExtname}: the current opened file's extension | |
// ${cwd}: the current working directory of the spawned process | |
{ | |
"version": "0.2.0", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables which can be used inside of strings. | |
// ${workspaceRoot}: the root folder of the team | |
// ${file}: the current opened file | |
// ${fileBasename}: the current opened file's basename | |
// ${fileDirname}: the current opened file's dirname | |
// ${fileExtname}: the current opened file's extension | |
// ${cwd}: the current working directory of the spawned process | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: UTF-8 -*- | |
# Python 生成 CSV 文件 | |
# Python 生成 CSV 文件,可用于生成带标签的数据集 CSV 文件,标签从0开始自动升序:0,1,2,3... | |
# 作者:https://github.com/huihut | |
# 参考:https://github.com/opencv/opencv_attic/blob/master/opencv/modules/contrib/doc/facerec/src/create_csv.py | |
''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
注:如果是WinXP或32位系统请用 10.0 版本;11.0 版本之后支持Win7或更高版64位系统。 | |
VMware 所有版本永久许可证激活密钥: | |
VMware Workstation v14 for Windows | |
FF31K-AHZD1-H8ETZ-8WWEZ-WUUVA | |
CV7T2-6WY5Q-48EWP-ZXY7X-QGUWD | |
VMware Workstation v12 for Windows | |
5A02H-AU243-TZJ49-GTC7K-3C61N |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
题目:从尾到头打印链表 | |
题目描述:输入一个链表,按链表值从尾到头的顺序返回一个ArrayList。 | |
*/ | |
/** | |
* struct ListNode { | |
* int val; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
专业版(Professional): | |
KBJFW-NXHK6-W4WJM-CRMQB-G3CDH | |
企业版(Enterprise): | |
NJVYC-BMHX2-G77MM-4XJMR-6Q8QF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string> | |
std::string Managed_Str_To_Std_Str(Platform::String^ ms) | |
{ | |
std::wstring w_str(ms->Begin()); | |
return std::string(w_str.begin(), w_str.end()); | |
} | |
Platform::String^ Std_Str_To_Managed_Str(const std::string & input) | |
{ |
OlderNewer