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
Wesley13 Wesley13
4年前
JDK1.8stream根据对象的某一字段去重
1ListlistnewArrayList<();2ListlistByNamelist.stream().filter(distinctByName(itemitem.getName())).collect(Collectors.toList());3privatestatic<T
Wesley13 Wesley13
4年前
ViewPager+TabLayout+Fragment刷新Fragment中的数据
1.ViewPager与TabLayout的初始化:1privatevoidinitData(){2mTabFragmentAdapternewTabFragmentFirstAdapter(getSupportFragmentManager(),mDeptType);3m
Wesley13 Wesley13
4年前
ubuntu16.0.4安装freeswitch
1\.安装freeswitch库gitclonehttps://github.com/signalwire/freeswitch.git2\.安装环境依赖aptgetinstalllibeditdevlibldnsdevlibpcre3devlibspeexdspdevlibspeexdevl
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