<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
<script>
/**
* 简易键盘监听事件
* @author shine.s
*/
var KeyListener = (function()...
分类:
Web程序 时间:
2014-12-29 16:59:39
阅读次数:
157
iOS7 之前
Objective-C -> JavaScript
UIWebView对象有以下方法
- (NSString *)stringByEvaluatingJavaScriptFromString:(NSString *)script
该方法能够执行一段JavaScript字符串, 并返回字符串类型的返回值. 例如:
UIWebView *webView = [[UIWeb...
分类:
编程语言 时间:
2014-12-29 16:52:56
阅读次数:
341
centos6.5的64位系统,修改完/etc/sysconfig/network-script/ifcfg-eth0之后重启,竟然又恢复回去,原来是NetworkManager服务在作怪,关闭他,再修改,重启就不会变不回去了。 临时关闭:service? NetworkManag...
分类:
Web程序 时间:
2014-12-29 06:47:13
阅读次数:
1289
#!/bin/bash#desc: cut nginx log#this script run at 00:00LOG_PATH='/usr/local/nginx/logs/';LOG_BACK_PATH='/home/www/log/'$(date -d '-1 days' +'%Y/%m/')...
分类:
其他好文 时间:
2014-12-28 23:41:28
阅读次数:
213
Normally Gradle looks for a build script file with the name build.gradle in the current directory to execute a build. But we can easily use a differen...
分类:
其他好文 时间:
2014-12-27 21:36:08
阅读次数:
189
Arguments are the values you pass to a Perl script. Each value on the command line after the name of the script will be assigned to the special variab...
分类:
其他好文 时间:
2014-12-27 18:53:15
阅读次数:
156
前言关于JavaScript脚本加载的问题,相信大家碰到很多。主要在几个点——1> 同步脚本和异步脚本带来的文件加载、文件依赖及执行顺序问题2> 同步脚本和异步脚本带来的性能优化问题深入理解脚本加载相关的方方面面问题,不仅利于解决实际问题,更加利于对性能优化的把握并执行。先看随便一个script标签...
分类:
编程语言 时间:
2014-12-27 16:03:44
阅读次数:
166
2014-12-27 Created By 鲍新建一、重启数据库 - DatabaseStep1. 进入Script目录[oravis@paleonode1 PROD_paleonode1]$ su - oravis[oravis@paleonode1 PROD_paleonode1]$ pwd/u...
分类:
移动开发 时间:
2014-12-27 12:42:12
阅读次数:
900
USE [DataInputTest]GO/****** Object: StoredProcedure [dbo].[CreateTableList] Script Date: 12/27/2014 11:12:37 ******/SET ANSI_NULLS ONGOSET QUOTED...
分类:
其他好文 时间:
2014-12-27 12:32:34
阅读次数:
177
Gradle Goodness: Init Script for Adding Extra Plugins to Existing ProjectsGradle is very flexible. One of the ways to alter the build configuration is...
分类:
其他好文 时间:
2014-12-27 10:07:36
阅读次数:
180