最近搞了一本书 Learning Bash
Shell,发现有人已经写了阅读笔记,我就在这边整理一下来自blog:http://blog.sina.com.cn/n4mineLearningTheBashShell读书笔记(1)bash初识,通配符LearningTheBashShell读书笔记(2...
分类:
其他好文 时间:
2014-05-27 00:32:53
阅读次数:
249
进程/线程控制: 创建 退出 等待 多进程 fork() exit() wait()
多线程pthread_createpthread_exit()pthread_join()线程的同步与互斥:线程的互斥...
分类:
编程语言 时间:
2014-05-26 23:46:42
阅读次数:
318
1.从一串字符串中获取特定的信息要求1:获取本机IP:menu.lst为系统镜象的IP配置文件,需要从中获取到本机IP信息(从文件获取信息)1
timeout 12 default 03 4 title live5 find --set-root /casper/vmlinuz6 kernel
/c...
分类:
系统相关 时间:
2014-05-26 23:44:19
阅读次数:
585
linux
shell执行有两种方式shell脚本以#!/bin/bash开头,执行shell时先检查首行,在内部以下列方式执行:$/bin/bash
script.sh1. 使用sh执行。 $sh script.sh #脚本位于当前目录下或者 $sh /home/path/script.sh #使...
分类:
系统相关 时间:
2014-05-26 23:16:32
阅读次数:
344
更新数据时不能使用time类型使用timestamp类型才可以自动获取当前系统时间TIMESTAMP的变体1,TIMESTAMP DEFAULT
CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP 在创建新记录和修改现有记录的时候都对这个数据列刷新2,TIME...
分类:
其他好文 时间:
2014-05-26 22:57:27
阅读次数:
290
/*代码一:DFS+Enum*///Memory Time //240K 344MS
//本题只要求输出翻转的次数,因此BFS或DFS都适用#includeusing namespace std;bool
chess[6][6]={false};//利用的只有中心的4x4bool flag;in.....
分类:
其他好文 时间:
2014-05-26 22:45:54
阅读次数:
323
UTC: 0经度(本初子午线)上的时间叫做协调世界式,(又称世界标准时间或世界协调时间),
UTC是法文和英文缩写的一个折中(英文“CoordinatedUniversalTime"/法文“TempsUniverselCordonné”).GMT:
UTC过去叫Greenwich Mean Time...
分类:
其他好文 时间:
2014-05-26 21:37:56
阅读次数:
263
Welcome to CSU Online Judge!
1112: 机器人的指令
Time Limit: 1 Sec Memory Limit:
128 MB
Submit: 274 Solved: 97
[Submit][Status][Web
Board]
Description
数轴原点有一个机器人。该机器人将执行一系列指令,你的任务是预测所有指...
分类:
其他好文 时间:
2014-05-22 18:39:01
阅读次数:
391
UVa OJ 127 - "Accordian" Patience (“手风琴”纸牌)
Time limit: 3.000 seconds
限时:3.000秒
Problem
问题
You are to simulate the playing of games of "Accordian" patience, the rules for which are as foll...
分类:
其他好文 时间:
2014-05-22 18:37:03
阅读次数:
456
Hotel
Time Limit: 3000MS
Memory Limit: 65536K
Total Submissions: 10959
Accepted: 4732
Description
The cows are journeying north to Thunder Bay in Canada to gain cul...
分类:
其他好文 时间:
2014-05-22 18:29:19
阅读次数:
237