码迷,mamicode.com
首页 >  
搜索关键字:script syntax    ( 25337个结果)
EditorGUILayout.EnumPopup 枚举弹出选择菜单
http://www.unity蛮牛.com/thread-25490-1-1.htmlhttp://www.unity蛮牛.com/m/Script/EditorGUILayout.EnumPopup.htmlEditorGUILayout.EnumPopup 枚举弹出选择菜单static fun...
分类:编程语言   时间:2014-11-26 18:22:42    阅读次数:282
2014.11.26 向MySQL数据表中插入数据时,显示“syntax error”时应检查
插入语句:"insert into tablename (a,b,c,d) values(1,2,3,4)"插入结果:a b c d1 2 3 4有误时,请检查:1、名值对有没有写错;2、代码的字符串处理有没有问题;3、代码中的列名和表中的列名是不是一一对应的;4、定义的列名是否跟SQL...
分类:数据库   时间:2014-11-26 15:53:33    阅读次数:239
Unity 序列化
Script Serializationhttp://docs.unity3d.com/Manual/script-Serialization.html自定义序列化及例子:http://docs.unity3d.com/ScriptReference/ISerializationCallbackRe...
分类:编程语言   时间:2014-11-26 13:50:31    阅读次数:931
删除目录下空文件
写脚本操练时经常会创建一些空文件,所以就删除空文件这个小问题操练下,于是有了以下这个小脚本。#判断是否是目录,如果是目录,就返回0,否则返回1 is_directory(){ dir_path=$1 if[-d$dir_path];then return0 else echo"$dir_pathisnotadirectory." return1 fi } #通过file..
分类:其他好文   时间:2014-11-26 06:45:37    阅读次数:203
重命名文件空白字符为下划线脚本
命令行里操作有空格的文件多少有点不方便,最近也在学脚本,就根据一个重命令空白字符为下划线的脚本,梳理下。#!/bin/bash #重命名文件计数 handle_file=0 found_mark=0 forfile_namein*;do #通过grep的返回值来判断 echo"$file_name"|grep-q"" if[$?-eq$found_mark];then fi..
分类:其他好文   时间:2014-11-26 06:43:37    阅读次数:145
[AngularJS] Best Practise - Module
Module definitionsAngular modules can be declared in various ways, either stored in a variable or using the getter syntax. Use the getter syntax at al...
分类:Web程序   时间:2014-11-25 18:28:16    阅读次数:128
CentOS新增开机启动项
编辑rc.local文件vi /etc/rc.d/rc.local例如 1 #!/bin/sh 2 # 3 # This script will be executed *after* all the other init scripts. 4 # You can put your own init...
分类:其他好文   时间:2014-11-25 12:22:07    阅读次数:226
JavaScript 编写的简易计算器
<!DOCTYPE?html> <html> <head> <meta?http-equiv="Content-Type"?content="text/html;?charset=utf-8"?/>? <title>javascript?简单计算器</title> <script> //定义全局变量 var?one="1"; var?t...
分类:编程语言   时间:2014-11-24 17:26:45    阅读次数:227
js传递数据一些方式
1.用Image对象的src属性var img = new Image();img.src = "http://www.xxx.con/?data1=1";创建Image对象,通过其src属性可以向xxx地址传递数据,后台php可以通过GET方法获取src属性中“?”以后的数据。2.script标签...
分类:Web程序   时间:2014-11-24 17:01:28    阅读次数:148
python安装
1.下载python2.7,安装。比如安装到c:\python27\2.设置环境变量,path,加入c:\python27\;c:\python27\scripts\3.下载setuptools,解压。4.运行cmd,进入setuptools目录,执行python ez_setup。5.script...
分类:编程语言   时间:2014-11-24 15:13:21    阅读次数:194
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!