pause for commit and more extensions

This commit is contained in:
Mike Phares 2022-02-01 20:43:40 -07:00
parent 32462802f0
commit 80be6e0afe
6 changed files with 428 additions and 37 deletions

339
Git/.gitignore vendored Normal file
View File

@ -0,0 +1,339 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# Visual Studio 2017 auto generated files
Generated\ Files/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUNIT
*.VisualState.xml
TestResult.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# Benchmark Results
BenchmarkDotNet.Artifacts/
# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
**/Properties/launchSettings.json
# StyleCop
StyleCopReport.xml
# Files built by Visual Studio
*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# Visual Studio Trace Files
*.e2e
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# JustCode is a .NET coding add-in
.JustCode
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# AxoCover is a Code Coverage Tool
.axoCover/*
!.axoCover/settings.json
# Visual Studio code coverage results
*.coverage
*.coveragexml
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/
# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets
# Microsoft Azure Build Output
csx/
*.build.csdef
# Microsoft Azure Emulator
ecf/
rcf/
# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!*.[Cc]ache/
# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs
# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak
# SQL Server files
*.mdf
*.ldf
*.ndf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Paket dependency manager
.paket/paket.exe
paket-files/
# FAKE - F# Make
.fake/
# JetBrains Rider
.idea/
*.sln.iml
# CodeRush
.cr/
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config
# Tabs Studio
*.tss
# Telerik's JustMock configuration file
*.jmconfig
# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs
# OpenCover UI analysis results
OpenCover/
# Azure Stream Analytics local run output
ASALocalRun/
# MSBuild Binary and Structured Log
*.binlog
# NVidia Nsight GPU debugger configuration file
*.nvuser
# MFractors (Xamarin productivity tool) working folder
.mfractor/
##
## Visual Studio Code
##
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

View File

@ -28,10 +28,14 @@ copy "G:\VS-Code-Settings\Git\task-runner.json" "G:\%~1\.husky\task-runner.json"
copy "G:\VS-Code-Settings\Git\package.json" "G:\%~1\package.json" copy "G:\VS-Code-Settings\Git\package.json" "G:\%~1\package.json"
git add . git add .
git commit -m "Initial Commit" git commit -m "Initial Commit"
git push origin master echo "If commit fails run"
git fetch echo "git commit -m 'Initial Commit'"
echo "Once commit passes press return to continue"
@pause
git push -u origin master git push -u origin master
git remote add mestsa003 "\\mestsa003.infineon.com\Git\%~1.git" echo "Copy bare to \\mestsa003.infineon.com\Git\%~1 then press return to add remote"
@pause
git add remote mestsa003 "\\mestsa003.infineon.com\Git\%~1.git"
git push mestsa003 master git push mestsa003 master
code . code .
exit exit

47
Git/extensions.json Normal file
View File

@ -0,0 +1,47 @@
{
"recommendations": [
"adrianwilczynski.asp-net-core-switcher",
"adrianwilczynski.namespace",
"adrianwilczynski.terminal-commands",
"aliasadidev.nugetpackagemanagergui",
"bodil.file-browser",
"codezombiech.gitignore",
"deerawan.vscode-faker",
"cweijan.vscode-office",
"donjayamanne.githistory",
"EditorConfig.EditorConfig",
"eg2.vscode-npm-script",
"esbenp.prettier-vscode",
"formulahendry.dotnet-test-explorer",
"GitHub.remotehub",
"GitHub.vscode-pull-request-github",
"hashhar.gitattributes",
"hediet.vscode-drawio",
"mikeburgh.xml-format",
"ms-dotnettools.blazorwasm-companion",
"ms-dotnettools.csharp",
"ms-dotnettools.vscode-dotnet-runtime",
"ms-edgedevtools.vscode-edge-devtools",
"ms-vscode-remote.remote-ssh",
"ms-vscode-remote.remote-ssh-edit",
"ms-vscode.powershell",
"patcx.vscode-nuget-gallery",
"rangav.vscode-thunder-client",
"streetsidesoftware.code-spell-checker",
"VirtusLab.codetale",
"VisualStudioExptTeam.vscodeintellicode",
"vscode-icons-team.vscode-icons"
],
"unwantedRecommendations": [
"virtuslab.codetale",
"ms-azuretools.vscode-docker",
"christian-kohler.npm-intellisense",
"firefox-devtools.vscode-firefox-debug",
"dbaeumer.vscode-eslint",
"dbaeumer.jshint",
"felipecaputo.git-project-manager",
"eamodio.gitlens",
"hookyqr.beautify",
"davidanson.vscode-markdownlint"
]
}

View File

@ -24,8 +24,14 @@ copy "G:\VS-Code-Settings\Git\task-runner.json" "G:\%~1\.husky\task-runner.json"
copy "G:\VS-Code-Settings\Git\package.json" "G:\%~1\package.json" copy "G:\VS-Code-Settings\Git\package.json" "G:\%~1\package.json"
git add . git add .
git commit -m "Initial Commit" git commit -m "Initial Commit"
git push origin master echo "If commit fails run"
git fetch echo "git commit -m 'Initial Commit'"
echo "Once commit passes press return to continue"
@pause
git push -u origin master git push -u origin master
echo "Copy bare to 192.168.0.73:/srv/git/%~1 then press return to add remote"
@pause
git remote add Ubuntu git@192.168.0.73:/srv/git/%~1.git
git push Ubuntu master
code . code .
exit exit

View File

@ -1,8 +1,7 @@
{ {
"scripts": { "scripts": {
"prepare": "dotnet tool restore && dotnet husky install",
"pre-commit": "dotnet husky run --group \"pre-commit\"",
"build": "dotnet build --runtime win-x64 --self-contained", "build": "dotnet build --runtime win-x64 --self-contained",
"dotnet-format": "dotnet format --report .vscode --verbosity detailed --severity error",
"pull": "git pull", "pull": "git pull",
"garbage-collect": "git gc" "garbage-collect": "git gc"
} }

View File

@ -1,11 +1,6 @@
Your environment has been set up for using Node.js 16.13.2 (x64) and npm.
C:\Users\phares>npx https://gist.github.com/gokulkrishh/9dd54a34ed93701a37811f0eb2e37822
Your environment has been set up for using Node.js 16.13.2 (x64) and npm.
C:\Users\phares>npx https://gist.github.com/gokulkrishh/9dd54a34ed93701a37811f0eb2e37822 C:\Users\phares>npx https://gist.github.com/gokulkrishh/9dd54a34ed93701a37811f0eb2e37822
✅ Installed VS Code Extensions: 31 ✅ Installed VS Code Extensions: 32
1. https://marketplace.visualstudio.com/items?itemName=adrianwilczynski.asp-net-core-switcher 1. https://marketplace.visualstudio.com/items?itemName=adrianwilczynski.asp-net-core-switcher
2. https://marketplace.visualstudio.com/items?itemName=adrianwilczynski.namespace 2. https://marketplace.visualstudio.com/items?itemName=adrianwilczynski.namespace
@ -14,27 +9,28 @@ C:\Users\phares>npx https://gist.github.com/gokulkrishh/9dd54a34ed93701a37811f0e
5. https://marketplace.visualstudio.com/items?itemName=bodil.file-browser 5. https://marketplace.visualstudio.com/items?itemName=bodil.file-browser
6. https://marketplace.visualstudio.com/items?itemName=codezombiech.gitignore 6. https://marketplace.visualstudio.com/items?itemName=codezombiech.gitignore
7. https://marketplace.visualstudio.com/items?itemName=cweijan.vscode-office 7. https://marketplace.visualstudio.com/items?itemName=cweijan.vscode-office
8. https://marketplace.visualstudio.com/items?itemName=donjayamanne.githistory 8. https://marketplace.visualstudio.com/items?itemName=deerawan.vscode-faker
9. https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig 9. https://marketplace.visualstudio.com/items?itemName=donjayamanne.githistory
10. https://marketplace.visualstudio.com/items?itemName=eg2.vscode-npm-script 10. https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig
11. https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode 11. https://marketplace.visualstudio.com/items?itemName=eg2.vscode-npm-script
12. https://marketplace.visualstudio.com/items?itemName=formulahendry.dotnet-test-explorer 12. https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode
13. https://marketplace.visualstudio.com/items?itemName=GitHub.remotehub 13. https://marketplace.visualstudio.com/items?itemName=formulahendry.dotnet-test-explorer
14. https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github 14. https://marketplace.visualstudio.com/items?itemName=GitHub.remotehub
15. https://marketplace.visualstudio.com/items?itemName=hashhar.gitattributes 15. https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github
16. https://marketplace.visualstudio.com/items?itemName=hediet.vscode-drawio 16. https://marketplace.visualstudio.com/items?itemName=hashhar.gitattributes
17. https://marketplace.visualstudio.com/items?itemName=IFX.type-script-helper 17. https://marketplace.visualstudio.com/items?itemName=hediet.vscode-drawio
18. https://marketplace.visualstudio.com/items?itemName=mikeburgh.xml-format 18. https://marketplace.visualstudio.com/items?itemName=IFX.type-script-helper
19. https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.blazorwasm-companion 19. https://marketplace.visualstudio.com/items?itemName=johnpapa.vscode-peacock
20. https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp 20. https://marketplace.visualstudio.com/items?itemName=mikeburgh.xml-format
21. https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.vscode-dotnet-runtime 21. https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.blazorwasm-companion
22. https://marketplace.visualstudio.com/items?itemName=ms-edgedevtools.vscode-edge-devtools 22. https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp
23. https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh 23. https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.vscode-dotnet-runtime
24. https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh-edit 24. https://marketplace.visualstudio.com/items?itemName=ms-edgedevtools.vscode-edge-devtools
25. https://marketplace.visualstudio.com/items?itemName=ms-vscode.powershell 25. https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh
26. https://marketplace.visualstudio.com/items?itemName=patcx.vscode-nuget-gallery 26. https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh-edit
27. https://marketplace.visualstudio.com/items?itemName=rangav.vscode-thunder-client 27. https://marketplace.visualstudio.com/items?itemName=ms-vscode.powershell
28. https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker 28. https://marketplace.visualstudio.com/items?itemName=patcx.vscode-nuget-gallery
29. https://marketplace.visualstudio.com/items?itemName=VirtusLab.codetale 29. https://marketplace.visualstudio.com/items?itemName=rangav.vscode-thunder-client
30. https://marketplace.visualstudio.com/items?itemName=VisualStudioExptTeam.vscodeintellicode 30. https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker
31. https://marketplace.visualstudio.com/items?itemName=vscode-icons-team.vscode-icons 31. https://marketplace.visualstudio.com/items?itemName=VisualStudioExptTeam.vscodeintellicode
32. https://marketplace.visualstudio.com/items?itemName=vscode-icons-team.vscode-icons