上一页 1 2 3 4 5 6 7 ··· 18 下一页
摘要: 本篇文章带大家简单了解一下Angular模板的ng-template和ng-container指令,介绍一下ng-template和ng-container指令使用方法。 ng-template指令简介 ng-template是一个 Angular 结构型指令,用来渲染 HTML。 它永远不会直接显 阅读全文
posted @ 2023-08-21 10:53 PrintY 阅读(762) 评论(0) 推荐(0) 编辑
摘要: 开发环境 Windows 10 x64,已安装node和npm,其中node是通过nvm管理的,参考:https://www.cnblogs.com/PrintY/p/16892116.html 1、安装脚手架 npm install -g @angular/cli 2、测试安装结果 ng vers 阅读全文
posted @ 2023-08-18 10:10 PrintY 阅读(481) 评论(0) 推荐(0) 编辑
摘要: https://hub.docker.com/r/portainer/portainer-ce/tags 1、拉取镜像 docker pull portainer/portainer-ce:latest 2、运行容器 docker run -d \ -p 8001:8000 \ -p 9001:90 阅读全文
posted @ 2023-08-14 11:09 PrintY 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 1、下载docker desktop https://www.docker.com/products/docker-desktop 2、安装后报错 Docker Desktop requires a newer WSL kernel version. Update the WSL kernel by 阅读全文
posted @ 2023-08-11 10:40 PrintY 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1、安装、卸载 modules 参考:https://www.cnblogs.com/phpjason/p/16354320.html npm install xxx 下载安装包到node_modelus npm install xxx@1.x.x 可以精确下载某个版本 npm install -- 阅读全文
posted @ 2023-07-07 17:10 PrintY 阅读(11) 评论(0) 推荐(0) 编辑
摘要: -- 时间 转 字符串 select to_char(now()::timestamp(0) without time zone, 'YYYY-MM-DD HH24:MI:SS') as date_time_str; -- 导出表结构 select col.table_name, col.colum 阅读全文
posted @ 2023-06-15 11:20 PrintY 阅读(4) 评论(0) 推荐(0) 编辑
摘要: -- 创建函数 CREATE FUNCTION del_ora_table() RETURNS void AS $$ DECLARE tmp VARCHAR(512); DECLARE names CURSOR FOR select tablename from pg_tables where sc 阅读全文
posted @ 2023-06-13 14:20 PrintY 阅读(260) 评论(0) 推荐(0) 编辑
摘要: --创建索引 CREATE INDEX index_statistics1 ON dbo.integral (deleted,pid,created); --删除索引(需要选中dbo) DROP INDEX index_statistics5 --查询索引 SELECT * FROM pg_inde 阅读全文
posted @ 2023-06-07 16:56 PrintY 阅读(65) 评论(0) 推荐(0) 编辑
摘要: 1、buffer保存至本地 //引入文件 var fs = require("fs") //打开文件 var fd = fs.openSync("hello.txt","w") //向文件内写入内容 fs.writeSync(fd,"传入的内容") //关闭文件 fs.closeSync(fd) 2 阅读全文
posted @ 2023-04-14 22:45 PrintY 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 合并objects var o1 = { a: 1 }; var o2 = { b: 2 }; var o3 = { c: 3 }; var obj = Object.assign(o1, o2, o3); console.log(obj); // { a: 1, b: 2, c: 3 } cons 阅读全文
posted @ 2023-02-23 09:10 PrintY 阅读(135) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 18 下一页