自动安装apt-get install libreoffice -y apt-get install libreoffice-l10n-zh-cn libreoffice-help-zh-cn -y cd /usr/share/fonts && \ wget https://mirrors.tuna.tsinghua.edu.cn/adobe-fonts/sou...
自动安装apt-get install libreoffice -y apt-get install libreoffice-l10n-zh-cn libreoffice-help-zh-cn -y cd /usr/share/fonts && \ wget https://mirrors.tuna.tsinghua.edu.cn/adobe-fonts/sou...
protected $autoWriteTimestamp = 'datetime'; protected $dateFormat = 'Y-m-d H:i:s';
use PhpOffice\PhpSpreadsheet\IOFactory; use PhpOffice\PhpSpreadsheet\Spreadsheet; class Xlsx { public static function load($filePath) { $inputFileType = IOFactory::identify($filePa...
nginx存在多个虚拟机时候必须所有虚拟机都去掉才会生效
文档转为pdf.\soffice --convert-to pdf:writer_pdf_Export --outdir C:\var\test.pdf C:\var\b.pptx
FROM php:7.2.2-fpm # 国内源 RUN apt-get clean RUN apt-get update RUN apt-get install -y libpq-dev RUN docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql RUN docker-php-ext-install pdo RUN...
建立文件.gitignore内容* !.gitignore忽略文件git rm --cached readme1.txt
json展开值SELECT "value" FROM "inner_id_mapping", json_each_text(inner_id_mapping.ids::json) limit 100窗口函数增加idx的序号字段,使用over进行分窗,后续可通过idx获取组内的行数SELECT *, row_number() over(partition...
apache 删除响应headerHeader unset Access-Control-Allow-Originapache 增加headerHeader set Access-Control-Allow-Methods * nginx 增加headeradd_header Access-Control-Allow-Origin $http_origin always;