echo off
cls
title 设置IP
echo 正在设置IP地址,请稍候……
netsh interface ip set address "本地连接" static 192.168.218.169 255.255.255.0 192.168.218.254 1
echo 正在更改DNS设置,请稍候……
echo 正在更改DNS设置,请稍候……...
分类:
其他好文 时间:
2014-06-10 14:40:18
阅读次数:
248
最近刚写的有关javaMail发送邮件的代码!
package test;
import java.util.Properties;
import javax.mail.Address;
import javax.mail.BodyPart;
import javax.mail.Message;
import javax.mail.MessagingException;
im...
分类:
编程语言 时间:
2014-06-10 13:40:57
阅读次数:
244
文件配置例如以下: ${host} ${username} ${password} true
25000 ...
分类:
编程语言 时间:
2014-06-10 08:53:09
阅读次数:
345
AFNetworking对Path的定义问题:
如果把这一串:https://graph.qq.com/user/get_user_init 定义成baseURL
那么后面加的任何Path,都会在Path前面加上一个/
这个跟NSURL有关系,AF的baseURL是用NSURL实现的,NSURL会把你给的字符串拆分成scheme,host,path,query这些东西
然后AF再处...
Given an unsorted integer array, find the first missing positive integer.
For example,
Given [1,2,0] return 3,
and [3,4,-1,1] return 2.
Your algorithm should run in O(n) time and uses constant...
分类:
其他好文 时间:
2014-06-10 07:42:16
阅读次数:
244
独立集和最大独立集:A set of vertices I ? V is called independent if no pair of vertices in I is connected via an edge in G. An independent set is called maximal if by including any other vertex not in I, the independence property is violated....
分类:
其他好文 时间:
2014-06-10 06:30:03
阅读次数:
369
《cuda programming 》 Shane Cook 第5章
第一节cpu和gpu有各自独立的内存空间,两者不可以直接访问。每个线程的执行代码是一样的,数据不同。Thread---->Warp------>Block------>Grid入门代码是并行加法:
1.cpu端的数组 ...
分类:
其他好文 时间:
2014-06-10 00:37:13
阅读次数:
295
If our web site hosted on web server canot be
accessed by other computer by public network, one of the possiblity is the
firewall setting is not confi...
原题地址:https://oj.leetcode.com/problems/search-in-rotated-sorted-array/题意:Suppose
a sorted array is rotated at some pivot unknown to you beforehand.(i.e...
分类:
编程语言 时间:
2014-06-09 18:43:14
阅读次数:
273
--MySQL权限说明----------------------2014/06/09一.权限表mysql数据库中的3个权限表:user、db、host权限表的存取过程是:1)先从user表中的host、user、password这3个字段中判断连接的IP、用户名、密码是否存在表中,存在则通过身份验...
分类:
数据库 时间:
2014-06-09 18:21:39
阅读次数:
288