1.1. 睡眠函数 Linux下有两个睡眠函数,原型为: #include unsigned int sleep(unsigned int seconds); void usleep(unsigned long usec); 函数sleep让进程睡眠seconds秒,函数usleep让进程睡眠use...
分类:
其他好文 时间:
2015-04-23 02:01:05
阅读次数:
125
1、使用SHOW语句找出在服务器上当前存在什么数据库mysql>SHOW DATABASES; 2、创建一个数据库MYSQLDATA mysql>CREATE DATABASE MYSQLDATA; 3、选择你所创建的数据库 mysql>USE MYSQLDATA; (按回车键出现Database ...
分类:
数据库 时间:
2015-04-23 01:50:21
阅读次数:
142
#!/bin/bash
#Createdbyliteron2014/7/11
PATH=/opt/jdk1.6.0_45/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
exportPATH
#CPUINFO
id_cpu=`top-b-d2-n10|grepCpu|grep-vgrep|cut-d‘,‘-f4|tr-d-c‘0-9.\n‘|sort-n|head-n1`
use_cpu=`echo"1..
分类:
系统相关 时间:
2015-04-23 00:11:55
阅读次数:
223
为你的网站开启 gzip 压缩功能(nodejs、nginx)Do not forget to use Gzip for Express.js
分类:
其他好文 时间:
2015-04-22 23:34:15
阅读次数:
104
将mdv数据转换为binary数据,以结构体的形式存放在文件中/*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
xiu
2015.4.8 10:00
use the body structure, put the mdv format data radar and vdras , in a binary file.
*=*=*=*=...
分类:
其他好文 时间:
2015-04-22 22:20:15
阅读次数:
165
About SQLiteSee Also...FeaturesWhen to use SQLiteFrequently Asked QuestionsWell-known UsersBooks About SQLiteGetting StartedSQL SyntaxPragmasSQL funct...
分类:
数据库 时间:
2015-04-22 22:05:54
阅读次数:
231
本文主要参考:http://ysz520020.blog.163.com/blog/static/352595722011969264745 linux kill掉其他的登录用户 :方法一:使用w查看有多少个用户在登陆,结果如下:01:52:52 up 18 min, 3 use...
分类:
系统相关 时间:
2015-04-22 20:36:33
阅读次数:
186
这一次release的内容终于做完了,可以研究一下用到的东西。以前写js 都是基本的写法, 写个function,这次看到同事用jquery 加js 写的插件 用了自己不知道的新知识,觉得得有必要学习一下了。1. "use strict"; 可以在写js 的文件中把这句话放上,不知道是什么意思 ,查...
分类:
Web程序 时间:
2015-04-22 17:48:57
阅读次数:
159
function name regexObjSubObjKeyfunction codefunction(proto,value) { var match=false; var reg = new RegExp('.*'+value); print(JSON.string...
分类:
数据库 时间:
2015-04-22 17:47:53
阅读次数:
160
fatal: remote error: You can't push to git://github.com/niexiaobo/remote.git Use https://github.com/niexiaobo/remote.git解决:1、切换到checkout的文件夹(比如当前项目保存到...
分类:
Web程序 时间:
2015-04-22 17:44:49
阅读次数:
148