Easter79 Easter79
4年前
supervisor 监控redis & mongodb
安装1.安装pythonbrewinstallpython2.安装pipwgethttps://bootstrap.pypa.io/getpip.pysudopythongetpip.py3.安装supervisorpipins
Wesley13 Wesley13
4年前
java学习之—使用栈实现字符串数字四则运算
/使用栈存储后缀表达式CreatebyAdministrator2018/6/130013下午2:25/publicclassStackX{privateintmaxSize;privatec
Stella981 Stella981
4年前
CentOS7(mini) 安装 Kubernetes 集群(kubeadm方式)
CentOS7(mini)安装Kubernetes集群(kubeadm方式)安装CentOS1.安装nettoolsroot@localhost~yuminstallynettools2.
Stella981 Stella981
4年前
FTP服务器之pure
1.    Mysql的连接       root@localhost~mysqlurootpxxxxxx(yourmysqlpassword)2.    建立mysql认证数据库mysqlcreatedatabasepureftpd;mysqlgrantprivilegesallon
Stella981 Stella981
4年前
JavaScript 查找替换
@echooffrem查询searchd服务是否存在scquery|find/i"searchd"nul2nulifnoterrorlevel1(gotoexist)elsegotonotexistrem存在searchd服务
Stella981 Stella981
4年前
ExecutorService线程池
ExecutorService建立多线程的步骤:1。定义线程类classHandlerimplementsRunnable{}2。建立ExecutorService线程池ExecutorServiceexecutorServiceExecutors.newCachedThreadPool();或者
Wesley13 Wesley13
4年前
ViewPager+TabLayout+Fragment刷新Fragment中的数据
1.ViewPager与TabLayout的初始化:1privatevoidinitData(){2mTabFragmentAdapternewTabFragmentFirstAdapter(getSupportFragmentManager(),mDeptType);3m
Stella981 Stella981
4年前
Spring Security实现记住我功能
POM:1  <dependency2<groupIdorg.springframework.security</groupId3<artifactIdspringsecurityweb</artifactId4<version5.0.4.RE
Stella981 Stella981
4年前
Linux substring & if
!/bin/bashx.$HOME/.bash_profilevarPOJ_2versionNumber${var:4:1}if"$versionNumber""1";thenecho"Project1"elif"$versionNum
Stella981 Stella981
4年前
JavaScript字符串练习
题目:预备代码:1//自定义输出2varlogfunction(){3console.log.apply(this,arguments);4};567//8