Skip to content

Instantly share code, notes, and snippets.

@repoplus
repoplus / jQuery-plugin-authoring.md
Created September 8, 2017 05:39 — forked from quexer/jQuery-plugin-authoring.md
如何编写 jQuery 插件

创建插件


看来 jQuery 你已经用得很爽了,想学习如何自己编写插件。非常好,这篇文档正适合你。用插件和方法来扩展 jQuery 非常强大,把最聪明的功能封装到插件中可以为你及团队节省大量开发时间。

开始

wnameless/oracle-xe-11g使用

1、拉取

docker pull wnameless/oracle-xe-11g

2、部署

 docker run -d -p 49160:22 -p 49161:1521 -e ORACLE_ALLOW_REMOTE=true wnameless/oracle-xe-11g
@repoplus
repoplus / plupload.md
Last active August 19, 2016 05:42
plupload 上传插件

plupload 上传插件配置

所需支持
<script type="text/Javascript" src="<%=contextPath%>/plupload/jquery-1.7.2.min.js"></script>
<link rel="stylesheet" href="<%=contextPath%>/plupload/jquery.plupload.queue/css/jquery.plupload.queue.css" type="text/css"/>
<script type="text/javascript" src="<%=contextPath%>/plupload/plupload.full.min.js"></script>
<script type="text/javascript" src="<%=contextPath%>/plupload/jquery.plupload.queue/jquery.plupload.queue.js"></script>
<script type="text/javascript" src="<%=contextPath%>/plupload/i18n/zh_CN.js"></script>
@repoplus
repoplus / shiro_config.md
Created June 20, 2016 05:45
shiro配置

spring

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:util="http://www.springframework.org/schema/util" xmlns:aop="http://www.springframework.org/schema/aop" xsi:schemaLocation="
	http://www.springframework.org/schema/beans 
	http://www.springframework.org/schema/beans/spring-beans-3.2.xsd 
	http://www.springframework.org/schema/aop 
	http://www.springframework.org/schema/aop/spring-aop-3.2.xsd
    http://www.springframework.org/schema/context 
@repoplus
repoplus / activiti.md
Created June 8, 2016 01:37
activiti配置文件
<!-- Activiti uuid support,by fastxml with java-uuid-generator -->
   <bean id="uuidGenerator" class="org.activiti.engine.impl.persistence.StrongUuidGenerator" />

   <!-- Activiti begin -->
   <bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
   	<property name="dataSource" ref="dataSource" />
   	<property name="transactionManager" ref="transactionManager" />
   	<property name="databaseSchemaUpdate" value="true" />
   	<property name="jobExecutorActivate" value="true" />
@repoplus
repoplus / maven_and_tomcat_plugins.md
Last active June 8, 2016 01:22
maven、设置编码、jdk版本、tomcat插件、设置端口号、访问url、jvm内存

设置项目编码和jdk版本

<plugins>
	<plugin>
		<groupId>org.apache.maven.plugins</groupId>
		<artifactId>maven-compiler-plugin</artifactId>
		<version>3.1</version>
		<configuration>
			<source>1.7</source>