码迷,mamicode.com
首页 >  
搜索关键字:Nging    ( 107个结果
667. Beautiful Arrangement II
问题: 给定一个n,有数组1~n, 排列该数组,使得数组两两元素之间的差值有k种。 Example 1: Input: n = 3, k = 1 Output: [1, 2, 3] Explanation: The [1, 2, 3] has three different positive int ...
分类:其他好文   时间:2020-04-19 14:58:40    阅读次数:57
kafka源码走读-controller (创建topic过程)
晚上刚刚被媳妇骂,难过之余,还是要坚持继续写一篇kafka源码走读的博客,心情难过,原谅我开头发下牢骚。。。 源码版本依然是0.10.2.1,我们都知道,kafka在0.8版本前没有提供Partition的Replication机制,一旦Broker宕机,其上的所有Partition就都无法提供服务 ...
分类:其他好文   时间:2020-04-15 18:35:16    阅读次数:81
k8s-集群调度
k8s-集群调度 一 调度器简介 1.1 介绍 Scheduler 是 kubernetes 的调度器,主要的任务是把定义的 pod 分配到集群的节点上。听起来非常简单,但有很多要考虑的问题: 公平:如何保证每个节点都能被分配资源资源高效利用:集群所有资源最大化被使用 效率:调度的性能要好,能够尽快 ...
分类:其他好文   时间:2020-04-14 22:51:59    阅读次数:86
和黑客斗争的 6 天
互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎 每月每天每分钟 都有黑客在公司网站上扫描。 有的是寻找Sql注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都是各个黑客检测工具来扫描,当然更 高级 一点的入侵需要很多人工协助。 一般情况下,网站被黑客入侵都是因为开发人员 ...
分类:其他好文   时间:2020-04-09 21:45:33    阅读次数:120
【Webots 用户指南】<The User Interface>
The User Interface Webots GUI is composed of four principal windows: the 3D window that displays and allows you to interact with the 3D simulation, th ...
分类:Web程序   时间:2020-03-18 14:03:52    阅读次数:197
GGR376 Regression
GGR376Assignment 2: Regression44 MarksRegression: Modelling the relationship between a response (or dependent variable) and one ormore explanatory var ...
分类:其他好文   时间:2020-03-08 19:48:48    阅读次数:69
MariaDB 10.4.12 Stable Row size too large (> 8126). Changing some columns to TEXT or BLOB may help.
MariaDB 10.4.12 Stable Row size too large ( 8126). Changing some columns to TEXT or BLOB may help. 1 修改my.ini文件在[mysqld]下面加入下面三行 2 新建一个查询进行如下操作将nombre ...
分类:数据库   时间:2020-03-06 10:45:56    阅读次数:135
Flip Game / POJ 1753asd
Flip game is played on a rectangular 4x4 field with two sided pieces placed on each of its 16 squares. One side of each piece is white and the other o ...
分类:其他好文   时间:2020-02-29 11:35:54    阅读次数:90
mysql5.7_xtrackup_脚本
#!/usr/bin/python3.6--coding:utf-8--importtimeimportdatetimeimportsubprocessimportrequestsimportjsonimportloggingmy.cnf文件cnf_file="/etc/my.cnf"备份目录backup_dir="/opt/back"dt=time.str
分类:数据库   时间:2020-02-22 23:38:27    阅读次数:112
leetcode1143 Longest Common Subsequence
1 """ 2 Given two strings text1 and text2, return the length of their longest common subsequence. 3 A subsequence of a string is a new string generate ...
分类:其他好文   时间:2020-02-12 00:23:03    阅读次数:70
107条   上一页 1 2 3 4 ... 11 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!