码迷,mamicode.com
首页 >  
搜索关键字:while read line for ifs    ( 74720个结果
[Node.js] Resolve path problem in all envs (require.resolve)
When dealing with `fs` library, the common problem you will meet is the path to file. Different envs may have different way to handle the path. The be ...
分类:Web程序   时间:2021-03-30 13:42:21    阅读次数:0
python操作hdfs
import contextlib import pyhdfs class HdfsUtil(object): def __init__(self, hosts='namenode1:9870,namenode2:9870', user_name='hdfs'): self.hosts = host ...
分类:编程语言   时间:2021-03-30 13:29:22    阅读次数:0
excel poi
依赖: <!--xls(03)--> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>4.1.2</version> </dependency> <!--xlsx(07)--> ...
分类:其他好文   时间:2021-03-30 13:28:43    阅读次数:0
【原创】Linux虚拟化KVM-Qemu分析(十一)之virtqueue
背景 Read the fucking source code! --By 鲁迅 A picture is worth a thousand words. --By 高尔基 说明: KVM版本:5.9.1 QEMU版本:5.0.0 工具:Source Insight 3.5, Visio 文章同步在 ...
分类:系统相关   时间:2021-03-30 13:07:40    阅读次数:0
内部类
定义一个内部类,直接将内部类定义在外围类的里面。 interface yu{ void sout(); } public class lc_2 { public int num1; private int num2; class innerClass implements yu{ public in ...
分类:其他好文   时间:2021-03-30 13:02:50    阅读次数:0
03 Spark RDD基础编程
1. 准备文本文件从文件创建RDD lines=sc.textFile()筛选出含某个单词的行 lines.filter()lambda 参数:条件表达式 2. 生成单词的列表从列表创建RDD words=sc.parallelize()筛选出长度大于2 的单词 words.filter() ...
分类:其他好文   时间:2021-03-30 12:53:37    阅读次数:0
二分图匹配
//二分图匹配#include<cstdio>#include<cstring>using namespace std;const int N = 1005;int n,m,k; //a方n人 b方m人 k对关系 int u,v; int g[N][N]; //表示a,b之间有关系,赋值为0/1. ...
分类:其他好文   时间:2021-03-30 12:52:43    阅读次数:0
Python语法之流程控制
流程控制 流程控制即控制流程,具体指控制程序的执行流程,而程序的执行流程分为三种结构:顺序结构(之前我们写的代码都是顺序结构)、分支结构(用到if判断)、循环结构(用到while与for),下面我们就来认识一下这些操作吧! 1、分支结构之if判断 人类某些时候需要根据条件来决定做什么事情,就像人肚子 ...
分类:编程语言   时间:2021-03-30 12:50:35    阅读次数:0
[LeetCode] 1089. Duplicate Zeros 复写零
Given a fixed length array arr of integers, duplicate each occurrence of zero, shifting the remaining elements to the right. Note that elements beyond ...
分类:其他好文   时间:2021-03-30 12:46:57    阅读次数:0
Docker常用指令(创建sqli-labs靶场)
以创建sqli-labs靶场为例子记录一下docker的常用指令 1. 镜像 1.2 查找镜像 docker search sqli-labs 1.3 获取镜像 docker pull sqli-labs 1.4 登录/退出第三方仓库 docker login/logout [ 仓库地址 ] 1.5 ...
分类:数据库   时间:2021-03-29 12:47:16    阅读次数:0
74720条   上一页 1 ... 60 61 62 63 64 ... 7472 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!