03 2019 档案

摘要:双Tab,用于补全 Ctrl+T,建立新页 Ctrl+W,关闭标签页 Ctrl+Tab,切换标签页 Alt+F4,关闭所有标签页 Ctrl+1,切换到第一个页签,Ctrl+2同理 Alt + enter,切换到全屏状态 阅读全文
posted @ 2019-03-28 17:34 lishidefengchen 编辑
摘要:https://www.cnblogs.com/uptothesky/p/6094357.html 阅读全文
posted @ 2019-03-28 11:54 lishidefengchen 编辑
摘要:#nmp# #netstat# #telnet# 服务器端口即使处于监听状态,但是防火墙iptables屏蔽了该端口,是无法通过该方法检测端口是否开放 #屏蔽与关闭# 对应服务器开启,一般端口就开启了,不能访问,可能是由于防火墙的限制,导致端口被屏蔽了。 阅读全文
posted @ 2019-03-28 10:38 lishidefengchen 编辑
摘要:PS1="\[\e[37;40m\][\[\e[32;40m\]\u\[\e[37;40m\]@\h \[\e[36;40m\]\w\[\e[0m\]]\\$ " #步骤#vi .bash_profile末尾追加配置:wq 保存退出source .bash_profile#效果如下# 阅读全文
posted @ 2019-03-28 10:21 lishidefengchen 编辑
摘要:参考:https://www.rabbitmq.com/relocate.html 阅读全文
posted @ 2019-03-27 18:00 lishidefengchen 编辑
摘要:删除 archives文件夹就行了 阅读全文
posted @ 2019-03-27 14:58 lishidefengchen 编辑
摘要:https://blog.zfanw.com/install-erlang-on-centos/ 阅读全文
posted @ 2019-03-27 13:48 lishidefengchen 编辑
摘要:$ grep -rn '字符串' 很好用~ 阅读全文
posted @ 2019-03-27 10:12 lishidefengchen 编辑
摘要:#内核# cat /proc/version #操作系统# uname -a #发行版本# cat /etc/issue #hostnamectl# 阅读全文
posted @ 2019-03-26 17:18 lishidefengchen 编辑
摘要:https://www.cnblogs.com/lishidefengchen/p/10564765.html 阅读全文
posted @ 2019-03-25 17:19 lishidefengchen 编辑
摘要:https://stackoverflow.com/questions/35284988/angular-2-404-error-occur-when-i-refresh-through-the-browser #前端# 修改app.module.ts import { HashLocationSt 阅读全文
posted @ 2019-03-25 16:39 lishidefengchen 编辑
摘要:#抛砖引玉# docker exec -ti 容器ID /bin/bash 阅读全文
posted @ 2019-03-25 15:19 lishidefengchen 编辑
摘要:1、https://aspnetboilerplate.com/Templates 2、后端项目发布,在publish中abp默认已经存在DockerFile文件 3、修改后端文件中的DockerFile文件 默认的值为 FROM microsoft/aspnetcore:2.0.1。但我当前的这个 阅读全文
posted @ 2019-03-25 15:19 lishidefengchen 编辑
摘要:#查找# / 光标向下查找 ?光标向上查找 按键盘n,继续查找 #替换# :s/hello/test/ 替换光标所在行第一个hello为test :s/hello/test/g 替换光标所在行所有hello为test :n,$s/hello/test/ 替换第n行开始到最后一行每一行的第一个hell 阅读全文
posted @ 2019-03-25 13:40 lishidefengchen 编辑
摘要:pscp -r d:\cc root@10.0.0.8:/root/test copy d:\cc content recursively into the /root/test, contains the cc directory pscp -r d:\cc\ root@10.0.0.8:/roo 阅读全文
posted @ 2019-03-25 09:47 lishidefengchen 编辑
摘要:find /path/to/folder/ -mtime 1 -exec rm {} \; // Deletes all Files modified yesterday 阅读全文
posted @ 2019-03-25 09:40 lishidefengchen 编辑
摘要:https://www.cnblogs.com/q4486233/p/6482711.html 阅读全文
posted @ 2019-03-22 11:19 lishidefengchen 编辑
摘要:抛砖引玉-- sudo docker rm $(sudo docker ps -a -q) 批量删除某一类镜像 docker rmi $(docker images plm_*:v19.* -q) 批量删除exited状态的容器 docker rm $(docker ps --filter "sta 阅读全文
posted @ 2019-03-21 18:27 lishidefengchen 编辑
摘要:ml 阅读全文
posted @ 2019-03-21 09:57 lishidefengchen 编辑
摘要:步骤: cd c:windows/system32 bcdedit /set {default} osdevice boot bcdedit /set {default} device boot bcdedit /set {default} detecthal 1 阅读全文
posted @ 2019-03-20 17:14 lishidefengchen 编辑
摘要:By default docker will put all the data including images under /var/lib/docker(At least on Debian). This could let to problems with space. It's the ca 阅读全文
posted @ 2019-03-20 14:34 lishidefengchen 编辑
摘要:——假设一个image叫ubuntu—— 在本机执行sudo docker save -o ubuntu.tar ubuntu 由此得到了 ubuntu.tar 文件,将其拷贝到远程机器,执行 sudo docker load < ubuntu.tar 阅读全文
posted @ 2019-03-20 14:32 lishidefengchen 编辑
摘要:#原因# Docker无法删除images,由于存在依赖container #步骤# docker rm b23dd9de7382 (删除依赖的container d63a819c3eaf) 可能有多个依赖,全部删除 阅读全文
posted @ 2019-03-20 14:00 lishidefengchen 编辑
摘要:yum默认链接的还是国外的镜像,速度相对不理想,配置成国内的镜像会快很多,这里以阿里镜像为例进行配置: CentOS系统更换软件安装源 #base源#第一步:备份你的原镜像文件,以免出错后可以恢复。mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos 阅读全文
posted @ 2019-03-20 13:28 lishidefengchen 编辑
摘要:#修改配置# #重启服务# service network restart #参考# https://blog.csdn.net/qinguanglong6606/article/details/85330192 ——————————补充—————————— 今天网又连不上外网了,搞了一天,搞死人了 阅读全文
posted @ 2019-03-20 13:20 lishidefengchen 编辑
摘要:#是啥# 轻量级的虚拟机,占用资源远小于一般意义上的虚拟机(例如:vmware,hyper-v) #特点# 启动快,体积小,开销少 #本质# Linux容器的一种封装 参考: 阮一峰博客 http://www.ruanyifeng.com/blog/2018/02/docker-tutorial.h 阅读全文
posted @ 2019-03-20 09:55 lishidefengchen 编辑
摘要:抛砖引玉 切换到D盘根目录——cd /d D: 切换到D:\dev目录——cd /d D:\dev 阅读全文
posted @ 2019-03-15 13:50 lishidefengchen 编辑
摘要:参考:http://www.cnblogs.com/yxhblogs/p/6130995.html 如果遇到【git无法pull仓库refusing to merge unrelated histories】问题 执行 git pull origin master --allow-unrelated 阅读全文
posted @ 2019-03-15 10:24 lishidefengchen 编辑
摘要:进程:进程之间各自拥有独立的计算机资源 例如: 公司一个部门和部分之间是独立的办公区域,部门就相当于是进程。 线程:一般说线程之间指的是一个进程中的线程,线程之间共享资源 例如: 一个部分中的所有的员工共同使用本部门的办公资源,每个员工就相当于线程。 ________________________ 阅读全文
posted @ 2019-03-14 10:02 lishidefengchen 编辑
摘要:利用NuGet程序包管理程序,添加 Abp.RedisCache 在 xxxx.Web.Core 项目的Module中注册Redis 在刚才上面这个类文件头部注册Redis组件 在Web.config中添加Redis连接字符串及数据库配置项。我这项目是用的abp+angular (.net core 阅读全文
posted @ 2019-03-13 15:02 lishidefengchen 编辑
摘要:参考: https://aspnetboilerplate.com/Pages/Articles/Introduction-With-AspNet-Core-And-Entity-Framework-Core-Part-1/index.html#ArticleAddTaskToDbContext 阅读全文
posted @ 2019-03-12 16:17 lishidefengchen 编辑
摘要:安装Resharper 添加nunit.framework 测试代码 阅读全文
posted @ 2019-03-12 13:44 lishidefengchen 编辑
摘要:参考: https://www.jianshu.com/p/a6e9ace79345 阅读全文
posted @ 2019-03-12 11:03 lishidefengchen 编辑
摘要:远程登陆MySQL,同时指定对应的端口和ip。 假设远程的ip为:10.154.0.43 端口为:1341 输入如下命令: mysql -h 10.154.0.43 -P 1341 -u root -p 回车 输入密码 阅读全文
posted @ 2019-03-12 10:50 lishidefengchen 编辑
摘要:Problem: sql server 2012 安装完毕后,连接数据库只能使用 机器名\数据库实例 的方式,想用 localhost 或 . 作为服务器名称不可以 Solution: 参考:https://blog.csdn.net/qq_26545305/article/details/5074 阅读全文
posted @ 2019-03-12 10:05 lishidefengchen 编辑
摘要:Solution: 1、在mysql服务器上用命令行连接mysql 2、执行如下命令: a、use mysql; b、alter user 'root'@'localhost' identified with mysql_native_password by '********'; // '**** 阅读全文
posted @ 2019-03-12 09:42 lishidefengchen 编辑
摘要:设置host为启动项,并修改连接字符串 在程序包管理控制台中,默认项目选中EFCore 执行Update-Database命令 阅读全文
posted @ 2019-03-11 15:00 lishidefengchen 编辑
摘要:http://www.cnblogs.com/cgzl/p/8615357.html 阅读全文
posted @ 2019-03-11 14:26 lishidefengchen 编辑
摘要:ng generate component component-name 等价于 ng g c component-name ng generate module module-name 等价于 ng g m module-name ng new projectName --routing 创建一个 阅读全文
posted @ 2019-03-11 14:17 lishidefengchen 编辑
摘要:为项目安装模块的npm命令一般是—— npm i module-name 执行完毕后,需要手动把模块名称连同版本号一同的添加到模块配置文件package.json中的依赖里(dependencies) --save或--save-dev参数可以自动修改package.json文件里的配置 npm i 阅读全文
posted @ 2019-03-11 13:26 lishidefengchen 编辑
摘要:1、安装nvm npm cnpm nrm(onenote笔记上有记录) 参考:https://blog.csdn.net/tyro_java/article/details/51232458 提示:如果发现配置完后,出现类似“npm不是内部命令……”等信息。 可采取如下措施进行解决—— 检查环境变量 阅读全文
posted @ 2019-03-11 11:06 lishidefengchen 编辑
摘要:1、本机安装对应版本的.net core 2、安装vs2017或以上版本 3、从ABP官网下载模板,我下载的是前后端分离的Angular模板 4、用vs2017分别打开前后端,还原Nuget包 5、前端项目中有个README.txt文件,根据这个文件里的要求配置项目需要的开发环境(Angular-C 阅读全文
posted @ 2019-03-11 09:57 lishidefengchen 编辑
摘要:入门--从空项目开始--使用ASP.NET Core Web Application https://cn.abp.io/documents/abp/latest/Autofac-Integration 蓝笔标注的部分应该是 IServiceCollection services 这个参数,否则程序 阅读全文
posted @ 2019-03-08 17:57 lishidefengchen 编辑
摘要:需要首先安装openssl软件。 若安装了git for windows,则默认会带有openssl,不需要单独安装了。 打开git bash控制台,执行如下命令即可—— openssl md5 package_name 得到MD5码,与官网该软件包的MD5码进行对比即可。 阅读全文
posted @ 2019-03-08 13:12 lishidefengchen 编辑
摘要:应用在数据库查询上就是—— select * from 表A, 表B 这个语句得出的结果就是—— 表A x 表B 的笛卡尔乘积,属于数据库【隐式内联】查询 阅读全文
posted @ 2019-03-07 10:22 lishidefengchen 编辑
摘要:https://www.jianshu.com/p/9317a927e844 阅读全文
posted @ 2019-03-06 10:50 lishidefengchen 编辑

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