location?~*?\.(gif|jpg|jpeg|png|ico)$?{
valid_referers?none?blocked?www.oschina.net?oschina.net;
if?($invalid_referer)?{
????rewrite?^/?/daolian.jpg;
}
access_log?off;
root?/opt/we...
分类:
其他好文 时间:
2015-05-02 12:32:56
阅读次数:
140
1.题目Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: Panama" is a palindrome."race a car" is not a pali...
分类:
其他好文 时间:
2015-05-01 18:46:29
阅读次数:
129
Valid Sudoku
Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.
The Sudoku board could be partially filled, where empty cells are filled with the character '.'.
...
分类:
其他好文 时间:
2015-05-01 16:08:47
阅读次数:
167
Valid SudokuTotal Accepted:33447Total Submissions:122453My SubmissionsQuestionSolutionDetermine if a Sudoku is valid, according to:Sudoku Puzzles - Th...
分类:
其他好文 时间:
2015-05-01 13:13:48
阅读次数:
89
classselenium.webdriver.support.select.Select(webelement)deselect_all()Clear all selected entries. This is only valid when the SELECT supports multipl...
Longest Valid Parentheses
Given a string containing just the characters '(' and ')',
find the length of the longest valid (well-formed) parentheses substring.
For "(()", the longest valid pa...
分类:
其他好文 时间:
2015-04-29 15:06:06
阅读次数:
126
Given a string containing only digits, restore it by returning all possible valid IP address combinations.
For example:
Given "25525511135",
return ["255.255.11.135", "255.255.111.35"]. (Order ...
分类:
其他好文 时间:
2015-04-29 11:51:16
阅读次数:
147
weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot id...
分类:
Web程序 时间:
2015-04-29 09:51:49
阅读次数:
177
一直对ios的armv7、armv7s、arm64似懂非懂的,只知道如果报No architectures to compile for (ARCHS=i386, VALID_ARCHS=armv6 armv7)这样的错误是他们不兼容删除一下就行了,但是不知道根源,特意去网上查了一下。ios指令集:...
分类:
移动开发 时间:
2015-04-28 18:15:54
阅读次数:
198
题目传送门 1 /* 2 题意:手机划屏解锁,一笔连通所有数字,输出所有可能的路径; 3 DFS:全排列 + ok () 判断函数,去除一些不可能连通的点:) 4 */ 5 #include 6 #include 7 #include 8 #include ...
分类:
其他好文 时间:
2015-04-28 16:02:29
阅读次数:
132