@echo off&rem 俄罗斯方块游戏,由netbenton编写,在bathome首发,完成时间:2009年9月25日 ver 2.0
if "%1" equ "para2" goto :para2
set "d-v=for %%a in (!str!) do set/a one=0x%%a,x=one/4+n,y=one%%4+m&(for %%b in ("r!x!.!y!") d...
分类:
其他好文 时间:
2015-07-12 12:55:37
阅读次数:
141
下面的演示涉及几个知识点:
1. 如何把命令输出内容保存到变量中?
2. 多次改变变量值,为什么在for或是if的()中的无效,如何变通?
3. bat的function实现?
见代码,和代码注释::@echo off
::adb的绝对路径
set qAdb="d:\Program Files (x86)\android-sdks\platform-tools\adb.ex...
分类:
其他好文 时间:
2015-07-11 13:37:33
阅读次数:
125
matlab中holdon与holdoff的用法hold on 是当前轴及图形保持而不被刷新,准备接受此后将绘制hold off 使当前轴及图形不在具备被刷新的性质hold on 和hold off,是相对使用的前者的意思是,你在当前图的轴(坐标系)中画了一幅图,再画另一幅图时,原来的图还在,与新图...
分类:
其他好文 时间:
2015-07-11 13:33:28
阅读次数:
118
get_magic_qoutes_gpc():当magic_quotes_gpc=On的时候,函数get_magic_quotes_gpc()就会返回1当magic_quotes_gpc=Off的时候,函数get_magic_quotes_gpc()就会返回0magic_quotes_gpc函数在p...
分类:
数据库 时间:
2015-07-10 23:33:03
阅读次数:
207
Atitit.执行cmd 命令行 php
1. 执行cmd 命令行,调用系统命令的基础 1
1.1. 实际执行模式 1
1.2. 空格的问题 1
1.3. 中文路径的问题,程序文件读取编码设置 1
1.4. 回显乱码 2
2. exec,system等函数调用系统命令 2
3. php.ini,关掉安全模式safe_mode = off 3
4. 参考 3
1....
分类:
Web程序 时间:
2015-07-10 22:17:20
阅读次数:
213
Crazyflie 2.0架构包括两个微控制器:
A NRF51, Cortex-M0, 用于实现无线通信和电源管理:
(1)按键开关逻辑(ON/OFF logic)
(2)控制给其他系统供电(STM32, sensors and expansion board)
(3)电池充电管理和电压测量
(4)Master 无线bootloader
(5)无线和BLE通信
(6)探测和检测...
分类:
其他好文 时间:
2015-07-10 19:02:21
阅读次数:
257
The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one 1"or11.11is read off as"tw...
分类:
其他好文 时间:
2015-07-10 15:04:57
阅读次数:
111
【apache配置参数备注】1、KeepAlive On/Off KeepAlive指的是保持连接活跃,类似于Mysql的永久连接。换一句话说,如果将KeepAlive设置为On,那么来自同一客户端的请求就不需要再一次连接,避免每次请求都要新建一个连接而加重服务器的负担。一般情况下,图片较多的网站....
分类:
Web程序 时间:
2015-07-10 09:21:07
阅读次数:
158
Count and Say
The count-and-say sequence is the sequence of integers beginning as follows:
1, 11, 21, 1211, 111221, ...
1 is read off as "one 1" or 11.
11 is read off as "two 1s" or 21.
21 i...
分类:
其他好文 时间:
2015-07-09 22:45:31
阅读次数:
140
缘起:网上下载了一份源代码,但是由于其中的存在某些空文件夹,而且文件夹特别多,且目录也比较深,所以写一个批处理,用来查找出这份源代码中的空文件夹,使其可以在github上提交 1 @echo off 2 cls 3 rem --- main program --- 4 set baseDir=C:\...
分类:
其他好文 时间:
2015-07-09 17:45:23
阅读次数:
117