搜索到与相关的文章
各行各业

Zookeeper常用命令

3常用命令3.1.启动ZK服务:bin/zkServer.shstart3.2.查看ZK服务状态:bin/zkServer.shstatus3.3停止ZK服务:bin/zkServer.shstop3.4.重启ZK服务:bin/zkServer.shrestart3.5连接服务器zkCli.sh-server127.0.0.1:21813.6查看根目录ls/3.7创建testnode节点,关联字符串"zz"create/zk/testnode"zz"3.8

系统 2019-08-12 09:27:07 2137

各行各业

14 CompareValidator

Type属性与RangeValidator相同。Operator属性是比较操作符,有DataTypeCheck(类型检查),Equal(=),GreaterThan(>),GreaterThanEqul(>=),LessThan(<),LessThanEqual(<=),NotEqual(!=),当这些为True时再不出现提示。ValueToCompare,与某个值比较大小;ControlToCompare,与另一控件进行比较。实例:在表单上放入一text

系统 2019-08-12 09:27:02 2137

各行各业

Understanding Open Closed Principle and Depe

IntroductionInthefollowingthreearticlesI'mgoingtodiscussSOLID.ThisisthePartOneoftheseries.I'lltrytoexplainOpenColsedPricipleandDependencyInversion.NowwhatdoesSOLIDmean?SOLIDistheOOD(Object-OrientDesign)Principle,whereeachletterhas

系统 2019-08-12 09:26:57 2137

各行各业

github个人心得

https://github.com/201303014069/Test打补丁一.方法一比较通用Gitcommit比如在PATH分支提交后Gitdiffmaster>patch创建补丁文件Gitcheckoutmaster回到主分支Gitapplypatch通过patch打补丁二.Gitconmmit先在一个分支提交Gitformat_patch–Mmaster生成.patch补丁文件Gitcheckoutmaster回到需要打补丁的分支Gitam***.

系统 2019-08-12 09:26:53 2137

数据库相关

BZOJ 1036 [ZJOI2008]树的统计Count

以前动态树写过这个题,今天尝试树链剖分解决~模板题,就声明一点,线段树维护的是点权ViewCode1#include2#include3#include4#include5#include67#defineN500008#defineM1000009#defineINF1e91011usingnamespacestd;1213inthead[N],to[M],ne

系统 2019-08-12 01:54:20 2137

数据库相关

leetcode Palindrome Partitioning

把一个字符串划分成几个回文子串,枚举所有可能的划分例如Forexample,givens="aab",Return[["aa","b"],["a","a","b"]]写一个子函数判断是否为回文。然后dfs,这个dfs比之前的稍微难理解一些。dfs函数每次输入的起点代表之前已经处理好了,从这个起点开始到结尾len的有几种长度可能组成,回文的都要dfs遍历一次,如果没有就++。例如输入为abcc,假设此时start指向b了,那么b是回文,要dfs从start+

系统 2019-08-12 01:53:47 2137

数据库相关

ARM code for Beginners

Part1:TheARMProcessorBrainPickardexplainshowanyonecanprograminARMcode.IntroductionInthesearticlesIhopetounravelthemysteryofmachinecodeprogrammingonARMRISCComputerswhichrunRISCOS.TheexamplesIwillgivewillrunonallversionsofRISCOSando

系统 2019-08-12 01:53:33 2137

数据库相关

ERROR 2002 (HY000): Can't connect to local M

用XAMPP装装好mysql之后,mysql-uroot连不上,报这个错误:ERROR2002(HY000):Can'tconnecttolocalMySQLserverthroughsocket'/var/run/mysqld/mysqld.sock'在mysql的配置文件里,/opt/lampp/etc/my.cnf,发现了这样的配置:#ThefollowingoptionswillbepassedtoallMySQLclients[client]#p

系统 2019-08-12 01:52:53 2137

数据库相关

poj 2777 Count Color

http://poj.org/problem?id=2777不多说了和贴海报那题一样http://www.cnblogs.com/liulangye/archive/2012/06/11/2545349.html代码:#include#include#include#include#include#include#include#incl

系统 2019-08-12 01:51:52 2137