1 2 3 4 5 ··· 50 下一页
摘要: #!/bin/sh git filter-branch --env-filter ' OLD_EMAIL="your-old-email@example.com" CORRECT_NAME="Your Correct Name" CORRECT_EMAIL="your-correct-email@e 阅读全文
posted @ 2022-03-25 15:53 SteveYu 阅读(41) 评论(0) 推荐(0) 编辑
摘要: .dot-top { font-size: 0; line-height: 0; border-width: 10px; border-color: #1c1c52; border-top-width: 0; border-style: dashed; border-bottom-style: so 阅读全文
posted @ 2022-03-24 18:24 SteveYu 阅读(99) 评论(0) 推荐(0) 编辑
摘要: @mixin gradientAnimation($start, $end, $transTime) { background-size: 100%; background-image: $start; position: relative; z-index: 100; &:before { bac 阅读全文
posted @ 2022-03-11 15:55 SteveYu 阅读(35) 评论(0) 推荐(0) 编辑
摘要: for i in *.png; do pngquant --force --quality=40-100 --strip --skip-if-larger \ --verbose $i done 阅读全文
posted @ 2022-03-06 22:10 SteveYu 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 全局 scss 变量和函数 const sassResourcesLoader = require('craco-sass-resources-loader'); const path = require('path'); module.exports = { plugins: [ { plugin 阅读全文
posted @ 2022-02-23 13:01 SteveYu 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 目前nginx需要pcre支持,另外如果要https需要加入http_stub_status和http_ssl yum -y install pcre-devel openssl openssl-devel ./configure --prefix=/usr/local/nginx --with-h 阅读全文
posted @ 2021-10-07 01:11 SteveYu 阅读(113) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> void set_bitmap(char* b, unsigned int i) { b[i / 8] |= 1 << (i & 7); } void unset_bitmap(char* b, unsigned int 阅读全文
posted @ 2021-08-31 00:23 SteveYu 阅读(65) 评论(0) 推荐(0) 编辑
摘要: cse.yorku.ca/~oz/hash.html 阅读全文
posted @ 2021-08-30 23:26 SteveYu 阅读(92) 评论(0) 推荐(0) 编辑
摘要: ZSH_THEME="takashiyoshida" 阅读全文
posted @ 2021-07-07 21:19 SteveYu 阅读(78) 评论(0) 推荐(0) 编辑
摘要: "dbaeumer.vscode-eslint", "esbenp.prettier-vscode", "prisma.vscode-graphql", "zaczero.bootstrap-v4-snippets" 阅读全文
posted @ 2021-07-06 10:36 SteveYu 阅读(202) 评论(0) 推荐(0) 编辑
摘要: # Enabling and setting git info var to be used in prompt config. autoload -Uz vcs_info zstyle ':vcs_info:*' enable git svn # This line obtains informa 阅读全文
posted @ 2021-06-23 16:14 SteveYu 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 可选补全配置 https://segmentfault.com/a/1190000016330814 plus美化(必选) https://github.com/chxuan/vimplus 阅读全文
posted @ 2021-06-22 17:56 SteveYu 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 当我们想一个分支完全接在另外一个分支之后,我们可以使用rebase 第一步,主分支如下main0 main1 main2 第二步,进行branch一个分支,在这个分支上添加一点conflict 第三步,在main分支下添加两个conflict 我们想要将feature上修改接到main之后,使用gi 阅读全文
posted @ 2021-05-29 04:16 SteveYu 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 之前有看一个个人开发者的MERN Stack技术栈,而我习惯在我的MacBook不装数据库,理由是卸载起来比较麻烦,所以类似MySQL、MongoDB都是使用Docker-Compose进行安装 MongoDB的配置如下 version: '3.8' services: mongodb: image 阅读全文
posted @ 2021-05-23 21:49 SteveYu 阅读(574) 评论(0) 推荐(0) 编辑
摘要: 之前有发现,当我们使用react-router的时候,如果是HashRouter一般不会出现任何问题,当我们使用BrowserRouter的时候,打包部署的时候,往往无法进行刷新。 我们在Nginx上面将uri进行try_files到index.html,即可跟随uri在react-router上进 阅读全文
posted @ 2021-05-23 21:01 SteveYu 阅读(720) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 50 下一页