我们可以使用ifconfig来进行启动、观察与修改网络接口的相关参数,我们直接使用ifconfig就可以查看所有的网络接口,我们可以使用ifconfig interface up|down来启动或者关闭网络接口,我们可以使用ifconfig interface option的方式来进行修改,比如我们可以修改IP地址。
我们可以使用ifconfig eth0来查看该网卡的...
分类:
系统相关 时间:
2015-04-03 11:25:02
阅读次数:
190
Unique Paths II - LeetCode
题目:
Follow up for "Unique Paths":
Now consider if some obstacles are added to the grids. How many unique paths would there be?
An obstacle and empty space is mar...
分类:
其他好文 时间:
2015-04-03 09:32:22
阅读次数:
105
Pick-up sticksTime Limit:3000MSMemory Limit:65536KTotal Submissions:10330Accepted:3833DescriptionStan has n sticks of various length. He throws them o...
分类:
其他好文 时间:
2015-04-03 09:15:01
阅读次数:
174
早上好,起床啦~开开心心起床,吃个饱饱的早餐,开始一天的工作。It is time to wake up cause morning is here,It is time to add to the day’s happiness and cheer.May you pass on joy to a...
分类:
其他好文 时间:
2015-04-03 06:47:22
阅读次数:
129
class Girl{ public void showAppearance() { System.out.println("the girl: face without make up"); } }class TakeFlower extends Girl{ Girl girl=null; pu....
分类:
编程语言 时间:
2015-04-02 22:08:11
阅读次数:
173
提交时出现如下问题:1 git push -u origin master2 3 Agent admitted failure to sign using the key.4 Permission denied (publickey).5 fatal: The remote end hung up ...
分类:
其他好文 时间:
2015-04-02 18:46:10
阅读次数:
172
While I ended up using a CSS-only implementation forthis pen, I started by writing it mostly using classes and JavaScript.However, I had a conflict. I...
分类:
编程语言 时间:
2015-04-02 18:16:07
阅读次数:
165
problem:
Follow up for "Unique Paths":
Now consider if some obstacles are added to the grids. How many unique paths would there be?
An obstacle and empty space is marked as 1 and 0 resp...
分类:
其他好文 时间:
2015-04-02 15:05:20
阅读次数:
127
【题目】
Follow up for "Search in Rotated Sorted Array":
What if duplicates are allowed?
Would this affect the run-time complexity? How and why?
Write a function to determine if a given target...
分类:
其他好文 时间:
2015-04-02 15:04:37
阅读次数:
114
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.Fo...
分类:
其他好文 时间:
2015-04-02 14:48:37
阅读次数:
163