// proc/exec1.c 8-8
#include "apue.h"
#include const char* env_init[] = { "USER=unknown", "PATH=/home/sunyj/apue/proc/", NULL }; int main(void)
{ pid_...
分类:
其他好文 时间:
2015-02-06 16:30:55
阅读次数:
131
最近迁徙了一些用户从域A转到另外一个域B,为了方便继续访问旧的文件系统,保留了SID历史记录。今天发现个别运行在旧域A的CitrixXenapp程序不工作了。经过检查,发现该程序启动的时候会自动运行whoami/group自检,如果有无法解析的SID,自动结束。估计是迁徙的时候某些组的SIDH..
分类:
系统相关 时间:
2015-02-06 15:12:54
阅读次数:
229
Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e.,0 1 2 4 5 6 7might become4 5 6 7 0 1 2).You are given a target value t...
分类:
其他好文 时间:
2015-02-05 23:22:34
阅读次数:
187
Build日期:2015-2-5。Linux发行版用的是CentOS 6.5,操作步骤:1)配置git;2)签出github上的CoreCLR代码库;3)安装cmake;4)安装clang;5)运行build命令;6)build结果——失败!错误信息如下:error: unknown type, n...
分类:
系统相关 时间:
2015-02-05 20:01:08
阅读次数:
333
UVALive - 3942
Remember the Word
Time Limit: 3000MS
Memory Limit: Unknown
64bit IO Format: %lld & %llu
Submit Status
Description
Neal is very curious about c...
分类:
其他好文 时间:
2015-02-05 13:40:58
阅读次数:
145
题目链接:Search in Rotated Sorted Array
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).
You are given a target value to sear...
分类:
其他好文 时间:
2015-02-04 23:24:53
阅读次数:
261
UVA - 11806
Cheerleaders
Time Limit: 2000MS
Memory Limit: Unknown
64bit IO Format: %lld & %llu
Submit Status
Description
C
Cheerleaders
In mos...
分类:
其他好文 时间:
2015-02-04 21:55:28
阅读次数:
192
UVA - 11401
Triangle Counting
Time Limit: 1000MS
Memory Limit: Unknown
64bit IO Format: %lld & %llu
Submit Status
Description
Problem G
Triangle Counting
Input: Standa...
分类:
其他好文 时间:
2015-02-04 18:49:36
阅读次数:
176
题目:
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become 4
5 6 7 0 1 2).
Find the minimum element.
The array may contain duplicate...
分类:
编程语言 时间:
2015-02-04 16:39:32
阅读次数:
150
Android keyevent 中的各个值,在使用adb shell input 的时候用得到。是从http://blog.csdn.net/huiguixian/article/details/8550170转过来的。KEYCODE_UNKNOWN=0;KEYCODE_SOFT_LEFT=1;K...
分类:
移动开发 时间:
2015-02-04 16:06:24
阅读次数:
242