码迷,mamicode.com
首页 >  
搜索关键字:format and partition disk    ( 19010个结果
摄像头调用
from __future__ import print_function import numpy as np import cv2 as cv def main(): def decode_fourcc(v): v = int(v) return "".join([chr((v >> 8 * i ...
分类:其他好文   时间:2021-03-06 14:32:36    阅读次数:0
常用Python脚本
1.请按照这样的日期格式(xxxx-xx-xx)每日生成一个文件,例如今天生成的文件为2019-04-26.log, 并且把磁盘的使用情况写到到这个文件中。 import time, os new_time = time.strftime("%Y-%m-%d") disk_status = os.p ...
分类:编程语言   时间:2021-03-04 13:27:25    阅读次数:0
Linux挂载磁盘
查看本机的磁盘: [root@jojo ~]# fdisk -l Disk /dev/vda: 42.9 GB, 42949672960 bytes, 83886080 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logic ...
分类:系统相关   时间:2021-03-04 13:25:41    阅读次数:0
Spark Core 02(理论),独立的进程集
Application Application=a driver program + executors 一般来说:1个SparkContext = 1个application=1个SparkShell Spark提交任务不一定须在集群里提交,有gateway就行 1个application ==> ...
分类:系统相关   时间:2021-03-04 13:20:14    阅读次数:0
C# 基础 - string 和 Datetime
1. string 1. 格式化填充 string str = "this {0} a {1}"; Console.WriteLine(string.Format(str, "is", "boy")); // this is a boy 2. 将数据合并成字符串 string[] strArr = ...
分类:Windows程序   时间:2021-03-04 13:14:37    阅读次数:0
基于hdfs文件创建hive表
create table customer row format SERDE 'org.apache.hadoop.hive.serde2.avro.AvroSerDe'stored as inputformat 'org.apache.hadoop.hive.ql.io.avro.AvroCont ...
分类:其他好文   时间:2021-03-03 12:21:19    阅读次数:0
快速排序
挖坑填数方 从数列中挑出一个元素,称为 "基准"(pivot); 重新排序数列,所有元素比基准值小的摆放在基准前面,所有元素比基准值大的摆在基准的后面(相同的数可以到任一边)。在这个分区退出之后,该基准就处于数列的中间位置。这个称为分区(partition)操作; 递归地(recursive)把小于 ...
分类:编程语言   时间:2021-03-02 12:25:49    阅读次数:0
c安卓开发视频教程!微信小程序的事件处理,成功入职腾讯
程序员与别的专业有所不同,其他专业都是越老越香,而程序员却是一个例外,因为计算机技术更新太快,而且工作强度很大,因此大部分程序员只会写 3 年代码。3 年后要不晋升做项目经理,要么转行,个别研究所除外。 因为从面试的角度来讲,目前 BAT 和 TMD 等一线互联网企业或多或少都会有几个算法题,而对应 ...
分类:微信   时间:2021-03-02 12:25:29    阅读次数:0
寒假学习进度12: 线性回归tensorflow2.0实现
参考博客:https://blog.csdn.net/weixin_45665788/article/details/104919669 import matplotlib.pyplot as plt import numpy as np import tensorflow as tf # 载入随机 ...
分类:其他好文   时间:2021-03-01 14:06:36    阅读次数:0
给新手的 11 个 Docker 免费上手项目
给新手的 11 个 Docker 免费上手项目 作者:老K玩代码 来源:toutiao.com/i6882755471015576072 Docker 是一个开源的应用容器引擎,让开发者可以打包他们的应用以及依赖包到一个可移植的镜像中,然后发布到任何流行的 Linux或Windows 机器上,也可以 ...
分类:其他好文   时间:2021-02-27 13:07:49    阅读次数:0
19010条   上一页 1 ... 14 15 16 17 18 ... 1901 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!