问题:看开源项目发现这个package-info.java文件有些特殊,从名字上面也可以猜出这个类是与package有关的。具体是怎么回事呢?:就是记录包的信息To
create a package comment file, you have a choice of two files to pl...
分类:
编程语言 时间:
2014-05-23 09:39:01
阅读次数:
328
Given an array of integers, every element
appears twice except for one. Find that single one. Note: Your algorithm should
have a linear runtime comple...
分类:
其他好文 时间:
2014-05-23 07:22:48
阅读次数:
241
建立ssh无验证连接
Check for SSH keys、
cd ~/.ssh
ls
Check the directory listing to see if you have a file named either id_rsa.pub or id_dsa.pub
检查有无产生过的key,一台机器只能创建一个。如果重新创建则前一个会被覆盖。
Generate a new SSH ...
分类:
其他好文 时间:
2014-05-22 18:33:48
阅读次数:
261
Given an array of integers, every element
appearstwiceexcept for one. Find that single one.Note:Your algorithm should have
a linear runtime complexity...
分类:
其他好文 时间:
2014-05-22 16:31:03
阅读次数:
194
在进行网络程序的时候避免不了对给定IP是否跨子网段进行判断。相关原理倒是简单, 贴出相关代码:
1 #include 2 #include 3 #include 4 #include 5 #include 6 7 #define ALL_BIT 32 /*
ip address have...
分类:
其他好文 时间:
2014-05-22 14:59:04
阅读次数:
237
On using the sudo command if we see the
errorThis means that the user as whom we have logged in and are trying to run
the command "sudo" does not have...
分类:
其他好文 时间:
2014-05-22 00:57:35
阅读次数:
272
Given a sorted linked list, delete all nodes
that have duplicate numbers, leaving onlydistinctnumbers from the original
list.For example,Given1->2->3-...
分类:
其他好文 时间:
2014-05-21 17:51:09
阅读次数:
190
Say you have an array for which theithelement
is the price of a given stock on dayi.Design an algorithm to find the maximum
profit. You may complete a...
分类:
其他好文 时间:
2014-05-21 17:27:55
阅读次数:
252
1、在进入系统的时候经常提示Youhavenewmailin/var/spool/mail/rootecho“unsetMAILCHECK”>>/etc/profilesource/etc/profile关闭sendmail的功能:chmod0/usr/sbin/sendmailmv/usr/sbin/sendmail/usr/sbin/sendmail.bakln-s/var/qmail/bin/sendmail/usr/sbin/sendmail清..
分类:
其他好文 时间:
2014-05-21 12:39:10
阅读次数:
278
如何往clob类型中插入一个超过10000 bytes 的字符串
You'll have to assign the value to a variable & use the variable to insert the data
DECLARE
v_long_text CLOB;
BEGIN
v_long_text := '...
分类:
其他好文 时间:
2014-05-21 09:14:36
阅读次数:
225