摘要:
cd ~ ,当前用户目录cd / ,根目录cd - ,上一次访问的目录cd .. ,上一级目录cd ,当前用户目录 touch 创建一个空文件 tail -10 /ect/passwd 查看后10行数据tail -f catelina.log 动态查看日志Ctrl + C 退出 kill -9 端口 阅读全文
摘要:
安装zookeeper1. 上传上传zookeeper,在\01课前资料\02技术资料2. 移动[root@itcast-01 ~]# mv zookeeper-3.4.6.tar.gz /usr/local/[root@itcast-01 ~]# cd /usr/local/ 3. 解压[root 阅读全文
摘要:
public interface Sorter{ public <T extends Comparable<T>> void sort(T[] list); //定义两个待排序的集合 } public class bubblie implements Sorter{ public <T extend 阅读全文
摘要:
类型.class对象.getclassclass.forName(); 阅读全文
摘要:
package cn.itcast.bos.utils; import java.math.BigInteger; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public cl 阅读全文
摘要:
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
摘要:
<script type="text/javascript"> var clock = ''; var nums = 60; var btn; function sendCode(thisBtn) { var telephone = $("#telephone").val(); var reg = 阅读全文
摘要:
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page import="java.util.Random"%> <%@ page import="java.io.O 阅读全文
摘要:
package cn.itcast.bos.utils; import java.util.Properties; import javax.mail.Message; import javax.mail.Session; import javax.mail.Transport; import ja 阅读全文
摘要:
package cn.itcast.bos.utils; import java.io.IOException; import java.net.URLEncoder; import sun.misc.BASE64Encoder; public class FileUtils { /** * 下载文 阅读全文
摘要:
package cn.itcast.bos.utils; import java.util.Arrays; import net.sourceforge.pinyin4j.PinyinHelper; import net.sourceforge.pinyin4j.format.HanyuPinyin 阅读全文
摘要:
package cn.itcast.bos.utils; import com.aliyuncs.DefaultAcsClient; import com.aliyuncs.IAcsClient; import com.aliyuncs.dysmsapi.model.v20170525.SendSm 阅读全文
摘要:
public String expData() throws Exception{ List<SubArea> list = subAreaService.findAll(); HSSFWorkbook hssf = new HSSFWorkbook(); HSSFSheet sheet = hss 阅读全文
摘要:
mybatis核心配置文件的配置 <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/m 阅读全文
摘要:
package cn.itcast.utils; import java.io.File; import java.nio.file.Path; import java.util.HashMap; import com.google.zxing.BarcodeFormat; import com.g 阅读全文