码迷,mamicode.com
首页 >  
搜索关键字:script syntax    ( 25337个结果)
Linux shell脚本之 if条件判断
bash shell会按顺序执行if语句,如果command执行后且它的返回状态是0,则会执行符合该条件执行的语句,否则后面的命令不执行,跳到下一条命令。当有多个嵌套时,只有第一个返回0退出状态的命令会导致符合该条件执行的语句部分被执行,如果所有的语句的执行状态都不为0,则执行else中语句。返回状态:最后一个命令的退出状态,或者当没有条件是真的话为0。...
分类:系统相关   时间:2015-02-27 15:18:04    阅读次数:176
Android OTA升级包制作脚本详解(四,生成升级脚本updater-script)
updater-script简介:     updater-script是我们升级时所具体使用到的脚本文件,它主要用以控制升级流程的主要逻辑。具体位置位于更新包中/META-INFO/com/google/android/目录下,在我们制作升级包的时候产生。 updater-script生成:   那么升级脚本updater-script是如何产生的呢,我们来看ota_from_target...
分类:移动开发   时间:2015-02-27 15:15:26    阅读次数:246
Chrome 报 Resource interpreted as Script but transferred with MIME type text/plain 警告的解决办法
http://www.2cto.com/os/201312/262437.html安装了VS2012之后,chrome在加载页面的时候会报 Resource interpreted as Script but transferred with MIME type text/plain 的警告。这是因...
分类:其他好文   时间:2015-02-27 09:58:53    阅读次数:93
Bash下的实用小脚本(不定期更新)
1、lnoi.sh:列出当前系统下每个IP的连接数:#catlnoi.sh#!/bin/bash #UseforlistconnectnumbersandIPaddress. netstat-n|grep‘^tcp‘|grep-v‘127.0.0.1‘|awk‘{print$5}‘|cut-d:-f1|sort|uniq-c|sort-rn|awk‘BEGIN{printf"%-10s%s\n","ConNum","IP"}{printf"%-11s%s\n",$1,$2}..
分类:其他好文   时间:2015-02-27 01:38:42    阅读次数:208
HTML 基础 1
1. 文件结构: HTML文件的固定结构: ... ... html是根标签 head定义文档头部,包含: title, script, style, link, meta body是网页主要内容,包含:h1,h2-h6, p, a...
分类:Web程序   时间:2015-02-26 21:37:37    阅读次数:262
IIS7配置PHP和Imagick
由于项目需要,服务器上要安装php和imagick库的支持,网上搜了下,教程很多,基本类似,IIS7配置PHP就不说了,现在有PHP Manager,用fastcgi模式配置起来很方便 1、先安装 ImageMagick-6.8.7-7-Q16-x64-dll.exe 。  下载地址:http://www.imagemagick.org/script/binary-rele...
分类:Web程序   时间:2015-02-26 18:36:19    阅读次数:445
windows安装mysql-python时碰到setuptools找不到安装路径的解决办法
google了一下,新建一个python脚本运行即可~~~感谢原作者## script to register Python 2.0 or later for use with win32all# and other extensions that require Python registry s...
分类:数据库   时间:2015-02-26 16:27:56    阅读次数:163
标准ajax提交方法
script type='text/javascript'> jQuery(document).ready(function(){ jQuery('form').submit(function(){     jQuery.ajax({     type:'post',     dataType:'json',     data:jQuery('#activityform').seri...
分类:Web程序   时间:2015-02-26 14:58:50    阅读次数:176
7zip self-extracted executable: To extract file to specific directory
1) Install 7-zip (7zS.sfx will be installed to C:\Program Files\7-Zip):http://7zsfx.solta.ru/en/2) Copy following script snippet into notepad and save...
分类:其他好文   时间:2015-02-25 21:02:24    阅读次数:139
Syntax error on token "enum", interface expected
SeasonEnum.java中 public class SeasonEnum {     public enum Features {     } } 如果上诉代码报错:enum cannot be resolved to a type,表示系统不识别enum。 J2SE1.5新增了enum关键字,用于定义枚举类。所以只有在jdk1.5及以后,enum才能使用。 ...
分类:编程语言   时间:2015-02-25 18:43:39    阅读次数:979
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!