1、权限管理命令 chmod
只有管理员 和 文件或目录所有者可以更改权限。
u代表user,g代表group,o代表other,a代表all
权限:r代表read,w代表write,x代表exec
+表示添加权限,-表示删除权限,=表示重新赋值权限
例如 chmod g+w one/ 表示给目录one的所属组添加w权限。
可以对一个文件或目录同时进行多项权限设置操作,例如 c...
                            
                            
                                分类:
系统相关   时间:
2016-05-09 07:05:34   
                                阅读次数:
216
                             
                    
                        
                            
                            
                                    Airport Express In a small city called Iokh, a train service, Airport-Express, takes residents to the airport more quickly than other transports. Ther ...
                            
                            
                                分类:
其他好文   时间:
2016-05-09 01:34:53   
                                阅读次数:
193
                             
                    
                        
                            
                            
                                Often, classes will have shared characteristics with other classes. Rewriting the same methods for each class over and over again can be pretty cumber ...
                            
                            
                                分类:
其他好文   时间:
2016-05-08 11:45:55   
                                阅读次数:
169
                             
                    
                        
                            
                            
                                5.7 Given a list of words, write a program to find the longest word made of other words in the list. 这道题给了我们一个字符串数组,让我们找到最长的那个单词是由字符串数组中的其他单词组成的,LeetC ...
                            
                            
                                分类:
其他好文   时间:
2016-05-08 06:40:02   
                                阅读次数:
197
                             
                    
                        
                            
                            
                                1.) 打开你的Xcode工程. 在Supporting Files目录下,选择 File > New > File > iOS > Other > PCH File 然后点击下一步; 2.) 给你的PCH文件起名字TestDemo-Prefix.pch. 例如你的项目工程名为TestDemo然而你 ...
                            
                            
                                分类:
其他好文   时间:
2016-05-07 19:44:28   
                                阅读次数:
274
                             
                    
                        
                            
                            
                                    Description Description A hat’s word is a word in the dictionary that is the concatenation of exactly two other words in the dictionary.You are to fin ...
                            
                            
                                分类:
其他好文   时间:
2016-05-07 18:05:15   
                                阅读次数:
147
                             
                    
                        
                            
                            
                                Problem D
TimeLimit : 2000/1000ms (Java/Other)   Memory Limit : 65536/32768K(Java/Other)
 
Problem Description
Anumber whose only prime factors are 2,3,5 or 7 is called a humble number. Thesequenc...
                            
                            
                                分类:
其他好文   时间:
2016-05-07 09:48:00   
                                阅读次数:
102
                             
                    
                        
                            
                            
                                Problem W 
Time Limit : 2000/1000ms (Java/Other)   Memory Limit : 65536/32768K (Java/Other)
Total Submission(s) : 38   Accepted Submission(s) : 13
Problem Description
Speakless很早就想出国,现在他已经考完了所有需要的...
                            
                            
                                分类:
其他好文   时间:
2016-05-07 09:05:41   
                                阅读次数:
165
                             
                    
                        
                            
                            
                                前面一篇博文中,我们通过demo演示了意图回传数据的方法,鉴于意图回传数据比较重要,这篇文章我们继续通过一个demo来演示这种行为。 
这个demo中,我们在Other这个activity当中,输入用户名和密码,用户点击返回按钮,回到MainActivity的时候,将用户名和密码回传回来,并且显示在MainActivity的TextView中。 
1、在activity_main.xml中,添加Te...
                            
                            
                                分类:
移动开发   时间:
2016-05-07 08:12:35   
                                阅读次数:
201
                             
                    
                        
                            
                            
                                Problem Description 
One day, winnie received a box and a letter. In the letter, there are three integers and five operations(+,-,*,/,%). If one of the three integers can be calculated by the other two...
                            
                            
                                分类:
其他好文   时间:
2016-05-06 15:26:06   
                                阅读次数:
168