码迷,mamicode.com
首页 >  
搜索关键字:tco    ( 5870个结果
Spring Boot如何让某个Controller支持跨源请求,以及如何让Controller类某个成员方法支持跨源请求
有些时候,你需要让你的应用在大部分的时候,仅仅支持当前域名下的请求。而仅仅在极其特殊的几个场合下,才支持跨源请求。这个时候,你需要把跨源请求仅仅缩小在几个Controller上,或者Controlle...
分类:编程语言   时间:2017-02-02 12:18:02    阅读次数:797
Win32 COM组件 x Android Service
Android Service 一是处理Intent请求,二是像COM组件一样提供接口访问功能。Context.startService和Service.onStart这样的命名设计真误导人。 ...
分类:移动开发   时间:2017-02-02 10:48:24    阅读次数:181
canvas制作倒计时炫丽效果
<!DOCTYPE html> <head> <title>canvas倒计时</title> <style> .canvas{ display: block; border: 1px solid #000; margin: 50px auto; } </style> </head> <body> ...
分类:其他好文   时间:2017-02-01 23:53:22    阅读次数:385
LeetCode "Teemo Attacking"
Isn't it 'Easy'? ...
分类:其他好文   时间:2017-02-01 10:34:13    阅读次数:226
wpf 实现 css3 中 boxshadow inset 效果
//调一调颜色和 box 的 Rotate,就会出现小星星! ...
分类:Windows程序   时间:2017-02-01 00:46:27    阅读次数:315
[codeforces538E]Demiurges Play Again
[codeforces538E]Demiurges Play Again 试题描述 Demiurges Shambambukli and Mazukta love to watch the games of ordinary people. Today, they noticed two men w ...
分类:其他好文   时间:2017-01-31 19:21:53    阅读次数:298
leetcode 7 Reverse Integer
class Solution { public: int reverse(int x) { int res = 0; while (x != 0) { int t = res * 10 + x % 10; if (t / 10 != res) return 0; res = t; x /= 10; ...
分类:其他好文   时间:2017-01-31 00:30:19    阅读次数:178
leetcode 5 ZigZag Converesion
class Solution { public: string convert(string s, int nRows) { if (nRows <= 1) return s; string res = ""; int size = 2 * nRows - 2; for (int i = 0; i ...
分类:其他好文   时间:2017-01-29 20:40:13    阅读次数:191
LeetCode 260. Single Number III
转载请注明出处:http://www.cnblogs.com/liangyongrui/p/6354552.html 异或的妙用。 一开始读题不仔细,以为有很多的孤立数字。 没想到就两个- - 然后参考了别人的思路。 具体见代码: ...
分类:其他好文   时间:2017-01-28 22:07:19    阅读次数:226
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!