#备份sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak#编辑sudo vim /etc/apt/sources.list,清空后,加入以下内容:deb http://mirrors.aliyun.com/ubuntu/ trusty ma ...
分类:
系统相关 时间:
2019-06-06 18:59:46
阅读次数:
139
逻辑 1、首先有一个圆:蓝色的纯净的圆,效果: 2、再来两个半圆,左边一个,右边一个将此蓝色的圆盖住,效果: 此时将右半圆旋转60°,就会漏出底圆,效果: 然后我们再用一个比底圆小的圆去覆盖这个大圆就可以出进度条效果了 代码: <style> /*支持IE9及以上*/ .circle-bar {ma ...
分类:
Web程序 时间:
2019-06-06 17:18:39
阅读次数:
121
[root@k8s-master ~]# kubectl run nginx-deploy --image=nginx:1.14-alpine --port=80 --replicas=1 deployment "nginx-deploy" created [root@k8s-master ~]# ...
分类:
其他好文 时间:
2019-06-05 20:08:40
阅读次数:
89
终于写出一道A* #include<bits/stdc++.h> using namespace std; int n,x; string jik; map <string ,bool> ji; struct node { string a;int b,jih,jil,ma; }; priority ...
分类:
其他好文 时间:
2019-06-01 23:01:06
阅读次数:
136
[LeetCode] 5. Longest Substring Without Repeating Characters Given a string s, find the longest palindromic substring in s. You may assume that the ma ...
分类:
其他好文 时间:
2019-05-29 16:30:47
阅读次数:
86
#include #include #include using namespace std; void ReadXml(vector* pVecSt) { QFile file("F:/Qt/Dome/MainFrm/MainFrm/xml/struct.txt");//F:/Qt/Dome/Ma... ...
分类:
其他好文 时间:
2019-05-28 22:27:53
阅读次数:
153
在安装ubuntu时,如果选择英文安装默认会不启用中文输入法的。可以通过下述方法开启: 安装 pingyin 输入法 sudo apt-get install ibus-pinyin1然后在 settings 的 Region & Language 的 Input Sources设置栏中 点击 Ma ...
分类:
系统相关 时间:
2019-05-28 12:45:20
阅读次数:
155
主要用到 hconcat vconcat 主要代码 include "stdafx.h" include include include include using namespace cv; using namespace std; Mat frame; Mat frame1; Mat b; Ma ...
分类:
其他好文 时间:
2019-05-19 22:00:22
阅读次数:
173
markdown 编辑器概述 编辑器其实很多很多,主要分为 网页编辑和软件编辑 (效果其实感觉效果差不多,看个人喜好,笔者个人还是喜欢本地,感觉方便挺多的) ## 网页编辑器 主要有 CSDN(就是在这里看到markdown的) 有道云(http://note.youdao.com/semdl/ma ...
分类:
其他好文 时间:
2019-05-12 19:36:34
阅读次数:
138
计数排序: 1、一个非基于比较的排序算法,该算法于1954年由 Harold H. Seward 提出,它的优势在于在对一定范围内的整数排序, 其时间复杂度为Ο(n+k)(其中k是整数的范围),快于任何比较排序算法 2、步骤: a、找出给定整数序列的最大值 max 和最小值 min,创建大小为 ma ...
分类:
编程语言 时间:
2019-05-12 01:37:31
阅读次数:
157