1 package com.jdk7.chapter5; 2 3 public class JavaIdentifier { 4 5 /** 6 * 使用Character.isJavaIdentifierPart判断字符是否属于java标识符 7 it is a letter 8 it is a ... ...
分类:
编程语言 时间:
2018-02-22 23:07:59
阅读次数:
231
一、批量操作 1、添加依赖包,参考上篇文章 Mybatis+mysql入门使用 2、初始化数据库和初始数据,以mysql为例 DROP DATABASE IF EXISTS moy_mybatis; CREATE DATABASE moy_mybatis CHARACTER SET UTF8; US ...
分类:
其他好文 时间:
2018-02-21 19:40:09
阅读次数:
237
[抄题]: 给出一个字符串。找到字符串中第一个不重复的字符然后返回它的下标。如果不存在这样的字符,返回 -1。 给出字符串 s = "lintcode",返回 0。给出字符串 s = "lovelintcode",返回 2。 [暴力解法]: 时间分析: 空间分析: [思维问题]: [一句话思路]: ...
分类:
其他好文 时间:
2018-02-17 15:50:54
阅读次数:
174
Metasploitable2使用指南 Metasploitable2 虚拟系统是一个特别制作的ubuntu操作系统,本身设计作为安全工具测试和演示常见漏洞攻击。版本2已经可以下载,并且比上一个版本包含更多可利用的安全漏洞。这个版本的虚拟系统兼容VMware,VirtualBox,和其他虚拟平台。默 ...
分类:
Web程序 时间:
2018-02-16 17:08:05
阅读次数:
590
[抄题]: 接口:int read4(char * buf)一次从文件中读取 4 个字符。返回值是实际读取的字符数。 例如,如果文件中只剩下 3 个字符,则返回 3。通过使用read4 接口,实现从文件读取 n 个字符的函数int read(char * buf,int n)。 [暴力解法]: 时间 ...
分类:
其他好文 时间:
2018-02-14 11:40:15
阅读次数:
127
The Global Aerial Research Centre has been allotted the task of building the fifth generation of mobile phone nets in Sweden. The most striking reason ...
分类:
其他好文 时间:
2018-02-13 23:42:15
阅读次数:
326
在 HTML 中,某些字符是预留的 在 HTML 中不能使用小于号(<)和大于号(>),这是因为浏览器会误认为它们是标签 如果希望正确地显示预留字符,我们必须在 HTML 源代码中使用字符实体(character entities) 字符实体类似这样 > 提示: 使用实体名而不是数字的好处是,名称易 ...
分类:
Web程序 时间:
2018-02-12 21:43:17
阅读次数:
214
1).zabbix-server 要安装zabbix-server首先需要安装MySQL数据库,当然你可以将MySQL换成其他的数据库 1.1)创建zabbix数据库:CREATE DATABASE zabbix_server CHARACTER SET utf8; 1.2)创建zabbix用户并为... ...
分类:
其他好文 时间:
2018-02-12 16:59:02
阅读次数:
196
Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng ...
分类:
其他好文 时间:
2018-02-12 00:47:59
阅读次数:
214
网页配色方案: http://www.divcss5.com/peise/#character_14 ...
分类:
Web程序 时间:
2018-02-10 17:34:13
阅读次数:
288