- 博客(20)
- 收藏
- 关注
转载 radiotap header
关于radiotap header802.11中的radiotap802.11中的radiotapmonitor模式下ieee802.11在收到桢之后还要在外边包一层称为prism或radiotap的头部,里面包含一些RF射频信息,诸如频道,频率,速率等,这个头部是在ieee802.11成桢后(RX)流经内核mac80211层时加上去的,代码在net/mac80211里。所以这是一个纯软件机...
2018-12-14 15:56:11 1489
原创 ubuntu16.04 开wifi热点
ps:需要有线连接1、打开编辑连接(右键网络,最下一个选项) 2、点击“增加”,选择连接类型为“wi-fi”,->新建*模式为“热点”*wi-fi安全性选择“WPA及WPA12个人”,设置密码。3、添加完成后,需要在网络右键,“连接到隐藏的wifi网络”,选择刚刚建立的wifi,并连接,手机即可搜索到并连接上。
2017-05-27 16:16:56 1464
转载 spring-mvc @RequestMapping
原文来自:https://my.oschina.net/kolbe/blog/509810 一、@RequestMapping 简介在Spring MVC 中使用 @RequestMapping 来映射请求,也就是通过它来指定控制器可以处理哪些URL请求,相当于Servlet中在web.xml中配置的映射作用一致。如下:<servlet> <servlet-name>servletName
2017-04-04 17:00:34 415
原创 笔记-java
interface 接口(英文:Interface),在JAVA编程语言中是一个抽象类型,是抽象方法的集合,接口通常以interface来声明。 一个类通过继承接口的方式,从而来继承接口的抽象方法。 接口并不是类,编写接口的方式和类很相似,但是它们属于不同的概念。类描述对象的属性和方法。接口则包含类要实现的方法。 除非实现接口的类是抽象类,否则该类要定义接口中的所有方
2017-03-30 16:00:31 225
原创 笔记-springMVC
三、SpringMVC常用注解 @Controller 负责注册一个bean 到spring 上下文中 @RequestMapping 注解为控制器指定可以处理哪些 URL 请求 @RequestBody 该注解用于读取Request请求的body部分数据,使用系统默认配置的HttpMessageConverter进行解析,然后把相应的数据绑定到要返回的对象上 ,再把HttpMessag
2017-03-30 15:59:55 283
原创 43. Multiply Strings
Difficulty: Medium Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2.Note:The length of both num1 and num2 is < 110. Both num1 and num2 contain
2017-03-20 16:05:36 261
原创 74. Search a 2D Matrix
Difficulty: Medium Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:Integers in each row are sorted from left to right. The first i
2017-03-19 20:26:06 156
转载 memset
转载:http://www.cnblogs.com/PegasusWang/archive/2013/01/20/2868824.html(这是原文)1。void *memset(void *s,int c,size_t n) 总的作用:将已开辟内存空间 s 的首 n 个字节的值设为值 c。2。例子 #includevoid main(){ char *s=”Golden Global Vie
2017-03-18 15:58:02 159
原创 5. Longest Palindromic Substring
Difficulty: MediumGiven a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.Input: “babad” Output: “bab” Note: “aba” is also a valid answer.In
2017-03-17 16:40:08 424
转载 191. Number of 1 Bits
Write a function that takes an unsigned integer and returns the number of ’1’ bits it has (also known as the Hamming weight).For example, the 32-bit integer ’11’ has binary representation 0000000000000
2017-03-16 11:19:27 212
原创 279. Perfect Squares
Difficulty: MediumGiven a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, …) which sum to n.For example, given n = 12, return 3 because 12 = 4 + 4 + 4; gi
2017-03-14 12:01:37 170
原创 503. Next Greater Element II
Given a circular array (the next element of the last element is the first element of the array), print the Next Greater Number for every element. The Next Greater Number of a number x is the first grea
2017-03-13 11:13:01 183
原创 260. Single Number III
Difficulty: Medium Given an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twice. Find the two elements that appear only once.For examp
2017-03-12 14:50:48 139
原创 125. Valid Palindrome
Difficulty: Easy 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
2017-03-12 14:47:49 164
原创 31. Next Permutation
Difficulty: Medium Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangement is not possible, it must rearrange it as the l
2017-03-12 14:46:18 145
原创 2. Add Two Numbers
Difficulty: MediumYou are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two num
2017-03-12 14:44:26 145
原创 389. Find the Difference
Difficulty: Easy Given two strings s and t which consist of only lowercase letters.String t is generated by random shuffling string s and then add one more letter at a random position.Find the letter t
2017-03-12 14:39:52 142
原创 project configuration is not up-to-date with pom.xml
之前用的eclipse版本为最普通版,即Eclipse IDE for Java Developers,新建maven工程后没有run on server的选项,且没有server视图,除非要安装 wtp插件,但是安装这个插件有需要很多前置条件,也要安装很多其他的插件,于是便卸载了重装了Eclipse IDE for Java EE Developers。 从workplace导入maven项目后
2017-03-05 21:11:19 488
原创 SSM框架整合
1.spring Spring是一个开源框架,Spring是于2003 年兴起的一个轻量级的Java 开发框架,由Rod Johnson创建。简单来说,Spring是一个分层的JavaSE/EEfull-stack(一站式) 轻量级开源框架。(来自百度百科)Spring MVC属于SpringFrameWork的后续产品,已经融合在Spring Web Flow里面。Spring MVC 分离了控
2017-03-05 20:58:41 207
原创 tomcat maven 环境搭建
1.首先应该下载jdk,但本机上已有,故略过 查看java版本:java -version2.下载tomcat http://tomcat.apache.org/download-80.cgi 下载为最后一行,安装版本,一路安装下去即可 2.1下载完成后直接点击运行安装,其中需要输入jdk路径。3.maven安装配置 Maven项目对象模型(POM),可以通过一小段描述信息来管理项目的
2017-03-05 11:44:51 205
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人