Description: VC编写的一个小程序,可以修改单个或多个文件的修改时间。-VC prepared by a small program can modify individual or multiple files modified. Platform: |
Size: 76800 |
Author:李浩 |
Hits:
Description: * 一、功能: Timestamp驱动演示代码.
* 二、该源码需要硬件开发板的支持,因为ISS对Timestamp定时器的模拟还不够精确
* 如果将该源码运行于ISS模式下,将得不到精确的结果
* 三、运行前提:
* 1. 选择包含JTAG_UART和定时器的NiosII系统(ptf文件)
* 其中的定时器要求:
* (1) 具备可写的period寄存器
* (2) 具备可读的snapshot寄存器
* 2. 在系统库属性中完成下面的配置:
* (1) 将stdout映射到JTAG_UART
* (2) 将定时器映射为Timestamp时钟 -* 1, function: Timestamp-driven presentation code.* Second, the source needs the support of hardware development boards, because ISS on Timestamp timer analog also not precise enough* If the source code running on the ISS model, will not be* Third, accurate results, run the premise:* 1. JTAG_UART choose to include and NiosII system timer (ptf files)* one timer requirements:* (1) can be written in a period register* (2) have readable snapshot register* 2. in the system library properties to complete the following configuration:* (1) stdout is mapped to the JTAG_UART* (2) will be mapped to Timestamp timer clock Platform: |
Size: 1024 |
Author:李天 |
Hits:
Description: 这是一个可以将从网上下载的零碎小片断的FLV视频,合并成一个文件的小程序。
合并FLV文件的注意事项最重要的有三点:
1.只有第一个FLV文件才需要保留脚本标签,删除后面的FLV文件的脚本标签。
2.更改第一个FLV文件脚本标签中的持续时间值(把后面的FLV文件的持续时间值累加上去)。这里要注意的是:FLV文件与VB的双精度值的字节顺序是相反的。
3.后面的FLV文件中,所有视频标签和音频标签中的时间戳,要加上第一个FLV文件中的“持续时间”这个元素值,再加上56(视频标签时间戳)或26(音频标签时间戳,加26是因为FLV的音频类型基本上都是mp3,而mp3每帧的时长都是26ms)。
附件中的程序代码已经做了适当的注释,不过,想要完全弄明白,请参阅笔者写的《FLV文件数据结构》一文。-This is a can be downloaded from the Internet the small fragments of the FLV video, merged into one document small program.
Notes with FLV files is the most important of the three point:
1 only the first FLV file only needs to retain the script tag, delete the back FLV file script tags.
2 change the duration of the first FLV file script tag value (the last time behind the FLV file values accumulated.). It should be noted here is: sequential byte double precision FLV file and the value of VB is the opposite of.
After the 3 FLV files, all video and audio timestamp tag label, with the first FLV file in the "duration" of the element value, plus 56 (video label timestamp) or 26 (audio tags timestamp, plus 26 is because the FLV audio types on the basis of are MP3 and MP3, each frame duration is 26ms).
In the annex to the program code has to do the appropriate annotations, however, want to fully understand, please refer to the author to write "FLV" a text file data structure.
Platform: |
Size: 12288 |
Author:老王 |
Hits:
Description: 自适应移动设备屏幕,支持手机、pad、电脑同时访问
纯文本存储,不使用数据库
UTF-8编码
自动加上时间戳,只有当天第一条记录日期,其他只记录时间,节约屏幕空间。
自动识别以 http:// 开头的网址,替换成链接
按月份自动归档,防止记录文件体积过大
可以当做随身便签纸使用,回到电脑上也可以访问,已部分替代evernote-Adaptive mobile screen, support for mobile phone, pad, computer and access
Pure text storage, do not use the database
UTF-8 code
Automatically add a timestamp, only the first record date, the other only record the time, save screen space.
Automatic recognition of http:// at the beginning of a web site, replace the link
According to the month automatically archived log files, to prevent excessive volume
Can be used as a personal note paper, back to the computer can also access, have been partly replacing Evernote
Platform: |
Size: 37888 |
Author:wpudn41 |
Hits: