This file contains hidden or 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
#!/bin/bash | |
# 遍历当前文件夹下的所有子文件夹 | |
for dir in */; do | |
# 检查是否是目录 | |
if [ -d "$dir" ]; then | |
# 进入子文件夹 | |
cd "$dir" || continue | |
# 检查是否是 Git 仓库 |
This file contains hidden or 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
# 获取当前目录下的所有子文件夹 | |
$folders = Get-ChildItem -Directory | |
# 遍历每个子文件夹 | |
foreach ($folder in $folders) { | |
# 进入子文件夹 | |
Set-Location -Path $folder.FullName | |
# 在这里执行你的第一个命令 | |
if (Test-Path -Path ".git") { |
This file contains hidden or 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
$env:HTTP_PROXY="http://127.0.0.1:7890" | |
$env:HTTPS_PROXY="http://127.0.0.1:7890" |
This file contains hidden or 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
Show hidden characters
{ | |
"compileOnSave": false, | |
"compilerOptions": { | |
"baseUrl": "./", | |
"outDir": "./dist/out-tsc", | |
"sourceMap": true, | |
"declaration": false, | |
"downlevelIteration": true, | |
"experimentalDecorators": true, | |
"module": "esnext", |
This file contains hidden or 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
Visual Studio 2019 Product Key | |
[Please Star this gist] | |
Follow My GitHub Account --> https://github.com/ch-kashif @ch-kashif | |
**Follow Me On Instagram -->> https://www.instagram.com/ch.kashif602/ ** | |
Lets do a code together | |
Join Cloud Disk repository --> https://github.com/ch-kashif/CloudDisk |
This file contains hidden or 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
const path = require('path'); | |
module.exports = { | |
// entry 表示入口,Webpack 执行构建的第一步将从 Entry 开始,可抽象成输入 | |
// 类型可以是 string、object、array | |
entry: './app/entry', // 只有 1 个入口,入口只有 1 个文件 | |
entry: ['./app/entry1', './app/entry2'], // 只有 1 个入口,入口有两个文件 | |
entry: { // 有两个入口 | |
a: './app/entry-a', | |
b: ['./app/entry-b1', './app/entry-b2'] | |
}, |