See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
| Clear-Host | |
| $hostName = "www.microsoft.com" | |
| $req = [System.Net.HttpWebRequest]::Create("https://$hostName") | |
| $req.GetResponse().Dispose() | |
| $servicePoint = $req.ServicePoint | |
| [System.Security.Cryptography.X509Certificates.X509Certificate2]$cert = $servicePoint.Certificate | |
| # $servicePoint | Format-List * |
| local function get_npm_scripts() | |
| local file = io.open("package.json", "r") | |
| if file then | |
| local content = file:read("*a") | |
| file:close() | |
| local packageData = vim.json.decode(content) | |
| if packageData.scripts then | |
| local scripts = {} | |
| for key, value in pairs(packageData.scripts) do | |
| -- add key, value to the scripts table |
See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
| { | |
| "workbench.startupEditor": "none", | |
| "workbench.iconTheme": "moxer-icons", | |
| "workbench.colorTheme": "Aura Dark", | |
| "workbench.settings.editor": "json", | |
| "breadcrumbs.enabled": false, | |
| "explorer.compactFolders": false, | |
| "editor.wordWrap": "bounded", | |
| "editor.tabSize": 2, | |
| "editor.inlineSuggest.enabled": true, |
This document serves as a quick overview for setting up a new M1 Mac for Python based development.
Install Docker Desktop https://www.docker.com/products/docker-desktop/
Install xcode command line tools
xcode-select --install
| using namespace System.Management.Automation | |
| using namespace System.Management.Automation.Language | |
| if ($host.Name -eq 'ConsoleHost') | |
| { | |
| Import-Module PSReadLine | |
| } | |
| #Import-Module PSColors | |
| #Import-Module posh-git | |
| Import-Module -Name Terminal-Icons |
| name: Tag Release | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| tag_release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v2 |
brew install azure-cliaz extension add --name azure-devopsGit worktree it a git feature which allows you to checkout a single repository into multiple locations on your filesystem. It has a few rough edges, but if you follow a few simple rules it can be make context switching much easier than git's other mechanisms, such as stashing or switching branches. My folder structure will usually look something like this:
MyRepo/
master/ ← The original checkout, using something like git clone <repo url> master