功能:让关机的电脑一键开机,需要目标电脑的主板支持,并且插上网线; 效果:相当于手动按了一下目标电脑的开关机按钮。 没啥技术含量,简单开说... 1.获取目标机MAC地址 2.封装魔法包chMagicPacket 3.发送魔法包 http://www.cnblogs.com/luoxiang/p/5 ...
分类:
其他好文 时间:
2016-10-28 23:29:04
阅读次数:
302
一、源码解析 1、 LinkedList类定义。 LinkedList 是一个继承于AbstractSequentialList的双向链表。它也可以被当作堆栈、队列或双端队列进行操作。LinkedList 实现 List 接口,能对它进行队列操作。LinkedList 实现 Deque 接口,即能将 ...
分类:
其他好文 时间:
2016-10-28 23:27:12
阅读次数:
271
一、下载源码 或者直接下载:云盘下载 二、构建 1、不对源码修改,直接构建qtftp 2、做如下修改,再次构建qtftp 3、查看两次构建生成的库文件 目录:build-qtftp-Desktop_Qt_5_3_MSVC2012_OpenGL_32bit-Debug\lib 三、部署库文件 1、Qt ...
分类:
其他好文 时间:
2016-10-28 23:27:22
阅读次数:
499
UKF-SLAM是一种比较流行SLAM方案。相比EKF-SLAM,UKF利用unscented transform代替了EKF的线性化趋近,因而具有更高的精度。Bayes++库中的unsFlt.hpp中给出了UKF实现的相关类。 ...
分类:
其他好文 时间:
2016-10-28 23:26:44
阅读次数:
267
Gear-wheels Time limit: 1.0 secondMemory limit: 64 MB — Arny! What happened with coordinator? Bad working coordinator was the everlasting trouble of t ...
分类:
其他好文 时间:
2016-10-28 23:24:24
阅读次数:
269
Flooded! Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 5955 Accepted: 1800 Special Judge Description To enable homebuyers to estimate the ...
分类:
其他好文 时间:
2016-10-28 23:25:27
阅读次数:
252
Qt paintevent事件 一.主要理解一下几个方法和属性: 1.QWidget * QScrollView::viewport () const 2.void QWidget::paintEvent ( QPaintEvent * ) [虚 保护] 3.void QWidget::repain ...
分类:
其他好文 时间:
2016-10-28 23:26:00
阅读次数:
336
课后作业1:字串加密 设计思想:对于一个字符串,用String.charAt()方法依次取出其中的字符元素,组成一个字符数组。字符类型可以转化为短整型变量进行计算,所有将从字符串中取出的字符经过加法运算后在转化为char类型,然后覆盖原来的字符变量。将字符数组中的字符都经过相同的转化方式,然后用字符 ...
分类:
其他好文 时间:
2016-10-28 23:23:08
阅读次数:
303
/proc/scsi/usb-storage 插入u盘,生成文件 /dev/sd* 节点路径 挂载方法 mkdir /media/sda1 mount /dev/sda1 /media/sda1 u盘配置文件路径 cd /etc/udev mount.blacklist 白名单 rules.d 驱动 ...
分类:
其他好文 时间:
2016-10-28 23:23:18
阅读次数:
267
Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. (Hard) Note:A solution using O(n) ...
分类:
其他好文 时间:
2016-10-28 23:21:49
阅读次数:
205
【实验题目】 字串加密 古罗马皇帝凯撒在打仗时曾经使用过以下方法加密军事情报: 一、程序设计思想 首先编写代码要求输入想要加密的字符串,注意用到String str=input.nextLine();进行一行字符串的输入,计算字符串的长度赋值给n,定义char字符类型的a,用for循环结构把str用 ...
分类:
其他好文 时间:
2016-10-28 23:20:57
阅读次数:
293
一般来讲,英语单词的重读是没有固定的规律而言的。但有些规则在多数情况下是可以适用的,这些规则有:重读规律1、一般2、3个音节的单词,重读在第一音节上。如:'apple 'carry 'problem. 但如果这个单词是带有前缀的,则重读则在前缀后。如:a'bove a'go com'bine en' ...
分类:
其他好文 时间:
2016-10-28 23:21:30
阅读次数:
842
https://www.bnuoj.com/v3/problem_show.php?pid=4096 对于一个序列a,我们定义它的逆序数为满足a[i]>a[j]且i<j的有序对<i,j>的个数,这样的有序对称为逆序对。 例如 a[0]=1,a[1]=2,a[2]=4,a[3]=5,a[4]=3,存在 ...
分类:
其他好文 时间:
2016-10-28 23:18:01
阅读次数:
224
You are given n segments on a line. There are no ends of some segments that coincide. For each segment find the number of segments it contains. You ar ...
分类:
其他好文 时间:
2016-10-28 23:17:13
阅读次数:
275
Python version 2.7 required, which was not found in the registry 新建一个register.py 文件,把一下代码贴进去, 显示“python 2.7 is already registered” 再安装setuptools的时候,就能 ...
分类:
其他好文 时间:
2016-10-28 23:14:09
阅读次数:
201
server { listen 80; server_name zg.dbschenker-atoms.com; access_log /data/web_log/nginx_log/zg_db_access.log moss; error_log /data/web_log/nginx_log/z ...
分类:
其他好文 时间:
2016-10-28 23:15:59
阅读次数:
241