修改polls/templates/polls/detail.html, 以便模板包含一个HTML <form>元素: 修改polls/views.py: 新建polls/results.html: 启动服务 python manage.py runserver 访问http://127.0.0.1 ...
分类:
其他好文 时间:
2018-04-03 14:25:42
阅读次数:
244
1. resume improving 1.1 project from Udacity 1.2 project from class 1.3 find career center's help 1.4 after summer research results and find professor ...
分类:
其他好文 时间:
2018-03-31 12:07:01
阅读次数:
152
1.mysql安装包打开后异常:this application requires .NET Framework 解决方法:在http://search.microsoft.com/zh-cn/results.aspx?q=.net+framework&x=0&y=0 下载Microsoft.NET ...
分类:
移动开发 时间:
2018-03-22 19:24:59
阅读次数:
1661
重新刷jsES5基础知识,看到了闭包这块。遵循着又笨又懒的原则,我不想记录概念,就想知道它是怎么来的,先看个例子(廖雪峰官网闭包中的例子)。 说下想干什么,我想输出的results=[1,4,9] console.log(f1()); console.log(f2()); console.log(f ...
分类:
Web程序 时间:
2018-03-22 10:53:16
阅读次数:
256
本示例为Exchange2016可使用Get-InboxRule命令获取邮箱规则Get-InboxRule-Mailboxzhaodongwei批量导出$Mailboxes=Get-ContentE:\001scripts\InboxRule.txt$Results=foreach($Mailboxin$mailboxes){Get-InboxRule-Mailbox$mailboxSelect-
分类:
其他好文 时间:
2018-03-15 17:02:06
阅读次数:
316
先用sort 进行简单排序,再用reduce去重let arr=[1,2,3,1,2,3,4,4,5,3,4,6];let results=arr.sort().reduce((init,current)=>{ if(init.length==0||init[init.length-1]!=curr ...
分类:
编程语言 时间:
2018-03-08 00:14:13
阅读次数:
229
1 function getByClass(oParent,cName){ 2 var elements = document.getElementsByTagName('*'); 3 var i = 0; 4 var results = []; 5 for(var i=0;i0?Math.ceil... ...
分类:
Web程序 时间:
2018-03-04 18:12:16
阅读次数:
252
Remove the minimum number of invalid parentheses in order to make the input string valid. Return all possible results. Note: The input string may cont ...
分类:
其他好文 时间:
2018-02-28 10:36:39
阅读次数:
164
一、bouncing results成因及解决方案 bouncing results问题,两个document排序,field值相同;不同的shard上,可能排序不同;每次请求轮询路由到不同的replica shard上;每次页面上看到的搜索结果的排序都不一样。这就是bouncing result的... ...
分类:
其他好文 时间:
2018-02-26 17:45:37
阅读次数:
124
在第二个地址中,文件的下载地址为:http://www.java.net/download/openjdk/jdk7/promoted/b147/openjdk-7-fcs-src-b147-27_jun_2011.zip 对比第三个地址: http://www.java.net/download/ ...
分类:
其他好文 时间:
2018-02-11 10:46:26
阅读次数:
1336