qr

所属分类:自动编程
开发工具:C++
文件大小:264KB
下载次数:0
上传日期:2015-10-29 20:20:20
上 传 者sh-1993
说明:  一种网络QR码发生器
(A Web QR Code Generator)

文件列表:
.htaccess (65, 2015-10-30)
.travis.yml (125, 2015-10-30)
3rdParty (0, 2015-10-30)
3rdParty\gtest (0, 2015-10-30)
3rdParty\gtest\LICENSE (1475, 2015-10-30)
3rdParty\gtest\include (0, 2015-10-30)
3rdParty\gtest\include\gtest (0, 2015-10-30)
3rdParty\gtest\include\gtest\gtest-death-test.h (11523, 2015-10-30)
3rdParty\gtest\include\gtest\gtest-message.h (9186, 2015-10-30)
3rdParty\gtest\include\gtest\gtest-param-test.h (75864, 2015-10-30)
3rdParty\gtest\include\gtest\gtest-printers.h (32803, 2015-10-30)
3rdParty\gtest\include\gtest\gtest-spi.h (9952, 2015-10-30)
3rdParty\gtest\include\gtest\gtest-test-part.h (6509, 2015-10-30)
3rdParty\gtest\include\gtest\gtest-typed-test.h (10242, 2015-10-30)
3rdParty\gtest\include\gtest\gtest.h (88434, 2015-10-30)
3rdParty\gtest\include\gtest\gtest_pred_impl.h (15145, 2015-10-30)
3rdParty\gtest\include\gtest\gtest_prod.h (2324, 2015-10-30)
3rdParty\gtest\include\gtest\internal (0, 2015-10-30)
3rdParty\gtest\include\gtest\internal\gtest-death-test-internal.h (13429, 2015-10-30)
3rdParty\gtest\include\gtest\internal\gtest-filepath.h (9603, 2015-10-30)
3rdParty\gtest\include\gtest\internal\gtest-internal.h (44174, 2015-10-30)
3rdParty\gtest\include\gtest\internal\gtest-linked_ptr.h (8101, 2015-10-30)
3rdParty\gtest\include\gtest\internal\gtest-param-util-generated.h (192176, 2015-10-30)
3rdParty\gtest\include\gtest\internal\gtest-param-util.h (24191, 2015-10-30)
3rdParty\gtest\include\gtest\internal\gtest-port.h (74126, 2015-10-30)
3rdParty\gtest\include\gtest\internal\gtest-string.h (6968, 2015-10-30)
3rdParty\gtest\include\gtest\internal\gtest-tuple.h (28617, 2015-10-30)
3rdParty\gtest\include\gtest\internal\gtest-type-util.h (185666, 2015-10-30)
3rdParty\gtest\src (0, 2015-10-30)
3rdParty\gtest\src\gtest-all.cc (2161, 2015-10-30)
3rdParty\gtest\src\gtest-death-test.cc (50949, 2015-10-30)
3rdParty\gtest\src\gtest-filepath.cc (14155, 2015-10-30)
3rdParty\gtest\src\gtest-internal-inl.h (46465, 2015-10-30)
3rdParty\gtest\src\gtest-port.cc (27466, 2015-10-30)
3rdParty\gtest\src\gtest-printers.cc (12494, 2015-10-30)
3rdParty\gtest\src\gtest-test-part.cc (4159, 2015-10-30)
3rdParty\gtest\src\gtest-typed-test.cc (3762, 2015-10-30)
3rdParty\gtest\src\gtest.cc (184142, 2015-10-30)
... ...

# [qr.cgi: A CGI QR Code Generator](https://el-tramo.be/qr.cgi) ## About A CGI binary for generating QR Codes. Put this on your webserver, point your browser to it, drag the bookmarklet into your bookmarks bar, and create QR codes for the page you're currently browsing by clicking the bookmarklet (handy for transferring links to your smartphone to continue browsing a page on the go). Because it is written in C++, it is fast and very light on resources. ## Dependencies - A C++11-compatible compiler - LibQREncode: `libqrencode` (Homebrew), `libqrencode-dev` (Debian Wheezy) - LibPNG: `libpng` (Homebrew), `libpng12-dev` (Debian Wheezy) ## Building To build, run scons You can pass optional build flags via the command line, or put them in `config.py`: scons optimize=1 debug=0 I only tested building on Debian Wheezy and Mac OS X (Mavericks). If you have a different setup, edit the `SConscript` file to reflect these. ## Installation After building, put `qr.cgi` somewhere on your webserver, and make sure it is executable. For Apache, putting the following in a .htaccess dir with the `qr.cgi` script should work (assuming the right permissions to override): Options ExecCGI AddHandler cgi-script .cgi DirectoryIndex qr.cgi On nginx with fcgiwrap, the following should work: location /path/to/qrcgi { index qr.cgi; location = /path/to/qrcgi { gzip off; fastcgi_pass unix:/var/run/fcgiwrap.socket; include fastcgi_params; } } ## Usage Point your browser to `http://your.server.com/path/to/qrcgi/`. This will show a page with a link to a bookmarklet. Drag this bookmarklet into your bookmarks, and click it when on a page you want to generate a QR code for. ## License Licensed under the GNU General Public License.

近期下载者

相关文件


收藏者