04 2019 档案

摘要:import { AppComponentBase } from '@shared/app-component-base'; this.permission.isGranted(menuItem.permissionName); 阅读全文
posted @ 2019-04-30 09:34 lishidefengchen 编辑
摘要:# -*- coding: utf-8 -*- def triangles(): yield [1] # n = 0 第一行 yield [1, 1] # n = 1 第二行 b, n, old = 0, 2, [1, 1] # 从第三行开始 n = 2 newL = list(range(n + 1)) while b < n: ... 阅读全文
posted @ 2019-04-25 16:17 lishidefengchen 编辑
摘要:.crx 文件类型:Chrome Extension 扩展名为.crx的文件是一个插件文件。 解压:使用7zip 修改: notepad++ 打包: Chrome 扩展项 阅读全文
posted @ 2019-04-25 10:19 lishidefengchen 编辑
摘要:docker run 镜像的时候报错: [root@docker ~]# docker run -itd --name wordpress -p 88:80 wordpress:v1b77482f8075042e9cc6723d6922a1211c37d99339678a00cc040396b23d 阅读全文
posted @ 2019-04-24 11:29 lishidefengchen 编辑
只有注册用户登录后才能阅读该文。
posted @ 2019-04-24 05:53 lishidefengchen 编辑
摘要:如此简单。 阅读全文
posted @ 2019-04-23 17:28 lishidefengchen 编辑
摘要:public class SchedulerManager : ISingletonDependency { private ILogger logger; public SchedulerManager(ILogger Loger) { logger = Loger; } 阅读全文
posted @ 2019-04-17 14:48 lishidefengchen 编辑
该文被密码保护。
posted @ 2019-04-17 13:22 lishidefengchen 编辑
摘要:Visual Studio 2019 Enterprise:BF8Y8-GN2QH-T84XB-QVY3B-RC4DFVisual Studio 2019 Professional:NYWVH-HT4XC-R2WYW-9Y3CM-X4V3Y 阅读全文
posted @ 2019-04-16 10:06 lishidefengchen 编辑
摘要:app.UseHangfireServer() 放到 app.UseAbp() 前面 作者: zhaok 出处: http://dotnetmonkey.cnblogs.com/ 阅读全文
posted @ 2019-04-15 15:46 lishidefengchen 编辑
摘要:发布Release版本:dotnet publish --configuration Release 发布Debug版本:dotnet publish --configuration Debug 阅读全文
posted @ 2019-04-15 12:57 lishidefengchen 编辑
摘要:ssh root@11.11.11.12 阅读全文
posted @ 2019-04-15 12:30 lishidefengchen 编辑
摘要:用正则表达式去匹配即可, scp *.tar root@11.11.11.12:/root/ 拷贝当前目录下的所有tar类型的文件到服务器上 阅读全文
posted @ 2019-04-15 11:59 lishidefengchen 编辑
摘要:docker run --name=mydemo -p -d 2222:80 imagename --name: 指定容器名称 -p:指定容器端口号 -d:指定容器后台运行 阅读全文
posted @ 2019-04-15 11:53 lishidefengchen 编辑
摘要:docker images nihao_* 列出所有 nihao_* 正则匹配的镜像 阅读全文
posted @ 2019-04-15 11:45 lishidefengchen 编辑
摘要:self._entityService .getAll() .pipe( finalize(() => { if (self.sheet && self.sheet.length > 0) { self._xlsxServ... 阅读全文
posted @ 2019-04-15 10:30 lishidefengchen 编辑
摘要:docker exec -ti 容器ID /bin/bash 阅读全文
posted @ 2019-04-12 10:32 lishidefengchen 编辑
摘要:镜像,ID,端口号,状态 docker ps -a --format "table {{.Image}}\t{{.ID}}\t{{.Ports}}\t{{.Status}}" 列出正在运行的容器 docker ps -a -f "status=running" 列出已经退出的容器 docker ps 阅读全文
posted @ 2019-04-12 10:11 lishidefengchen 编辑
摘要:前引 apb部署 后端服务9900端口,域名访问地址是:http://nihao-api.hellow.com; 前端4200端口,域名访问地址是:http://nihao.hellow.com; 前后端的配置文件该如何配置? (注意:下面图片中的地址写错了,按上面的对应替换理解,都是子域名) 前端 阅读全文
posted @ 2019-04-12 09:52 lishidefengchen 编辑
摘要:工作中经常用到Angular Material 中的好多按钮素材,奈何官网经常上不去,所以只能自己把这些常用的按钮扒下来了,留给自己同时也留给大家方便查看。 Angular material mat-icon 资源参考_Action Angular material mat-icon 资源参考_Co 阅读全文
posted @ 2019-04-11 19:09 lishidefengchen 编辑
摘要:<!-- img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !i 阅读全文
posted @ 2019-04-11 19:05 lishidefengchen 编辑
摘要:<!-- img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !i 阅读全文
posted @ 2019-04-11 19:04 lishidefengchen 编辑
摘要:<!-- img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !i 阅读全文
posted @ 2019-04-11 19:04 lishidefengchen 编辑
摘要:<!-- img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !i 阅读全文
posted @ 2019-04-11 19:03 lishidefengchen 编辑
摘要:<!-- img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !i 阅读全文
posted @ 2019-04-11 19:02 lishidefengchen 编辑
摘要:<!-- img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !i 阅读全文
posted @ 2019-04-11 19:02 lishidefengchen 编辑
摘要:<!-- img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !i 阅读全文
posted @ 2019-04-11 19:01 lishidefengchen 编辑
摘要:<!-- img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !i 阅读全文
posted @ 2019-04-11 19:00 lishidefengchen 编辑
摘要:<!-- img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !i 阅读全文
posted @ 2019-04-11 18:59 lishidefengchen 编辑
摘要:<!-- img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !i 阅读全文
posted @ 2019-04-11 18:59 lishidefengchen 编辑
摘要:<!-- img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !i 阅读全文
posted @ 2019-04-11 18:39 lishidefengchen 编辑
摘要:<!-- img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !i 阅读全文
posted @ 2019-04-11 18:32 lishidefengchen 编辑
摘要:<!-- img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !i 阅读全文
posted @ 2019-04-11 18:31 lishidefengchen 编辑
摘要:<!-- img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !i 阅读全文
posted @ 2019-04-11 18:29 lishidefengchen 编辑
摘要:<!-- img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !i 阅读全文
posted @ 2019-04-11 18:15 lishidefengchen 编辑
摘要:Demo: https://stackblitz.com/edit/angular-5mgfxh?file=main.ts 官方文档: https://material.angular.io/components/paginator/examples 阅读全文
posted @ 2019-04-11 17:31 lishidefengchen 编辑
摘要:#复制# 按住鼠标左键,执行选择,放开左键时完成复制 #粘贴# 点击鼠标右键,执行粘贴 阅读全文
posted @ 2019-04-11 11:28 lishidefengchen 编辑
摘要:Docker Run We can then override the environment variables set in the Docker file when running the image by using the -e flag: 对应.netcore应用程序,设置 ASPNET 阅读全文
posted @ 2019-04-11 10:52 lishidefengchen 编辑
摘要:#linux指令# printenv 阅读全文
posted @ 2019-04-11 10:46 lishidefengchen 编辑
摘要:<button class="close" data-dismiss="modal" type="button" aria-label="Close" (click)="close()">×</button> 阅读全文
posted @ 2019-04-10 17:14 lishidefengchen 编辑
摘要:sed -i "s/搜索内容/替换内容/g" 文件名 阅读全文
posted @ 2019-04-10 17:13 lishidefengchen 编辑
摘要:import os t = os.system('clear') 阅读全文
posted @ 2019-04-10 10:02 lishidefengchen 编辑
摘要:docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled (Client.Timeout exceeded while awaiting headers). 阅读全文
posted @ 2019-04-08 17:15 lishidefengchen 编辑
摘要:docker save 对应 docker load docker export 对应 docker import 在导出的包的环境中的docker版本跟需要导入的环境中的docker版本不一致也可能导致这个原因 阅读全文
posted @ 2019-04-08 15:20 lishidefengchen 编辑
摘要:#redis默认只允许本地访问# #根据自己的配置文件启动,linux环境下同理# #远程访问的话需要设置配置文件,在redis安装根目录下xxx.config# #修改三个地方# 地址绑定 保护模式 密码 #注意事项# 参数前面不能有空格,这个是我踩过的一个坑 阅读全文
posted @ 2019-04-08 10:27 lishidefengchen 编辑
摘要:<add name="Abp.Redis.Cache" connectionString="127.0.0.1:6379,password=123456"/> 参考:https://github.com/StackExchange/StackExchange.Redis/blob/master/Do 阅读全文
posted @ 2019-04-04 17:59 lishidefengchen 编辑
摘要:用的字体建议下载到本地,否则部署环境没有网络的话,则图片字体会不正常显示。 阅读全文
posted @ 2019-04-04 11:19 lishidefengchen 编辑
摘要:abp 项目默认的路由没有使用hash,这会导致手动刷新浏览器时,页面404错误; 解决方法网上很多,就是在路由里添加一个{useHash: true},就行了。 #用Hash带来的新问题# abp框架,用hash后,发现登录界面不跳转; 调试跟踪后,发现我们需要在它的登录服务里再单独处理一下这中h 阅读全文
posted @ 2019-04-04 10:13 lishidefengchen 编辑
摘要:安装 Current .NET Core Hosting Bundle installer (direct download) 阅读全文
posted @ 2019-04-03 17:13 lishidefengchen 编辑

点击右上角即可分享
微信分享提示