This directory contains a script('makefsdata') to create C code suitable for
httpd for given html pages(or other files) in a directory.There is also a plain C console application doing the same and extended a bit.Usage: htmlgen [targetdir][-s][-i]stargetdir: relative or absolute path to files to convertswitch-s: toggle processing of subdirectories(default is on)switch-e: exclude HTTP header from file(header is created at runtime,default is on)switch-11: include HTTP 1.1header(1.0 is default)if targetdir not specified, makefsdata will attempt toprocess files in subdirectory 'fs'.The C version of this program can optionally store the none-SSI files in
a compressed form in which they are also sent to the web client(which
must support the Deflate content encoding). Files that grow during compression(due to being not compressible well), will stored umcompressed automatically.
In order to do so, compile the program with MAKEFS_SUPPORT_DEFLATE set to 1. You must
manually download minizip.c for this to work. As an alternative, you can additionally
define MAKEFS_SUPPORT_DEFLATE_ZLIB to use your system's zlib instead.
Compression of .html,.js,.css and .svg files usually yields very good compression
rates and is a great way of reducing your program's size.
makefsdata.c实现的扩展功能。
staticvoidprint_usage(void){printf(" Usage: htmlgen [targetdir] [-s] [-e] [-11] [-nossi] [-ssi:<filename>] [-c] [-f:<filename>] [-m] [-svr:<name>] [-x:<ext_list>] [-xc:<ext_list>" USAGE_ARG_DEFLATE NEWLINE NEWLINE);printf(" targetdir: relative or absolute path to files to convert" NEWLINE);printf(" switch -s: toggle processing of subdirectories (default is on)" NEWLINE);printf(" switch -e: exclude HTTP header from file (header is created at runtime, default is off)" NEWLINE);printf(" switch -11: include HTTP 1.1 header (1.0 is default)" NEWLINE);printf(" switch -nossi: no support for SSI (cannot calculate Content-Length for SSI)" NEWLINE);printf(" switch -ssi: ssi filename (ssi support controlled by file list, not by extension)" NEWLINE);printf(" switch -c: precalculate checksums for all pages (default is off)" NEWLINE);printf(" switch -f: target filename (default is \"fsdata.c\")" NEWLINE);printf(" switch -m: include \"Last-Modified\" header based on file time" NEWLINE);printf(" switch -svr: server identifier sent in HTTP response header ('Server' field)" NEWLINE);printf(" switch -x: comma separated list of extensions of files to exclude (e.g., -x:json,txt)" NEWLINE);printf(" switch -xc: comma separated list of extensions of files to not compress (e.g., -xc:mp3,jpg)" NEWLINE);#ifMAKEFS_SUPPORT_DEFLATEprintf(" switch -defl: deflate-compress all non-SSI files (with opt. compr.-level, default=10)" NEWLINE);printf(" ATTENTION: browser has to support \"Content-Encoding: deflate\"!" NEWLINE);#endifprintf(" if targetdir not specified, htmlgen will attempt to" NEWLINE);printf(" process files in subdirectory 'fs'" NEWLINE);}
论文笔记-WSDM2025-Large Language Model Simulator for Cold-Start Recommendation ColdLLM:用于冷启动推荐的大语言模型模拟器摘要1.引言2.前言3.方法3.1整体框架3.1.1行为模拟3.1.2嵌入优化 3.2耦合漏斗ColdLLM3.2.1过滤模拟3.2.2精炼模拟 3.3模拟器训练3.3.1LLM…
转自 The Heliosphere - NASA This is an artists concept of our Heliosphere as it travels through our galaxy with the major features labeled. Termination Shock: Blowing outward billions of kilometers from the Sun is the solar wind, a thin stream of electrica…
【引用格式】:Ryoo K, Lim H, Myung H. MambaGlue: Fast and Robust Local Feature Matching With Mamba[J]. arXiv preprint arXiv:2502.00462, 2025.
【网址】:https://arxiv.org/pdf/2502.00462
【开源代码】:https://github.com/uri-Ka…