修也

实践出真知.

Java java -jar xxx.jar的classpath问题

要想运行java jar,并且设置好该jar的运行时依赖包,就行下面这个命令: java -Xbootclasspath/a:依赖的jar名.jar -jar xxx.jar  

2018-09-16 20:17:24

阅读数:79

评论数:0

JavaScript 多继承

<script type="text/javascript"> let interface1 = Base => class extends Base{ f1(){console.lo...

2018-08-25 20:00:35

阅读数:37

评论数:0

JavaScript dynamic import

export1.js: export function hello(){ console.log("Hello,module!"); } $("#text").append("<...

2018-08-23 23:30:39

阅读数:74

评论数:0

JavaScript [不讲理论只要看到的实际效果] import和export基本使用完整的代码级别实例

export1.js: export function hello(){ console.log("Hello,module!"); } $("#text").append("<h...

2018-08-23 23:03:55

阅读数:52

评论数:0

Windows 修改任务栏[链接]图标(图标显示不正确)

C:\Users\Administrator\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar  

2018-08-23 22:51:24

阅读数:192

评论数:0

JavaScript 检查日期格式

isDate(d){ // let regStr = "^(((\d+/0[1-9]/((0[1-9])|([1-2][0-9])|(3[0-1])))|(\d+/1[0-2]/((0[1-9])|([1-2][0-9])|(3[0-1]))))|((\d+-0[1-9]-(...

2018-08-19 18:12:41

阅读数:96

评论数:0

JavaScript Timer

class Timer{ constructor(callback,interval=1000,...params) { if(!callback){ throw "Must to input callback function!"; } ...

2018-08-13 22:58:39

阅读数:31

评论数:0

CSS 梯形页标签 实现(主要利用transform属性)

.ladder2{ position:relative;/* * */ display:inline-block; padding: .3em 1em 0; /* z-index:1; */ } .ladder2::before{ content: ' ';/* * */ ...

2018-07-23 23:27:13

阅读数:218

评论数:0

CSS 梯形页标签 实现(主要利用border属性)

<!DOCTYPE html> <html> <head> <meta charset="UTF-8"&a...

2018-07-20 01:05:14

阅读数:168

评论数:0

zTree 模糊搜索

<!DOCTYPE html> <html> <head> <meta charset="UTF-8"&a...

2018-07-19 23:55:57

阅读数:85

评论数:0

Java 树节点模糊查询

树节点类: package com.xiuye.util.tree; import java.util.List; public class TreeNode<T> { private T value; private T status; ...

2018-07-19 01:29:43

阅读数:243

评论数:0

MySQL [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause

select @@sql_mode; set global sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_S...

2018-07-17 22:59:45

阅读数:59

评论数:0

Spring Boot 学习 @Transactional注解 事务生效了吗?一种查看方式(打印log)

1.首先,找到spring boot的默认的事务管理器,一般继承至于org.springframework.transaction.PlatformTransactionManager2.设置事务管理器打印log,应该包含开始事务,结束事务的输出日志.eg.我的工程包含JPA,MyBatis,在S...

2018-07-15 23:12:22

阅读数:666

评论数:0

Spring Boot 学习 基本配置能运行项目 (包含Servlet,Filter,Listener,JPA,MyBatis,Thymeleaf)

在spring官网上下载工程 : Spring Boot Project1.配置文件:application.properties#datasource spring.datasource.driverClassName=com.mysql.jdbc.Driver spring.datasourc...

2018-07-15 20:07:59

阅读数:48

评论数:0

VC++ native event (I think its pattern is a little like Qt "signal slot")

#include<iostream> using namespace std; [event_source(native)] struct Source{ __event void happened(int value); }; [event_...

2018-05-27 23:57:15

阅读数:53

评论数:0

JavaScript DOM Canvas 2

function create_canvas(id,width,height){ var canvas = document.createElement("canvas"); //canvas.width = width; /...

2018-05-27 22:08:29

阅读数:54

评论数:0

JavaScript DOM 1

function print(str) { document.write("<strong style='color:green;'>"+str+"</strong...

2018-05-26 23:32:12

阅读数:59

评论数:0

JavaScript OOP 10

function print(str) { document.write("<strong style='color:green;'>"+str+"</strong...

2018-05-26 19:56:47

阅读数:50

评论数:0

JavaScript BOM 1

function print(str) { document.write("<strong style='color:green;'>"+str+"</strong&a...

2018-05-25 23:00:13

阅读数:81

评论数:0

JavaScript OOP 9

function print(str) { document.write("<strong style='color:green;'>"+str+"</strong&a...

2018-05-25 22:24:43

阅读数:41

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭