This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
美团外卖领红包 | |
环境变量,名称:MT_TOKEN,值:xxxxx | |
关于MT_TOKEN获取方法,打开http://i.meituan.com 登录后,f12 > Application > Cookies > 找到http://i.meituan.com 然后找到token的值 | |
定时规则每天9点执行:0 0 9 * * * | |
[task_local] | |
#美团外卖领红包 | |
0 0 9 * * * | |
[Script] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Close all open Chrome windows. | |
Open Terminal, enter the following and press enter: | |
$ sudo rm -rf /Library/Google && sudo rm -rf ~/Library/Google | |
Open Chrome. It may show you a yellow bar to turn on auto updates. Click that and enter your password as normal. | |
You should now be able to go back into Chrome settings and update successfully. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages | |
# need to set npmToken in settings-secrets-actions | |
name: Node.js Package | |
on: | |
push: | |
branches: | |
- master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PATH="${PATH}:${HOME}/.local/bin" | |
source /Users/wangbo/.oh-my-zsh/plugins/zsh-autocomplete/zsh-autocomplete.plugin.zsh | |
# If you come from bash you might have to change your $PATH. | |
export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/wangbo/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1、将插件放置在oh-my-zsh的默认插件目录: | |
cd /User/wangbo/.oh-my-zsh/plugins; | |
git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git | |
2、编辑.zsh添加zsh-autocomplete.plugin.zsh: | |
vim ~/.zsh | |
可以直接在最上面添加即可,添加内容为: | |
source /User/wangbo/.oh-my-zsh/plugins/zsh-autocomplete/zsh-autocomplete.plugin.zsh; | |
3、添加结束后保存; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://itnext.io/deploy-nest-js-on-zeit-now-with-github-actions-86bc226e7371 | |
https://hyper-text.org/archives/2021/07/nextjs_vercel_deploy.shtml | |
https://aaronfrancis.com/2021/the-perfect-vercel-github-actions-deployment-pipeline | |
https://www.eliostruyf.com/deploy-site-vercel-github-actions-releases/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 2, | |
"name": "blog-server", | |
"builds": [ | |
{ | |
"src": "dist/main.js", | |
"use": "@vercel/node" | |
} | |
], | |
"routes": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
react: 'window.React', | |
'react-dom': 'window.ReactDOM', | |
'crypto-js': 'window.CryptoJS', | |
classnames: 'window.classNames', | |
echarts: 'window.echarts', | |
moment: 'window.moment', | |
antd: 'window.antd', | |
lodash: 'window._' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rcc + tab键 - - 用ES6模块系统创建一个React组件类 | |
rccp + tab键 - - 创建一个带有PropTypes和ES6模块系统的React组件类 | |
rcfc + tab键 - - 创建一个带有PropTypes和所有生命周期方法以及ES6模块系统的React组件类 | |
rcjc + tab键 - - 用ES6模块系统创建一个React组件类(无导出) | |
下面的自己可以尝试一下哦,笔者只是做了介绍就不放图了哈~ | |
rdp + tab键 - - 快速生成defaultProps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kindle、iDaily、开眼、乐趣、Spotify、onedrive、Documents、坚果云、youtube、Picsew、文件、Pixelmator Photo、欧路英语词典、生命线、NBA篮球、Pico |
NewerOlder