码迷,mamicode.com
首页 > 2017年06月05日 > 全部分享
老男孩教育每日一题-day59-Linux root 密码忘了,如何找回来?
1、开机时手要快按任意键,因为默认时间5s图1.1倒数计时2、grub菜单,只有一个内核,没什么好上下选的,按e键。不过如果你升级了系统或安装了Xen虚拟化后,就会有多个显示了。图2.1选择系统内核并进行编辑3、接下来显示如下,选择第二项,按e键图3.1选择编辑的项目图3.2只修改..
分类:系统相关   时间:2017-06-05 10:08:15    阅读次数:254
leetcode_476:Number Complement(Bit Manipulation)(easy)
Given a positive integer, output its complement number. The complement strategy is to flip the bits of its binary representation. Note: Example 1: Exa ...
分类:其他好文   时间:2017-06-05 10:08:08    阅读次数:135
使用Jsoup 抓取页面的数据
需要使用的是jsoup-1.7.3.jar包 如果需要看文档或下载请借一步到官网:http://jsoup.org/ 这里贴一下我用到的 Java工程的测试代码 package com.javen.Jsoup; import java.io.IOException; import org.jsoup... ...
分类:Web程序   时间:2017-06-05 10:07:55    阅读次数:250
readonly于disable的区别 及 name和id的区别
readonly表示只读,只能用于文本框,当表单提交时,该表单元素的值会提交给服务器 disable表示不可用,可以用于任何元素,表示该元素不响应任何事件,同时表单提交时,该表单元素的值不会提交给服务器。 id表示网页元素在网页中的唯一标示,不能重复,可以标示任何网页元素,当表单提交后,id的内容不 ...
分类:其他好文   时间:2017-06-05 10:07:49    阅读次数:164
JSP语法
以下内容引用自http://wiki.jikexueyuan.com/project/jsp/syntax.html: 一、Scriptlet Scriptlet可以包含任意数量的JAVA语言语句,变量或方法声明,或者在页面的脚本语言中有效的表达式。 下面是Scriptlet 的语法: 可以编写相当 ...
分类:Web程序   时间:2017-06-05 10:07:40    阅读次数:290
[Leetcode] Binary search--436. Find Right Interval
Given a set of intervals, for each of the interval i, check if there exists an interval j whose start point is bigger than or equal to the end point o ...
分类:其他好文   时间:2017-06-05 10:07:30    阅读次数:159
Asio Proactor模型
...
分类:其他好文   时间:2017-06-05 10:07:23    阅读次数:101
swift switch Double
var v = 0.5; switch v{ case 0...1: println("0...1"); default: println("区间外"); } var v = 0.5; switch v{ case 0...1: println("0...1"); default: println( ...
分类:编程语言   时间:2017-06-05 10:07:15    阅读次数:142
当react框架遇上百度地图
在原生JS中使用百度地图非常简单,但我在react框架中使用时却遇到了麻烦。因为教程只给了我们一个原生JS下的使用指导, 并没有提供任何有关模块化编程下(CommonJS,AMD,ES6)的使用策略,所以我在经过一番摸索后写下了自己的教程。 ...
分类:其他好文   时间:2017-06-05 10:07:06    阅读次数:230
WCF问题集锦:ReadResponse failed: The server did not return a complete response for this request.
今日。对代码进行单元測试时。发现方法GetAllSupplyTypes报例如以下错误: [Fiddler] ReadResponse() failed: The server did not return a complete response for this request. Server re ...
分类:其他好文   时间:2017-06-05 10:06:57    阅读次数:206
hdu-1276 士兵队列训练问题
题目链接; http://acm.hdu.edu.cn/showproblem.php?pid=1276 题目类型: 数据结构-链表、模拟 题意概括: 先1、2、1、2的报数,报到2的出列,在1、2、3、1、2、3的报数,输出剩下三个人的时候,他们最初的编号。 解题思路: 通过链表模拟过程。 题目: ...
分类:其他好文   时间:2017-06-05 10:06:50    阅读次数:176
js之 单例模式
1 2 3 4 5 Document 6 7 8 46 47 107 108 109 ...
分类:Web程序   时间:2017-06-05 10:06:38    阅读次数:191
C#正则表达式简单案例解析
正则表达式主要用于字符串的操作。 1.Regex.IsMatch:判断指定的字符串是否符合正则表达式。 2.Regex.Match:提取匹配的字符串,只能提取到第一个符合的字符串。这里还可以使用组来提取。 通过括号为正则表达式分组,这样在提取时就能获取到组的信息。返回的类型是Match,通过Valu ...
分类:Windows程序   时间:2017-06-05 10:06:31    阅读次数:195
599. 列表下标最小和 Minimum Index Sum of Two Lists
Suppose Andy and Doris want to choose a restaurant for dinner, and they both have a list of favorite restaurants represented by strings.You need to he... ...
分类:其他好文   时间:2017-06-05 10:06:22    阅读次数:193
92. Reverse Linked List II
题目: Reverse a linked list from position m to n. Do it in-place and in one-pass. For example:Given 1->2->3->4->5->NULL, m = 2 and n = 4, return 1->4->3 ...
分类:其他好文   时间:2017-06-05 10:06:14    阅读次数:164
<%: Html.DisplayNameFor与 <%: Html.DisplayFor的区别
DisplayNameForModel只有在model定义了DisplayName时有用,简单说,DisplayNameFor是针对model里的"字段"别名,DisplayNameForModel则是针对整个model的别名.如果你model没有定义别名,那直接调用显然是没有什么效果和意义. 1 ...
分类:Web程序   时间:2017-06-05 10:06:04    阅读次数:187
JS之代理模式
1 2 3 4 5 Document 6 7 8 34 www.alloyteam.github.io 35 36 ...
分类:Web程序   时间:2017-06-05 10:05:52    阅读次数:163
1642条   上一页 1 ... 81 82 83 84 85 86 87 ... 97 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!