#include "stdafx.h" #include "windows.h" #include "iostream.h" void env() { PROCESS_INFORMATION pi={0}; STARTUPINFO si={0}; si.cb=sizeof(si); CreatePr ...
分类:
其他好文 时间:
2020-03-23 09:25:53
阅读次数:
54
背景 我用VMWare搭建了一个Hadoop集群,Spark与Hive等组件都已经安装完毕。现在我希望在我的开发机上使用IDEA连接到集群上的Hive进行相关操作。 进行配置修改 修改Hive中的hive site.xml 在hive site.xml中找到这个配置,将改成如下形式 在hive si ...
分类:
其他好文 时间:
2020-03-21 18:02:12
阅读次数:
144
一、回顾 1、Linux OS基础概念,进程查看的几个工具 2、内核的功能:进程管理(进程调度) 进程调度:保存现场,恢复现场 task struct:任务结构 task list:任务列表 CPU:us,sy,ni,id,hi,si,cs,st Memory:VSZ,RSS,SHM 3、命令 ps ...
分类:
系统相关 时间:
2020-03-16 10:00:31
阅读次数:
86
1 //搞清楚各个变量的含义 2 //***忘记对数组进行排序,以至于一直卡在这里*** 3 class Solution 4 { 5 public: 6 int threeSumClosest(vector<int>& nums, int target) 7 { 8 int n = nums.si ...
分类:
其他好文 时间:
2020-03-15 18:55:39
阅读次数:
55
8086汇编 rep 指令 rep指令常和串传送指令搭配使用功能:根据cx的值,重复执行后面的指令 串传送指令1: movsb 功能:(以字节为单位传送) (1) ((es)×16 + (di)) = ((ds) ×16 + (si)) (2) 如果DF = 0则: (si) = (si) + 1 ...
分类:
其他好文 时间:
2020-03-14 21:43:05
阅读次数:
56
Poll 时间限制: 1 Sec 内存限制: 128 MB 题目描述 We have N voting papers. The i-th vote (1≤i≤N) has the string Si written on it.Print all strings that are written o ...
分类:
其他好文 时间:
2020-03-14 19:48:11
阅读次数:
60
一、发送邮件 单一的node后台其实本身并没有发送邮件的功能,要想实现发送邮件的效果,还是需要借助一个邮箱来实现邮件的发送。 流程:前端提出发送需求 —— Node后台收集需要发送的信息 —— 发送给邮箱服务器来进行发送 在node后台 —— 邮箱后台的这个过程中,遵循了SMTP协议(SMTP(Si ...
分类:
Web程序 时间:
2020-03-14 14:53:38
阅读次数:
73
一、tesseract的安装 下载地址:https://digi.bib.uni-mannheim.de/tesseract/ github地址:https://github.com/tesseract-ocr/tesseract 具体安装参考博文:https://www.wj0511.com/si ...
分类:
其他好文 时间:
2020-03-13 18:37:19
阅读次数:
69
8086汇编 rep 指令 rep指令常和串传送指令搭配使用功能:根据cx的值,重复执行后面的指令 串传送指令1: movsb 功能:(以字节为单位传送) (1) ((es)×16 + (di)) = ((ds) ×16 + (si)) (2) 如果DF = 0则: (si) = (si) + 1 ...
分类:
其他好文 时间:
2020-03-13 11:28:46
阅读次数:
84
题目链接:https://codeforces.com/contest/598 A Tricky Sum 挺有意思的一条送分题。 B Queries on a String 题意:给一个长 Q1, Q2; void bfs(int si, int sj, int color) { vis[si][s ...
分类:
其他好文 时间:
2020-03-11 01:34:09
阅读次数:
49