This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"auth": "jahentao<[email protected]>", | |
"output": null, | |
"generator": "site", | |
"title": "Sample GitBook", | |
"description": null, | |
"isbn": "978-3-16-148410-0", | |
"extension": null, | |
"plugins": ["disqus"], | |
"pluginsConfig": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
Setlocal enabledelayedexpansion | |
::CODER BY jahentao POWERD BY iBAT | |
(del /f *.exe)4>>%0 2>nul | |
pause | |
::1>nul 意思是不显示命令运行的正确提示 | |
::2>nul 是不显示错误提示 | |
::一起就是 正确错误的都不显示 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int Max3( int A, int B, int C ) | |
{ /* 返回3个整数中的最大值 */ | |
return A > B ? A > C ? A : C : B > C ? B : C; | |
} | |
int DivideAndConquer( int List[], int left, int right ) | |
{ /* 分治法求List[left]到List[right]的最大子列和 */ | |
int MaxLeftSum, MaxRightSum; /* 存放左右子问题的解 */ | |
int MaxLeftBorderSum, MaxRightBorderSum; /*存放跨分界线的结果*/ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head profile="http://selenium-ide.openqa.org/profiles/test-case"> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<link rel="selenium.base" href="https://pan.baidu.com/" /> | |
<title>百度云重复文件删除</title> | |
</head> | |
<body> | |
<table cellpadding="1" cellspacing="1" border="1"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:security="http://www.springframework.org/schema/security" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.springframework.org/schema/beans | |
http://www.springframework.org/schema/beans/spring-beans-4.0.xsd | |
http://www.springframework.org/schema/security | |
http://www.springframework.org/schema/security/spring-security.xsd"> | |
<!-- 权限不拦截静态资源 --> | |
<security:http pattern="/js/**" security="none" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
也可在线使用国内[最著名]的mybatis代码生成网站 --- fwjava.com | |
----------------------------------------------------------------- | |
第一步:先安装mybatis-generator插件; | |
第二步:创建maven项目, 在src/main/resources下创建generatorConfig.xml | |
第三步:配置generatorConfig.xml,具体配置如下: | |
--> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[xdebug] | |
;refer to https://xdebug.org/docs/all_settings | |
zend_extension="/usr/lib/php/20151012/xdebug.so" | |
xdebug.remote_enable=1 | |
xdebug.remote_handler=dbgp | |
xdebug.remote_host=192.168.237.1 | |
xdebug.remote_port=9010 | |
;xdebug.remote_connect_back=1 | |
;xdebug.remote_port=9800 | |
xdebug.idekey=PHPSTORM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 尝试抽象更为一般的 | |
* TODO | |
* select中用反射实现属性的自动装配 | |
*/ | |
import java.beans.BeanInfo; | |
import java.beans.Introspector; | |
import java.beans.PropertyDescriptor; | |
import java.lang.reflect.Constructor; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
delimiter // | |
CREATE PROCEDURE curdemo() | |
BEGIN | |
DECLARE done INT DEFAULT FALSE; | |
DECLARE a CHAR(16); | |
DECLARE b, c INT; | |
DECLARE cur1 CURSOR FOR SELECT id,data FROM test.t1; | |
DECLARE cur2 CURSOR FOR SELECT i FROM test.t2; | |
DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<!--自定义SCHEMA--> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
targetNamespace="http://www.jahentao.com" | |
xmlns="http://www.jahentao.com" | |
elementFormDefault="qualified"> | |
<!--SCHEMA文档中的子元素的名字和类型的定义--> | |
</xs:schema> |