#一些互联网使用方法 ###目录:
- youtube下载视频(包括1080p).
- 翻墙.
- 不翻墙使用Google Search.
- 关于本文.
- 解释
###youtube下载视频
There's another good reason to autowire interface types rather than class types, which is that if Spring needs | |
to generate a proxy object around the bean before injecting it, then if the bean's class defines any | |
interfaces, then the proxy will implement those interfaces, and will not be type-compatible with the bean class | |
itself. If you then try and autowire that bean by class type, it will fail. The easiest way to avoid this | |
annoying scenario is to always autowire by interface type, that way it will lways work as you expect. | |
http://stackoverflow.com/questions/5288153/using-spring-to-wire-directly-a-concrete-class |
//attach http proxy | |
System.setProperty("http.proxyHost", "127.0.0.1"); | |
System.setProperty("http.proxyPort", "8087"); |
$(function () { | |
$('#exercise-stat-chart-2').highcharts({ | |
title: { | |
text: '' | |
}, | |
xAxis: { | |
title: { | |
text: '课次' | |
}, | |
allowDecimals: false, |
#一些互联网使用方法 ###目录:
###youtube下载视频
Table of Contents generated with DocToc
import javax.ws.rs.OPTIONS; | |
import javax.ws.rs.Path; | |
import javax.ws.rs.Produces; | |
import javax.ws.rs.core.MediaType; | |
import javax.ws.rs.core.Response; | |
import org.springframework.stereotype.Service; | |
@Produces(MediaType.APPLICATION_JSON) | |
@Path("/") |
[options] | |
module.name_mapper='^\(.*\)\.css$' -> '<PROJECT_ROOT>/CSSModule.js.flow' | |
[libs] | |
CSSModule.js.flow |
"use strict"; | |
var fs = require("fs"); | |
var path = require("path"); | |
var Module = require("module"); | |
var _resolveFilename = Module._resolveFilename.bind(Module); | |
var cache = {}; | |
var SRC_PATH = path.resolve(__dirname, "../"); |
import cv | |
import time | |
tolerance = 2 | |
webcam_stream = cv.CaptureFromCAM(0) | |
print cv.GetCaptureProperty(webcam_stream,cv.CV_CAP_PROP_FPS) | |
print cv.GetCaptureProperty(webcam_stream,cv.CV_CAP_PROP_FRAME_WIDTH) | |
print cv.GetCaptureProperty(webcam_stream,cv.CV_CAP_PROP_FRAME_HEIGHT) |