@echo off
set BuildConsoleTool=
goto findpathc
:findpathc
set BuildConsoleTool="C:\Program Files (x86)\Xoreax\IncrediBuild\BuildConsole.exe"
if exist %BuildConsoleTool% ( goto build ) else goto f...
分类:
其他好文 时间:
2015-04-23 15:59:48
阅读次数:
306
closeallobjects‘auditselect"execsp_audit‘exec_procedure‘,‘all‘,‘"+name+"‘,‘off‘"AS‘--‘fromsysobjectswhereaudflags!=0andtypein(‘P‘,‘TR‘)
select"execsp_audit‘select‘,‘all‘,‘"+name+"‘,‘off‘"AS‘--‘fromsysobjectswhereaudflags!=0andtypein(‘U‘,‘V‘)
select"execsp_a..
分类:
数据库 时间:
2015-04-22 16:15:21
阅读次数:
234
Here some simple tips to optimize your application for production.Configure your application.confFirst off, the best way to specify production mode is...
分类:
移动开发 时间:
2015-04-22 13:26:47
阅读次数:
231
1.查看端口使用情况 netstat -apn | grep 8080 关闭端口: kill -9 进程id2.关闭防火墙及selinux (防火墙)重启后永久生效:chkconfig iptables on/off 即时生效:service iptables start/stop (se...
分类:
系统相关 时间:
2015-04-21 20:26:22
阅读次数:
220
1、检测鼠标左键右键$(document).ready(function(){$("#xy").mousedown(function(e){alert(e.which)//1=左键2=中键3=右键})});2、关闭所有动画效果$(document).ready(function(){JQuery.fx.off=true;});3、根据浏览器大小添加不同的样式<scripttype="text/javascript">$(..
分类:
Web程序 时间:
2015-04-21 18:37:32
阅读次数:
150
关于文件中配置的每个部分的大致作用: #将日志级别为Debug的日志信息输出到CONSOLE,R(CONSOLE和R是可以任意起名的) log4j.rootLogger=DEBUG, CONSOLE, R #日志等级可分为OFF、FATAL、ERROR、WARN、INFO、DEBUG、A...
分类:
其他好文 时间:
2015-04-21 14:55:59
阅读次数:
220
A Boltzmann machine is a network of symmetrically connected, neuron-like units that make stochastic decisions about whether to be on or off. Boltzmann...
分类:
系统相关 时间:
2015-04-20 20:40:44
阅读次数:
301
在很多场景下,我们都需要解决一些诸如轮训这样的问题。如果这样的算法出现在app上,这种轮训对于app性能和电量的消耗都是个巨大的灾难,那如何解决这种问题呢?
app在上一次更新操作之后还未被使用的情况下,使用指数退避算法exponential back-off algorithm来减少更新频率。这里我们介绍下指数退避算法。
SharedPreferences sp = context.ge...
分类:
编程语言 时间:
2015-04-20 17:07:34
阅读次数:
167
代码加密使用luajit加密
具体文件路径就是:
....\frameworks\cocos2d-x\external\lua\luajit\src\src
加密的工具windows bat批处理:
代码如下:
@echo off
if exist out rd /s /q out
mkdir out
:input
cls
set input=:
set /p input= ÍÏÈë...
分类:
其他好文 时间:
2015-04-20 13:11:29
阅读次数:
239
默认的nginx.conf配置文件worker_processes 1;events { worker_connections 1024;}http { access_log off; client_body_temp_path temp/client_body_temp; ...
分类:
其他好文 时间:
2015-04-20 00:22:43
阅读次数:
268