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
$(function () { | |
$('#exercise-stat-chart-2').highcharts({ | |
title: { | |
text: '' | |
}, | |
xAxis: { | |
title: { | |
text: '课次' | |
}, | |
allowDecimals: false, |
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
@RequestMapping("/") | |
public ModelAndView welcome (ModelMap model) { | |
ModelAndView view = new ModelAndView("index"); | |
model.addAttribute("introSelf", "I'm Spring, I'm Coming."); | |
return view; | |
} | |
@RequestMapping("/") | |
public String welcome (ModelMap model) { | |
model.addAttribute("introSelf", "I'm Spring, I'm Coming."); |
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
<bean id="viewResolver" | |
class="org.springframework.web.servlet.view.InternalResourceViewResolver" > | |
<property name="prefix"> | |
<value>/WEB-INF/pages/</value> | |
</property> | |
<property name="suffix"> | |
<value>.jsp</value> | |
</property> | |
</bean> |
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
//attach http proxy | |
System.setProperty("http.proxyHost", "127.0.0.1"); | |
System.setProperty("http.proxyPort", "8087"); |
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
RestTemplate tpl = new RestTemplate(); | |
List cvts = tpl.getMessageConverters(); | |
for (int i = 0; i < cvts.size(); i++) { | |
List smts = ((HttpMessageConverter)cvts.get(i)).getSupportedMediaTypes(); | |
for (int j = 0; j < smts.size(); j++) { | |
System.err.println(smts.get(j)); | |
} | |
} |
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
find /home/mindfine/下载/图片/ -name "*.bmp" -exec java ImgToArray {} {}.txt \; |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>JavaScript Test</title> | |
</head> | |
<body> | |
</body> | |
</html> |
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
function pmt(eleId, pmt) { | |
if( document.getElementById("pmt") != null ){ | |
return ; | |
} | |
var pmtLabel = document.createElement("div"); | |
pmtLabel.id = "pmt"; | |
pmtLabel.innerHTML = pmt; | |
var pmtTriangle = document.createElement("div"); | |
pmtTriangle.id = "pmtTriangle"; |
NewerOlder