blog icon indicating copy to clipboard operation
blog copied to clipboard

技术博客

Results 44 blog issues
Sort by recently updated
recently updated
newest added

## 问题 怎么让配置的安卓启动图片撑满屏幕? 原来的代码如下 ``` ``` ## 解决 去掉 `android:gravity="center"` 代码即可 ``` ```

question
Flutter

| 命令 | 说明 | |--|--| | **zip -r water.zip water**| 将 water 压缩成 water.zip 文件 | | **unzip water.zip** | 将 water.zip 解压 | | **cp -r water/ water-back/**...

help wanted

由于国内网速的无敌慢,所以国内镜像就显得尤为重要。 ## yarn 相关 #### 设置镜像 1. 命令: ``` yarn config set registry https://registry.npm.taobao.org -g yarn config set disturl https://npm.taobao.org/dist -g yarn config set electron_mirror https://npm.taobao.org/mirrors/electron/ -g yarn config set...

help wanted
npm

``` { "builder": { "gc": { "defaultKeepStorage": "20GB", "enabled": true } }, "registry-mirrors": [ "https://1nj0zren.mirror.aliyuncs.com", "https://docker.mirrors.ustc.edu.cn", "http://f1361db2.m.daocloud.io", "https://registry.docker-cn.com" ] } ``` ![image](https://user-images.githubusercontent.com/5716990/134771036-9cda2384-4ff1-41db-bfd1-29fc41c20167.png)

正所谓一个好的前端必须手里有些好用的工具。我认为前端标配应该是顶配 MAC pro 15 寸电脑,苹果鼠标,机械键盘等。那么对于刚有实力从 Windows 过度到 Mac 的同学可能一时不知道怎么用 Mac 才是正确的高逼格的姿势,怎么配置一个面向前端的 Mac 电脑。下面就为大家揭晓从零开始一步一步让大家飞起来。 1. 开机 2. 选择语言 3. 选择键盘 4. 链接 wifi 5. 登录 apple 账号 6. 配置一些个人喜好,如触控板等 7. 下载...

good first issue

## 什么是 Actions > [Github Actions](https://docs.github.com/cn/actions) Actions 是前几年 GitHub 新推出的一个功能,就像是一种工作流。 Actions 可以进行代码审查,可以测试代码,还以干更多的事情,很多大厂的开源项目中都配置了 Actions 。 ## 初始化一个项目 现在,我们有一个项目。这个项目很简单。有一个 Flat 方法的 JavaScript 文件,还有一个简单的 Sass 文件。在 Package.json 中配置了语法检测和单元测试的 Scripts 。今天我们就一起配置一个能够代码检查,单元测试,发送单元测试报告的 Actions 。 ##...

help wanted
cli
jest

## 技术 - webpack 5 - vue 3.1.1 - typescript 4.2 ## 问题 ![image](https://user-images.githubusercontent.com/5716990/122500781-feac3c80-d025-11eb-9690-6ccfe936b94f.png) ``` ERROR in ./components/upload-name/src/UploadName.vue?vue&type=template&id=aa469cec 2:2 Module parse failed: Unexpected token (2:2) File was processed with these...

question
error
webpack
Vue.js

## 生成一个 SSH-KEY ``` $ ssh-keygen -t rsa -C "[email protected]" ``` 这时会在用户根目录下生成一个.ssh文件夹,一个私钥:id_rsa,一个公钥:id_rsa_pub,该公钥和私钥包含了你邮箱的信息,具有随机不可复现性! ssh公钥私钥同时生成且唯一配对。公钥用于远程主机,私钥存储在本地工作机,私钥用于在push(即write操作)时验证身份。因为公钥与私钥的唯一对应性,只有能和公钥配对的私钥才能对远程主机进行写操作! 我们在使用github时会发现有两个地方牵涉到公钥添加,一个是账号设置下的ssh setting,另一个是单个仓库设置的Deploy key。添加至前者则代表 私钥主机可对当前远程主机的所有仓库进行写操作,添加至后者则代表 私钥主机只能对当前仓库进行写操作。 每次连接时SSH客户端发送本地私钥(默认~/.ssh/id_rsa)到远程主机进行公私钥配对验证! ## 同一工作主机,多个 ssh key - 生成新的ssh key并命名为second ``` ssh-keygen -t rsa...

help wanted

## 问题 ``` error Command failed. Exit code: 1 Command: git Arguments: commit -m v1.0.3 Directory: /Users/lee/lee/npm/vite-plugin-html-mpa Output: nvm is not compatible with the "PREFIX" environment variable: currently set to...

help wanted
question
npm

- 企业微信客户端打开错误页面 https://open.weixin.qq.com/connect/oauth2/authorize?appid=ww40e9a06ef3a07134&redirect_uri=https%3A//gyoxgwjosu.client.weibanzhushou.com/api/staff_auth/login%3Fcorp_id%3D1690184068101625857%26callback%3Dhttps%253A//gyoxgwjosu.client.weibanzhushou.com/client/side_window/tools%253Fauthed_corp_id%253D1690184068101625857&response_type=code&scope=snsapi_base#wechat_redirect - 微信客户端打开界面 https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx05924e5e43f814a9&response_type=code&scope=snsapi_userinfo&connect_redirect=1&state=5f77fe439f2b4809b273510c700f7ebb&redirect_uri=https://weixin.foundersc.com/wx/rewrite/nosilence?nextUrl=https%3A%2F%2Fjyzy.fzzqcdn.com%2FfaTools%2Fh6%2Fwxuserinfo%2Fgreet#wechat_redirect