摘要: package lianbiao; public class NodeManger { private Node root; private int currentIndex = 0; //添加 public void add(int data) { if (root == null) { root = new Nod... 阅读全文
posted @ 2018-04-03 23:17 宋发准 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 1.使用递归算法,求1+2+3..100=? 2.使用递归算法,第一个人10,第二个比第一个大2,求第八个人? 3.有ab两个文件,a 以换行符分割,b以换行或者空格分割,把ab两个文件交替合并到c文件中去. 图书馆有AB两个在线在职,user1,user2订阅A,user3,user4,user1 阅读全文
posted @ 2018-04-03 23:16 宋发准 阅读(153) 评论(0) 推荐(0) 编辑
摘要: DROP TABLE IF EXISTS `course`;CREATE TABLE `course` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`)) ENGI 阅读全文
posted @ 2018-04-01 18:09 宋发准 阅读(247) 评论(0) 推荐(0) 编辑
摘要: package club.iyousi.controller; import javafx.application.Application; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annot... 阅读全文
posted @ 2018-03-08 21:57 宋发准 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 1.安装nginx 下载地址:http://nginx.org/download/nginx-1.13.9.tar.gz 解压 进入目录 编译 注意:这时候报错了 这时候我们就要百度一下了,百度得知我们少一个gcc编译器 可以这么去安装 yum -y install gcc-c++ 一大堆的提示,也 阅读全文
posted @ 2018-03-02 10:06 宋发准 阅读(1228) 评论(0) 推荐(0) 编辑
摘要: 把映射路径写错了,写到controller里面,结果出现了未知错误.记录一下. 阅读全文
posted @ 2018-02-02 15:49 宋发准 阅读(164) 评论(0) 推荐(0) 编辑
摘要: java导出mysql备份 public String BackDBNow(HttpServletRequest request, String path, String username, String password) throws IOException { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd H... 阅读全文
posted @ 2018-02-02 10:42 宋发准 阅读(211) 评论(0) 推荐(0) 编辑
摘要: SELECT TABLE_SCHEMA, TABLE_NAME, COLUMN_NAME, COLUMN_TYPE, COLUMN_COMMENT FROM information_schema. COLUMNS WHERE TABLE_SCHEMA = '数据库名称' 阅读全文
posted @ 2018-02-01 13:53 宋发准 阅读(3023) 评论(0) 推荐(0) 编辑
摘要: public class MD5Util { /** * MD5加密 * * @param str * @return * @throws NoSuchAlgorithmException * @throws UnsupportedEncodingException */ public static Stri... 阅读全文
posted @ 2018-01-31 13:39 宋发准 阅读(136) 评论(0) 推荐(0) 编辑
摘要: package com.fz.song.udp; import java.io.IOException; import java.net.*; /** * upd */ public class Cline { public static void main(String[] args) throw 阅读全文
posted @ 2018-01-16 23:00 宋发准 阅读(102) 评论(0) 推荐(0) 编辑