一、撰写一个script,让使用者输入:1.firstname2.lastname,最后在屏幕上显示:Yourfullnameis:的内容#!/bin/bash
read-p"Pleaseinputyourfirstname:"firstname
read-p"Pleaseinputyourlastname:"lastname
echo-e"Yourfullnameis:$firstname$lastname"二、用户输入2个变量,然..
分类:
系统相关 时间:
2015-03-18 18:32:52
阅读次数:
181
JavaScript是一种可以用来给网页增加交互性质的编程语言。<!DOCTYPEhtml>
<html>
<head>
<title>Barelyascriptatall</title>
<script>
window.onload=function(){
document.getElementById("myMessage").innerHTML="Hello,Cleveland";
}
&..
分类:
编程语言 时间:
2015-03-18 18:32:52
阅读次数:
141
重启系统之后,DevStack的nova-computer, nova-network等等各项服务不会自动启动,需要自己写一个脚本来启动。
#this script is intented to restart your openstack built by devstack.
#Test CentOS+DevStack sucess
#if you have some problems wit...
分类:
其他好文 时间:
2015-03-18 16:04:09
阅读次数:
3719
1. html页面全部代码2.json.ashx页面全部代码using System;using System.Web;using System.Web.Script.Serialization;using System.Collections.Generic;public class json :...
分类:
编程语言 时间:
2015-03-18 13:44:48
阅读次数:
102
步骤一 <script?type="text/javascript"?src="../js/angular.min.js"></script>
<script?type="text/javascript"?src="../js/jquery-2.1.0.min.js"></script>
<script?type="text/javascript"?src="../js/...
分类:
Web程序 时间:
2015-03-18 12:36:28
阅读次数:
172
这一篇开始讨论代码层面的问题。主要是markdown的功能的设计实现。这一篇先从markdown外围的代码开始讲起:
UML序列图是从https://github.com/bramp/js-sequence-diagrams copy得到的。当如这个UML代码还用到了两个JS,功能库和画图.
<script src=...
分类:
其他好文 时间:
2015-03-17 23:40:44
阅读次数:
265
HttpServletResponseresponse=ServletActionContext.getResponse();response.setContentType("text/html;charset=UTF-8");response.setCharacterEncoding("UTF-8");//防止弹出的信息出现乱码PrintWriterout=null;try{out=response.getWriter();out.print("<script>alert(..
分类:
其他好文 时间:
2015-03-17 14:27:16
阅读次数:
102
直接在nginx的配置文件fastcgi.conf 中添加如下 fastcgi_param??SCRIPT_FILENAME????$document_root$fastcgi_script_name;
fastcgi_param??QUERY_STRING???????$query_string;
fastcgi_param??R...
分类:
Web程序 时间:
2015-03-17 12:43:20
阅读次数:
141
1、打开PowerDesigner,创建物理模型(Physical Data Model)2、在PowerDesigner菜单栏中,依次点击“Tools ->Excute Commands->Edit/Run Script..”3、运行脚本'*****************************...
分类:
其他好文 时间:
2015-03-17 11:49:31
阅读次数:
253
查找了Script Serializationhttp://docs.unity3d.com/Manual/script-Serialization.html自定义序列化及例子:http://docs.unity3d.com/ScriptReference/ISerializationCallbac...
分类:
编程语言 时间:
2015-03-16 21:06:53
阅读次数:
904