To Learn something you need to do it, without the fear of being unsuccessful. I believe in practicality and hence will be accompanying you to the prac...
分类:
系统相关 时间:
2014-07-26 14:09:15
阅读次数:
492
先说我自己用的情况:最先用的memcache ,用于键值对关系的服务器端缓存,用于存储一些常用的不是很大,但需要快速反应的数据然后,在另一个地方,要用到redis,然后就去研究了下redis. 一看,显示自己安装了php扩展,因为有服务器上的redis服务端,自己本地就没有安装,其实用法和memca...
分类:
数据库 时间:
2014-07-26 13:39:37
阅读次数:
311
去年有出一个python整的LAMP自动安装,不过比较傻,直接调用的yum 去安装了XXX...不过这次一样有用shell..我也想如何不调用shell 来弄一个LAMP自动安装部署啥啥的..不过尼玛智商有限,没搞定,暂且分享一下 先说说目前的缺陷 这个脚本总体来说是调用一个字典,组成这个字典...
分类:
编程语言 时间:
2014-07-26 09:51:07
阅读次数:
434
Linux基础1、《Linux与Unix Shell 编程指南》C语言基础1、《C Primer Plus,5th Edition》【美】Stephen Prata著2、《The C Programming Language, 2nd Edition》【美】Brian W. Kernighan Da...
分类:
系统相关 时间:
2014-07-26 05:43:57
阅读次数:
356
程序:print.c ?print.h main.c print.h #include<stdio.h>
void?printhello(); print.c #include"print.h"
void?printhello(){
????printf("Hello,?world\n");
} main.c #include?"print.h"?
int?mai...
分类:
其他好文 时间:
2014-07-26 03:31:27
阅读次数:
213
break:退出循环体
continue:结束本次循环,进入下一次循环。while特殊用法1:
while:
do
done
上述为while的死循环。while特殊用法2:
whilereadLINE
do
done</path/to/FILE
作用:通过while读取FILE文件中的每一行,并将其保存在变量LINE中。函数:function语法格式:..
分类:
其他好文 时间:
2014-07-26 03:25:37
阅读次数:
206
/算术运算中的除法根目录或路径分隔符^在[^abc]通配符中表示取反在正则表达式中表示以什么开头[[]]字符串比较测试.正则中表示任意1个字符当前shell执行脚本命令表示当前目录表示隐藏属性{}通配符扩展abc{1,2,3}正则表达式中表示范围匿名函数{cmd1;cmd2;cmd3}括起变量名${abc}a(..
分类:
其他好文 时间:
2014-07-26 03:07:17
阅读次数:
213
首先看geeksforgeeks上的两个程序:
程序1:
#include
int main()
{
float x = 0.1;
if (x == 0.1)
printf("IF");
else if (x == 0.1f)
printf("ELSE IF");
else
printf("ELSE");
}
程...
分类:
其他好文 时间:
2014-07-26 03:03:46
阅读次数:
142
其实就会找出xy最小的一个,再判断奇偶就OK
#include
#include
using namespace std;
int main(){
int x,y;
while(cin>>x>>y){
int t=x>y?y:x;
if(t%2==0)
printf("Malvika\n");
...
分类:
其他好文 时间:
2014-07-26 03:02:56
阅读次数:
197
(linux shell)第一章--小试牛刀(下)...
分类:
系统相关 时间:
2014-07-26 03:02:36
阅读次数:
233