一、命令行模式1、设置IP、子网掩码(netmask)#ifconfig eth0 netmask up up 表示开启网卡eth0,可以不加2、设置网关(gateway)#route add default gw 说明: 此种方法虽然可以配置,但只是临时生效。一旦重启系统,之前的配置信息就都...
分类:
其他好文 时间:
2015-10-25 16:17:27
阅读次数:
374
*update的时候出错,"working copy locked",按网上的方法删除lock,也没有用,导致后来不能commit,update,clean up,只要在clean up 时,勾选红框,即可;后来一切恢复正常,可以commit,update了,不过,没有显示绿色状态图标,后来进入到s...
分类:
其他好文 时间:
2015-10-25 13:31:03
阅读次数:
134
Given a singly linked list, determine if it is a palindrome.Follow up:Could you do it in O(n) time and O(1) space?思路:将链表前半部分反转,对比就行了。 1 class Solution...
分类:
其他好文 时间:
2015-10-25 06:11:39
阅读次数:
153
sudo nano /etc/ntp.conf然后找到# pool.ntp.org maps to about 1000 low-stratum NTP servers. Your server will# pick a different set every time it starts up. ...
分类:
Web程序 时间:
2015-10-24 14:23:43
阅读次数:
2735
A launch file (or image) provides a simple placeholder image that iOS displays when your app starts up. The placeholder image gives users the impressi...
分类:
移动开发 时间:
2015-10-24 14:20:17
阅读次数:
268
Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?思路:维护两个指针,一快一慢,判断两个指针能否相遇。 1 class Solutio...
分类:
其他好文 时间:
2015-10-24 12:54:25
阅读次数:
154
After a long and successful day of preparing food for the banquet, it is time to clean up. There is a list of n jobs to do before the kitchen can be c...
分类:
其他好文 时间:
2015-10-23 20:09:33
阅读次数:
275
TypeScript is used heavily as we build up our application, but TypeScript isn’t required. If you want to Inject a Service without using TypeScript, yo...
分类:
其他好文 时间:
2015-10-23 16:26:11
阅读次数:
231
Today I had to take the back-up off a live site and restore it on the staging server. However I had to remove all Umbraco members and thought it'd be ...
分类:
数据库 时间:
2015-10-23 16:09:30
阅读次数:
245
ImageView的OnTouchListener,onTouch方法要返回true,MotionEvent.ACTION_UP,MotionEvent.ACTION_MOVE 才有效。其实关于返回true,false,true是不会再向外传播,false:是向外传播android 传播机制:最先触...
分类:
其他好文 时间:
2015-10-22 23:42:01
阅读次数:
256