摘要: 一、基础规范(1)必须使用InnoDB存储引擎解读:支持事务、行级锁、并发性能更好、CPU及内存缓存页优化使得资源利用率更高 (2)必须使用UTF8字符集解读:万国码,无需转码,无乱码风险,节省空间 (3)数据表、数据字段必须加入中文注释解读:N年后谁tm知道这个r1,r2,r3字段是干嘛的 (4) 阅读全文
posted @ 2018-05-21 22:48 ●ら任┊逍遥 阅读(429) 评论(0) 推荐(0) 编辑
摘要: Linux安装ftp组件1 安装vsftpd组件安装完后,有/etc/vsftpd/vsftpd.conf 文件,是vsftp的配置文件。[root@bogon ~]# yum -y install vsftpd 2 添加一个ftp用户此用户就是用来登录ftp服务器用的。[root@bogon ~] 阅读全文
posted @ 2018-05-21 22:38 ●ら任┊逍遥 阅读(80) 评论(0) 推荐(0) 编辑
摘要: <html><head><script type = 'text/javascript'> var curRow; //全局行号 var curRowId; //选中行的记录信息的ID var curColor; function selectRow(tr){//tr行本身 curRow = tr; 阅读全文
posted @ 2018-05-21 22:30 ●ら任┊逍遥 阅读(135) 评论(0) 推荐(0) 编辑
摘要: String domain = "www.ykmaiz.com";String domain1 = "该域名%s被访问了%s次.";int iVisit = 0;System.out.printf(String.format(domain1, domain , iVisit)); String do 阅读全文
posted @ 2018-05-21 22:25 ●ら任┊逍遥 阅读(323) 评论(0) 推荐(0) 编辑
摘要: public void fd() throws IOException { System.out.print(fileMD5("e://11.txt").toLowerCase()); } private static String fileMD5(String inputFile) throws IOException { // 缓冲区大小(这个可以抽出一个... 阅读全文
posted @ 2018-05-21 22:23 ●ら任┊逍遥 阅读(151) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { // Properties pps = new Properties();// try {// pps.load(new InputStreamReader(new FileInputStream("config/co 阅读全文
posted @ 2018-05-21 22:22 ●ら任┊逍遥 阅读(72) 评论(0) 推荐(0) 编辑
摘要: public static String Img(MultipartFile file,HttpServletRequest servletRequest,int type,int width,int height){ SimpleDateFormat df = new SimpleDateFormat("yyyyMMddHHmmss");//获取当时时间 String img=df.forma... 阅读全文
posted @ 2018-05-21 22:10 ●ら任┊逍遥 阅读(132) 评论(0) 推荐(0) 编辑