Skip to content

Instantly share code, notes, and snippets.

View deveshjeshani's full-sized avatar

Devesh Jeshani deveshjeshani

View GitHub Profile
# Install Chocolatey
Set-ExecutionPolicy Bypass
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
# Bypass confirmation
choco feature enable -n allowGlobalConfirmation
# Misc
choco install googlechrome
choco install 7zip
@deveshjeshani
deveshjeshani / msbuild-publish
Created May 31, 2017 10:44
msbuild example to publish a web project to file system
msbuild Search.Web.csproj /p:Configuration=Release /p:Platform=AnyCPU /t:WebPublish /p:WebPublishMethod=FileSystem /p:DeleteExistingFiles=True /p:publishUrl=c:\output
@deveshjeshani
deveshjeshani / setup-git-configs.ps1
Last active July 7, 2022 10:48
git config settings
git config --global remote.origin.prune true
git config --global rerere.enabled true
git config --global push.autoSetupRemote true
git config --global alias.lg "log --oneline --graph --decorate"
git config --global alias.s "status"
git config --global alias.b "branch --all"
git config --global alias.ch "checkout"
git config --global color.ui.auto true
git config --global color.status.added "green normal bold"
git config --global color.status.changed "red normal bold"