摘要:Nginx配置跨域请求 Access-Control-Allow-Origin * Developer发布于 2017-12-23 当出现403跨域错误的时候 No 'Access-Control-Allow-Origin' header is present on the requested re
阅读全文
摘要:现象: 执行 quasar create app 卡死在: Quasar downloading quasar starter kit... 分析: 由于 github.com 访问太慢,导致卡死。 下载到本地,避免从 github.com 上拉取。 解决: cd ~ git clone git@g
阅读全文
摘要:Uninstalling Node and Npm To completely uninstall node and npm follow the below steps. Open your terminal. Now, run the below command by hitting the e
阅读全文
摘要:用微前端的方式搭建类单页应用 2019-04-04阅读 4900 总第279篇 2018年 第71篇 前言 微前端由ThoughtWorks 2016年提出,将后端微服务的理念应用于浏览器端,即将 Web 应用由单一的单体应用转变为多个小型前端应用聚合为一的应用。 美团已经是一家拥有几万人规模的大型
阅读全文
摘要:On macOS Big Sur and later, use this command: sudo lsof -i -P | grep LISTEN or to just see just IPv4: sudo lsof -nP -i4TCP:$PORT | grep LISTEN
阅读全文
摘要:fish下使用alias(abbr) f饭饭f关注 0.0962019.03.29 20:10:18字数 119阅读 1,256 由于fish下没有办法使用source ~/.bashrc来加载配置,所以在其中设置的alias也没有办法使用。但是fish有自己的abbr以达到同样的效果进入fish全
阅读全文
摘要:1、brew update 2、brew install fish 3、sudo vi /etc/shells 增加内容:/usr/local/bin/fish ##增加fish到shell环境变量 4、chsh -s /usr/local/bin/fish ##切换至fish 5、新开标签页/窗口
阅读全文
摘要:How to Change Your Default Shell on Linux with chsh DAVE MCKAY @thegurkha MAY 5, 2020, 8:00 AM EDT | 5 MIN READ Fatmawati Achmad Zaenuri/Shutterstock
阅读全文
摘要:基于OAuth2的跨网站统一登录解决方案 黄军雷@云顶云技术团队 2020-03-18 1793浏览量 简介: 随着业务发展,一个企业开发、运营了多个网站,同时也产生了一些亟待解决的问题。本文旨在提供一套基于OAuth2的跨网站统一登录解决方案,从而提升用户注册与登录过程的体验,降低企业研发成本,为
阅读全文
摘要:问题 如果你用过svn,一定知道svn export,可以用来从代码库中导出一份干净的代码(没有.svn等)。git是否有类似功能呢? git archieve 可以用于将库中代码打包。 1. 基本用法: git archive --format tar.gz --output "./output.
阅读全文
摘要:默认如果使用api请求创建或者获取如果使用了改模型的Request来验证的话,如果被rule挡掉,会返回404,而不会返回错误信息。修改后匹配所有api/*请求的返回: //app/Exceptions/Handler.php /** * Render an exception into an HT
阅读全文
摘要:后端API接口的错误信息返回规范 前言 最近我司要制定开发规范。在讨论接口返回的时候,后端的同事询问我们前端,错误信息的返回,前端有什么意见? 所以做了一些调研给到后端的同事做参考。 错误信息返回 在使用API时无可避免地会因为各种情况而导致接口返回错误的信息。比如指定的query参数错误,又或者m
阅读全文
摘要:前提是U盘必须格式化成 ExFAT 文件系统。
阅读全文
摘要:Tutorial how to install and use appimage on ubuntu 20.10 Linux. Many GNU/Linux operating system users have always needed to download software like Win
阅读全文
摘要:When you press Control + Command + F it puts the current app in fullscreen. To take it out of fullscreen mode, just press those keys again.
阅读全文
摘要:当我们想在 Github 上的某个开源仓库中贡献自己的代码时,通常会先 Fork 这个开源代码仓库,然后clone到本地,提交自己的修改,最后 Pull Request 进行合并。 由于开源仓库通常会有很多人一起贡献代码,要持续与这些项目贡献者保持协作,我们就会遇到一个很常见的问题:如何与源仓库保持
阅读全文
摘要:大家有没有发现Mac的键盘没有Home, End, Page UP, Page DOWN这几个键?其实可以用Fn键来组合得到同样的功能: * Home键=Fn+左方向 * End键=Fn+右方向 * PageUP=Fn+上方向 * PageDOWN=Fn+下方向 * 向前Delete=Fn+dele
阅读全文