Skip to content

Instantly share code, notes, and snippets.

Avatar

CYK yardfarmer

  • Alibaba.inc
  • HangZhou
View GitHub Profile
View justdo_.classpath
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="execrise"/>
<classpathentry kind="src" path="datastruct"/>
<classpathentry kind="src" path="exployee"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v7.0"/>
@yardfarmer
yardfarmer / dabblet.css
Created Jun 15, 2014
The first commented line is your dabblet’s title
View dabblet.css
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
View jsbin.wutep.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>闭包是由作用域链引起的</title>
</head>
<body>
在javascript中,作用域是词法化作用域,是方法在定义的时候已经确定的,与调用无关.作用域链创建早于方法调用,得益于此,我们方能使用闭包.
</body>
</html>
View jsbin.gefaxiqe.html
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="体验form提交表单" />
<script src="http://code.jquery.com/jquery-2.1.0.min.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
View jsbin.wagay.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<p>Hello, world.</p>
</body>
</html>
View jsbin.vatuj.html
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-git2.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
</body>
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
View table-with-colspan-rowspan.css
body {
font: 100% sans-serif; /* This results in Arial on Windows and Helvetica on OS X. */
}
table {
/* The default setting is border-collapse: separate;. By changing separate to collapse as shown below, the space between each table cell is removed. */
border-collapse: collapse;
-webkit-box-shadow: 3px 3px 7px #055584;
-moz-box-shadow: 3px 3px 7px #055584;
View TextController.java
package com.codinglion.controller;
import com.codinglion.model.Text;
import com.codinglion.service.TextService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
View dropdown.js
/* ========================================================================
* Bootstrap: dropdown.js v3.2.0
* http://getbootstrap.com/javascript/#dropdowns
* ========================================================================
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
+function ($) {
You can’t perform that action at this time.