上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页
摘要: 最近用到MongoDB C驱动程序,网上资料较少,所以记录分享。 一、简介 MongoDB C驱动程序(也称为“ libmongoc”)是一个库,用于C程序中操作MongoDB。 官方下载地址:http://mongoc.org/ 百度云分享:https://pan.baidu.com/s/1pqR 阅读全文
posted @ 2020-07-05 21:33 雪地飞行棋 阅读(2379) 评论(0) 推荐(1)
摘要: python实现代码: class Solution: def find(self,nums): ret = [] sum = 0 for num in nums: sum += num; avr = sum/len(nums) distance=[] for num in nums: distan 阅读全文
posted @ 2020-05-20 21:57 雪地飞行棋 阅读(2136) 评论(1) 推荐(0)
摘要: 注:表达式中数字均为正数 思路:遍历字符串参数,逐个拷贝字符直到遇见运算符,记录运算符和拷贝好的字符串;字符串结束只拷贝字符。 C版代码如下: #include<stdio.h> #include<string.h> #include<stdlib.h> int analysis(char *exp 阅读全文
posted @ 2020-05-17 23:30 雪地飞行棋 阅读(2081) 评论(0) 推荐(0)
摘要: OLAP场景的关键特征: 大多数是读请求 数据总是以相当大的批(> 1000 rows)进行写入 不修改已添加的数据 每次查询都从数据库中读取大量的行,但是同时又仅需要少量的列 宽表,即每个表包含着大量的列 较少的查询(通常每台服务器每秒数百个查询或更少) 对于简单查询,允许延迟大约50毫秒 列中的 阅读全文
posted @ 2020-03-30 10:47 雪地飞行棋 阅读(443) 评论(0) 推荐(0)
摘要: 一、去掉字符串指定字符 1 #include <stdio.h> 2 #include <string.h> 3 4 void del_char(char a[],char c) 5 { 6 int i,j; 7 for(i=0,j=0; *(a+i)!='\0'; i++) 8 { 9 if(*( 阅读全文
posted @ 2020-02-25 19:31 雪地飞行棋 阅读(9140) 评论(0) 推荐(1)
摘要: 在实际应用中,我们经常会遇到这样的问题:已经知道了一个机器(主机或路由器)的IP地址,需要找出其相应的硬件地址。 地址解析协议ARP就是用来解决这个问题的。 下图说明了ARP协议的作用。 ARP协议的要点: 1、ARP进程在本局域网上广播发出一个ARP请求分组。ARP请求分组的组要内容是:“我的IP 阅读全文
posted @ 2020-01-31 17:51 雪地飞行棋 阅读(837) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-01-17 10:58 雪地飞行棋 阅读(111) 评论(0) 推荐(0)
摘要: 1、重启虚拟机,在重启的时候按ESC键或者shift键 2、按e字母键,很快会看到三条选项,用上下键选择第二条kernel /vmlinuz-2.6.32-642.el6.x86_64 ro root=UUID=47f64cb3-d835-4d68 ,继续按e字母键进入第三步 3、在 quiet 后 阅读全文
posted @ 2020-01-10 16:32 雪地飞行棋 阅读(1311) 评论(0) 推荐(0)
摘要: 1 from datetime import timedelta, date, datetime 2 3 def get_day_of_day(n=7): 4 return date.today() - timedelta(days=n) 5 #today 6 date=get_day_of_day 阅读全文
posted @ 2019-12-18 00:06 雪地飞行棋 阅读(442) 评论(0) 推荐(0)
摘要: 文章转载地址: https://blog.csdn.net/ywd1992/article/details/82897394 一、基础环境 1、操作系统:CentOS 7.3 2、Docker版本:18.06.1 官方下载地址 3、百度云Docker 18.06.1地址:https://pan.ba 阅读全文
posted @ 2019-11-29 16:02 雪地飞行棋 阅读(423) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页