CreateRemoteThread 部分源码 push edi ; CreateSuspended lea ecx, [ebp+UserStack] push ecx ; UserStack lea ecx, [ebp+ThreadContext] push ecx ; ThreadContext ...
分类:
其他好文 时间:
2020-11-25 12:38:51
阅读次数:
7
有时候git明明已经配置了用户名和密码,但在项目中,有时候pull和push的时候却每次都要提示输入用户名和密码,很浪费时间。 解决办法 在git bash中输入: git config --global credential.helper store 执行完上面的git命令后,在命令行正常执行pu ...
分类:
其他好文 时间:
2020-11-25 12:33:41
阅读次数:
2
perl中的引用和C中的指针一样,用"\"标识,引用后可使用符号“->”取值。解引用则在对应的数据类型前加$,@ 或%。 这里这里用两数组求和做示例,引用传递的子函数的用法。 1 use strict; 2 3 my @s1=(1,13,4,25,6,27,8,22); 4 my @s2=(11,2 ...
分类:
编程语言 时间:
2020-11-24 12:43:27
阅读次数:
7
###P3899 [湖南集训]谈笑风生 二维数点问题,主席树模板(两种写法 #include<bits/stdc++.h> #define IL inline #define LL long long #define pb push_back using namespace std; const i ...
分类:
其他好文 时间:
2020-11-21 12:15:18
阅读次数:
7
方法一、(回滚到原来的版本) 1、在gitlab上找到要恢复的版本号,如: bbdca96 2、在客户端执行如下命令(执行前,先将本地代码切换到对应分支): git reset --hard bbdca96 3、强制push到对应的远程分支(如提交到develop分支) git push -f -u ...
分类:
其他好文 时间:
2020-11-21 12:13:35
阅读次数:
5
树套树 一种思想,就是一棵树的节点是另一颗树。 在外面的叫外层树,在里面的叫内层树。 外层树一般是, 树状数组 , 线段树 内层树一般是 平衡树 , STL , 线段树 线段树套STL /* * @Author: zhl * @Date: 2020-11-16 12:50:32 */ #includ ...
分类:
其他好文 时间:
2020-11-20 12:20:30
阅读次数:
24
function getExplorerWindows() { let wnds = sp.AllApplications(); const windClass = "CabinetWClass"; const proName = "explorer"; let result = new Array ...
分类:
其他好文 时间:
2020-11-19 12:03:37
阅读次数:
4
添加/删除元素: push(...items) 从结尾添加元素pop() 从结尾删除元素shift() 从开头删除元素unshift(...items) 从开头添加元素splice(pos,deeteCount,...items) 从index开始,删除deleteCount元素并在当前位置插入元素 ...
分类:
编程语言 时间:
2020-11-18 12:30:07
阅读次数:
6
list: 底层实现为双向链表 1、基本用法 #include <iostream> #include <list> using namespace std; // list:双向链表 void ShowPrint(list<int> d) { for (list<int>::iterator it ...
分类:
其他好文 时间:
2020-11-17 13:02:23
阅读次数:
27
本地回退到上一版本 git reset –hard HEAD^ 本地回退到上上个版本 git reset –hard HEAD~2 本地回退到指定项(根据log的提交id来回退) git log git reset –hard commit_id 强制把本地推到远程master分支 git push ...
分类:
其他好文 时间:
2020-11-17 13:01:28
阅读次数:
23