自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4389)
  • 收藏
  • 关注

转载 Docker 在 Windows Server 2016平台下 .Net Core的镜像问题

2017年年初,docker公司将原先的docker项目改名为moby,并创建了docker-ce和docker-ee。这三者的关系是:moby是继承了原先的docker的项目,是社区维护的的开源项目,谁都可以在moby的基础打造自己的容器产品。docker-ce是docker公司维护的开源项目,是一个基于moby项目的免费的容器产品 。docker-ee是doc...

2019-10-04 12:20:24 1032

转载 Docker和ASP.NET Core

Docker和ASP.NET CoreDocker正在逐渐成为容器行业的事实标准,受到Windows和Linux生态系统领域最重要供应商的支持。 (Microsoft是支持Docker的主要云供应商之一。)现在,Docker 基本上已经在各大云或本地的任何数据中心普及了。如何将.NET程序托管到Docker之中,相信这是广大.NET开发者的一个疑问。事实上,....

2019-10-04 12:20:22 786

转载 F - No Link, Cut Tree! Gym - 101484F

Marge is already preparing for Christmas and bought a beautiful tree, decorated with shiny ornaments. Her Christmas tree can be represented as a complete binary tree composed ofNnodes, numbered...

2019-09-27 11:21:00 577

转载 持续继承和发布工具,Gitlab,Jenkins

https://blog.csdn.net/weixin_43155926/article/details/83033371转载于:https://www.cnblogs.com/zuokun/p/11591825.html

2019-09-26 14:51:00 346

转载 F - Filter Gym - 100553F (bitset用法)

题目链接:http://codeforces.com/gym/100553/attachments/download/2885/20142015-acmicpc-northeastern-european-regional-contest-neerc-14-en.pdf首先bitset用法链接:https://www.cnblogs.com/magisk/p/8809922.h...

2019-09-26 11:17:00 191

转载 Java RestTemplate post请求传递参数

https://blog.csdn.net/LDY1016/article/details/80002126转载于:https://www.cnblogs.com/zuokun/p/11573485.html

2019-09-23 17:19:00 183

转载 文件大小排序

/** * 文件排序*/class CompratorByLastModified implements Comparator<File> {public int compare(File f1, File f2) {long diff = f1.length() - f2.length();if (diff > 0)return -1;//倒序正序控制else if ...

2019-09-23 16:21:00 224

转载 list集合获取相同以及不同的对象

List<StyleMenuModule> list1 = new ArrayList<>(); StyleMenuModule s1 = new StyleMenuModule(); s1.setId(1); s1.setMenuId(1); list1.add(s1); ...

2019-09-19 14:30:00 513

转载 D - Daydreaming Stockbroker Gym - 101550D

题目链接:http://codeforces.com/gym/101550/attachments总的来说就是要:极大值卖出,极小值买入, 再加上端点时的特判. 还有就是会有连续几天股票价格相同的情况,这里就是判断的时候是严格的大于小于号的功劳了首先手里肯定是没有股票的, 尝试买入第一天的股票, 如果下一天的股票价格低于当天的股票价格,我们就再卖出当前的所有股票来让下一...

2019-09-19 11:00:00 203

转载 移动硬盘Windows不识别,文件和目录已损坏

原因在Windows拔出硬盘时,没有先在电脑上断开连接,即没有弹出。凡是没有弹出的,必定会出问题,移动硬盘!一定要先弹出!解决办法以管理员身份运行cmd,输入命令chkdsk D: /fD是移动硬盘的盘符注:I盘大写不识别,小写的i可以使用chkdsk用法:CHKDSK [volume[[path]filename]]] [/F] [/V] [...

2019-09-19 10:57:00 192

转载 Python3中的编码转换大全(不定期更新)

Python3编码转换大全进制转换其他进制转十进制2 -> 10int('1100',2)128 -> 10int('1100',8)57616 -> 10int('1100',16)4352十进制转其他进制10 -> 2bin(170)'0b10101010'10 - > 8oct(170)'0o252'10 -&gt...

2019-09-18 21:37:00 339

转载 【2019西电网信杯】线上赛部分题wp

因为太菜了所以才打了全国第九...不过半小时AK了crypto是真的【呲牙】Dawn_whisper_解题报告MISC调查问卷随便填一填就能搞到flag了…HiddenImageLook "through" the image and get the flag.看到题目说明猜测可能是文件捆绑拿到ubuntu下binwalk一下:发现的确存在z...

2019-09-18 16:02:00 626

转载 算法题 week2

13# 罗马数字转整数罗马数字包含以下七种字符:I,V,X,L,C,D和M。字符 数值I 1V 5X 10L 50C 100D 500M 1000例如, 罗马数字 2 写做II,即为两个并列的 1...

2019-09-16 22:38:00 118

转载 F - Fraction Formula Gym - 102307F

Mr. Potato Head has been promoted and now is a math professor at the UNAL.For his first course he is willing to teach hard subjects, so at the moment he is teaching how to add and subtract frac...

2019-09-13 15:14:00 340

转载 sqlservice按照天数、月份、年份进行统计

https://www.cnblogs.com/langhua/p/4548429.html转载于:https://www.cnblogs.com/zuokun/p/11511531.html

2019-09-12 13:55:00 275

转载 E - Rebuild UVALive - 7187 (二次函数极值问题)

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5531Problem DescriptionArchaeologists find ruins of Ancient ACM Civilization, and they want to rebuild it.The ruins form a closed path on an x-y...

2019-09-10 21:56:00 158

转载 浅谈AWS: IAM+S3+Lex+Lambda

在一个side project中用到了AWS的一些Services。AWS提供了很多的服务,比如ComputeEC2StorageS3DatabaseRDSNetworking & Content DiliveryRoute 53Developer ToolsCloud 9Machine LearningAmazon LexSe...

2019-09-10 18:45:00 306

转载 【基姆拉尔森计算公式】给出年月日计算某天是星期几

计算方法//d:日 m:月 y:年int whatDayIsToday(int d, int m, int y) { if (m == 1 || m == 2) m += 12, y--; return (d + 2 * m + 3 * (m + 1) / 5 + y + y / 4 - y / 100 + y / 400) % 7 + 1;}...

2019-09-10 13:47:00 233

转载 算法题 week1

leetcode1# 两数之和给定一个整数数组 nums和一个目标值 target,请你在该数组中找出和为目标值的那两个整数,并返回他们的数组下标。你可以假设每种输入只会对应一个答案。但是,你不能重复利用这个数组中同样的元素。示例:给定 nums = [2, 7, 11, 15], target = 9因为 nums[0] + nums[1] = 2 + 7 = 9,...

2019-09-09 17:19:00 118

转载 D. Coloring Edges

You are given a directed graph with????nvertices and????mdirected edges without self-loops or multiple edges.Let's denote the????k-coloring of a digraph as following: you color each edge ...

2019-09-06 21:21:00 168

转载 xenserver添加静态路由

xe network-list name-label=xe network-param-set uuid=48a64512-69e8-6534-f276-8d0c4555f946 other-config:static-routes=172.22.10.0/24/172.22.1.1转载于:https://www.cnblogs.com/linwinfan/p/11465340....

2019-09-05 13:21:00 287

转载 如何添加一个端口信息

第一步:WIN+R;输入输入WF.msc;第二步:新建入口规则;最后输入对该规则的名称和描述转载于:https://www.cnblogs.com/zhangfugui/p/11455228.html

2019-09-03 20:03:00 508

转载 视频教程

https://www.bilibili.com/video/av38657363/?p=7转载于:https://www.cnblogs.com/zuokun/p/11418402.html

2019-08-27 15:03:00 346

转载 java.lang.NoClassDefFoundError: org/apache/poi/xwpf/usermodel/IRunBody异常

https://blog.csdn.net/W180830/article/details/82587619转载于:https://www.cnblogs.com/zuokun/p/11414379.html

2019-08-26 19:18:00 509

转载 Technology companies have become leaders in reducing energy use

Consumers are becoming increasingly aware of the need to make sustainable lifestyle choices in the face of the climate crisis. At the same time, companies and decision-makers with larger economic foot...

2019-08-23 06:47:07 204

转载 RSA例题一

首先看题目:e=3n=2288548090746910915994727233356537510931048506721146154388138671820144210696791485247498917617526961222996646116006587231091609614821625342984992198841234273270687599810033775...

2019-08-22 17:29:00 671

转载 springBoot项目mybatis中加入缓存

1:maven: <!-- https://mvnrepository.com/artifact/net.sf.ehcache/ehcache-core --> <dependency> <groupId>net.sf.ehcache</groupId> <...

2019-08-22 14:36:00 216

转载 F - kebab HDU - 2883 (最大流构图)

Almost everyone likes kebabs nowadays (Here a kebab means pieces of meat grilled on a long thin stick). Have you, however, considered about the hardship of a kebab roaster while enjoying the deli...

2019-08-22 10:38:00 107

转载 高斯消元模板

//高斯消元 时间复杂度O(n^3) 使用浮点数计算#include<iostream>#include<string.h>#include<math.h>using namespace std;const double eps=1e-8;const int maxn=101;double a[maxn][maxn];...

2019-08-20 16:55:00 93

转载 【android】获取本机ip地址

方法是利用网址:http://pv.sohu.com/cityjson?ie=utf-8,返回String类型的ip地址:public static String getNetIp() { String ip = ""; InputStream inputStream = null; try { UR...

2019-08-20 10:38:00 227

转载 三.jquery.datatables.js表格编辑与删除

1.为了使用如图效果(即将按钮放入行内http://www.datatables.net/examples/ajax/null_data_source.html)采用了另一个数据格式2.后台php,取表格数据变为:public function initable(){ $db = M('yanfa_project')->select(); ...

2019-08-20 07:09:48 278

转载 JQuery中getJSON的使用方法(转)

最近有一个活动,其中的数据需要和纯静态html网站进行交互。但是由于两个网站处于不同的域名下,而Ajax的应用中,由于安全的问题,浏览器默认是不支持跨域调用的,最后选用了JQuery中的getJSON方法这里采用了JSONP(JSON with Padding-填充json数据也就是常用的json跨域方式):利用script标签,通过特定的src地址的调用,来执行一个客户端的js函...

2019-08-20 07:09:09 161

转载 docker

转载于:https://www.cnblogs.com/movemoon/p/11375684.html

2019-08-19 10:35:00 77

转载 图论模板

一:最短路1:Floydvoid Floyd(){ for(int k=1;k<=n;k++) { for(int i=1;i<=n;i++) { for(int j=1;j<=n;j++) { dis[i][...

2019-08-19 09:21:00 72

转载 WebService接口测试

一、背景   最近的工作中碰到一个金融支付相关的服务,整个服务是提供的webservice接口,查了一下采用webservice会更加安全,所以就研究了下如何测试这种服务的接口。 二、术语解释WebService是什么?基于Web的服务:服务器端整出一些资源让客户端应用访问(获取数据)一个跨语言、跨平台的规范(抽象)...

2019-08-18 11:51:00 132

转载 模板整理

1:欧拉函数含义:phi[n]代表小于等于n的数中与n互质的数的数目,phi[1]=1.性质:若n是素数p的k次方:phi[n]=p^k-p^(k-1)=(p-1)*(p^(k-1))若m,n互质,则phi[m*n]=phi[n]*phi[m].公式:令p为n的最小质因数,若p^2|n,则phi[n]=phi[n/p]*p,否则phi[n]=phi[n/p]*(p-1)....

2019-08-15 08:57:00 110

转载 面试题(含答案)

面试题1.tcp/ip协议中主机与主机通信三要素Ip地址、子网掩码、ip路由2.描述ip地址的分类及每一类的范围Ip地址分为5类A类保留给政府机构 范围:1.0.0.1-126.155.255.254B类给大中型企业使用 范围:128.0.0.1—191.255.255.254C类给个人使用 范围:192.0.0.1—191.255.255.254D类数组...

2019-08-14 16:44:00 568

转载 Kafka基本知识整理

首先Kafka是一个分布式消息队列中间件,Apache顶级项目,https://kafka.apache.org/ 高性能、持久化、多副本备份、横向扩展。生产者Producer往队列里发送消息,消费者Consumer从队列里消费消息,然后进行业务逻辑。应用场景主要有:解耦、削峰(缓冲)、异步处理、排队、分布式事务控制等等。Kafka对外使用Topic(主题)的概念,生产者往Topi...

2019-08-14 16:18:34 99

转载 [D80]天井

天井由 Jedimaster上传于Yupoo, 由相机NIKON D80+50/1.4D拍摄.今天陪同学去赛博未来城内买笔记本电脑,随手拍的建筑内部。尼康的躁点的确不如佳能,ISO400的躁点都相当的严重,动态范围也比不上富士S5 Pro。转载于:https://www.cnblogs.com/Jedimaster/archive/2008/01/...

2019-08-14 03:22:38 197

转载 linux驱动匹配条件

linux设备驱动必须匹配内核版本x86上面主要有两大类驱动,pci和usb主要看厂家id和设备id具备这两个条件就可以只能去厂家官网找对应设备,是否提供相应系统的驱动转载于:https://www.cnblogs.com/qijunzifeng/p/11343904.html...

2019-08-13 09:28:00 165

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除