Skip to content

Instantly share code, notes, and snippets.

View yardfarmer's full-sized avatar

explorer yardfarmer

  • Alibaba.inc
  • HangZhou
View GitHub Profile
<?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 June 15, 2014 08:22
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>闭包是由作用域链引起的</title>
</head>
<body>
在javascript中,作用域是词法化作用域,是方法在定义的时候已经确定的,与调用无关.作用域链创建早于方法调用,得益于此,我们方能使用闭包.
</body>
</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>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<p>Hello, world.</p>
</body>
</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>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
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;
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;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Table with colspan and rowspan</title>
<link rel="stylesheet" href="css/table-with-colspan-rowspan.css" />
</head>
<body>
<table>