kk Blog —— 通用基础


date [-d @int|str] [+%s|"+%F %T"]
netstat -ltunp
sar -n DEV 1

php spreadsheet 填充背景色

https://phpspreadsheet.readthedocs.io/en/stable/topics/recipes/

1
2
3
4
5
$sheet->getStyle("B3:B7")->getFill()->setFillType(\PhpOffice\PhpSpreadsheet\Style\Fill::FILL_SOLID)->getStartColor()->setARGB('FFFF0000');

$spreadsheet->getActiveSheet()->getStyle('B3:B7')->getFill()
	->setFillType(\PhpOffice\PhpSpreadsheet\Style\Fill::FILL_SOLID)
	->getStartColor()->setARGB('FFFF0000');

language, php

« php统计文章字数 php sm3 »