JsonAbout:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using System.Web.Script.Serialization;usin...
分类:
编程语言 时间:
2014-07-22 22:42:35
阅读次数:
309
1、在/etc/init.d/目录下编写脚本,名为nginx
#!/bin/sh
#
# nginx - this script starts and stops the nginx daemon
#
# chkconfig: -
85 15
# description: Nginx is an HTTP(S) server, HTTP(S) reverse \
...
分类:
其他好文 时间:
2014-07-22 22:39:13
阅读次数:
321
新增用户 sudo useradd -m -s /bin/bash $USER加入sudo组 sudo adduser $USER sudo修改密码 sudo passwd $USER禁止用户使用shell登录系统 sudo usermod -s /bin/false $USER
分类:
系统相关 时间:
2014-07-22 00:25:35
阅读次数:
311
date-utils 前端引用 <script?type="text/javascript"?src="date-utils.min.js"></script> 下载传送门,猛击我 NODEJS服务端项目调用 $?cnpm?install?date-utils
require(‘date-utils‘); nodejs版本要求>0.6 ...
分类:
Web程序 时间:
2014-07-21 23:31:04
阅读次数:
395
2014年最流行的10种程序语言
排名前十位最流行的程序语言依次分别是:Java,C,C++,C#,Python,Java script,Php,Ruby,Sql,Matlab。...
分类:
其他好文 时间:
2014-07-21 23:29:40
阅读次数:
317
HTML5中canvas元素,绘制圆形需要使用路径,开始时要取得图形上下文,首先使用路径来勾勒图形的轮廓,然后设置颜色,进行绘制。<!DOCTYPEhtml>
<head>
<metacharset="UTF-8"/>
<script>
functiondraw(id){
varcanvas=document.getElementById(id);
if(..
分类:
Web程序 时间:
2014-07-21 19:22:22
阅读次数:
304
#!/usr/bin/python#-*-encoding=utf-8-*-####################################fromSimpleXMLRPCServerimportSimpleXMLRPCServerfromSocketServerimportThreadingMixInimportsubprocess,os.path,os,statimportre,getopt,sysERR_INSECURE=‘[INSECURE_NAME]‘ERR_NO_SCRIPT=‘[NO_S..
分类:
编程语言 时间:
2014-07-21 15:26:17
阅读次数:
300
#!/bin/sh#POST-COMMITHOOK##Thepost-commithookisinvokedafteracommit.Subversionruns#thishookbyinvokingaprogram(script,executable,binary,etc.)#named‘post-commit‘(forwhichthisfileisatemplate)withthe#followingorderedarguments:##[1]REPOS-PATH(thepathtothisreposit..
分类:
其他好文 时间:
2014-07-21 15:25:17
阅读次数:
284
USE [TKPOS_WuJing]GO/****** Object: StoredProcedure [dbo].[sp_get_saleData] Script Date: 07/21/2014 11:20:54 ******/SET ANSI_NULLS ONGOSET QUOTED_...
分类:
其他好文 时间:
2014-07-21 14:35:53
阅读次数:
238
1. 下载 JDBC 驱动(sqljdbc4.jar)2. 在 run-time setting 下的 classpath 把 JDBC 驱动引入 1 /* 2 * LoadRunner Java script. (Build: _build_number_) 3 * 4 * Script ...
分类:
数据库 时间:
2014-07-21 14:20:46
阅读次数:
269