I always forget how exactly to name my plugins. So here are the rules copied from Dokuwiki web site for
Month: April 2015
Node.js
Too see version of node: node -v To run script: node script.js To read file line by line https://stackoverflow.com/questions/11986350/node-js-read-and-write-file-lines
Dokuwiki search and list all files under a directory
depth=1 will just show one level depth=0 will show all levels under a namespace $pagearrays = array(); $depth=0; search($pagearrays, $conf[‘datadir’],
HTML tips
To force a download via a link: download something.pdf Note: does not work for Safari and IE. Works for chrome
Good http header for zip file downloads
<?php // HTTP Headers for ZIP File Downloads // http://perishablepress.com/press/2010/11/17/http-headers-file-downloads/ // set example variables $filename = “test.zip”; $filepath = “c://tmp//zipdir//”;