- Check version
> Get-WindowsCapability -Online | ? Name -like 'OpenSSH*'
Name : OpenSSH.Client~~~~0.0.1.0
State : Installed
Name : OpenSSH.Server~~~~0.0.1.0
// https://kentcdodds.com/blog/replace-axios-with-a-simple-custom-fetch-wrapper | |
const localStorageKey = '__bookshelf_token__' | |
function client(endpoint, {body, ...customConfig} = {}) { | |
const token = window.localStorage.getItem(localStorageKey) | |
const headers = {'content-type': 'application/json'} | |
if (token) { | |
headers.Authorization = `Bearer ${token}` | |
} | |
const config = { | |
method: body ? 'POST' : 'GET', |
# Credit: http://antonkallenberg.com/2017/12/02/execute-a-git-command-in-multiple-folders-using-powershell/ | |
# Usage: PS > .\git-multi.ps1 -cmd "pull" | |
param ( | |
# The root directory to perform the pull in | |
$baseDir = ".", | |
# How deep down you want to look for .git folders | |
$depth = 2, |
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
<system.webServer> | |
<httpProtocol> | |
<customHeaders> | |
<add name="Access-Control-Allow-Origin" value="*"/> | |
<add name="Access-Control-Allow-Methods" value="GET,PUT,POST,DELETE,OPTIONS"/> | |
<add name="Access-Control-Allow-Headers" value="Content-Type"/> | |
</customHeaders> | |
</httpProtocol> |
> powershell -executionpolicy bypass -File .\RemoveApps.ps1
Inspired by awesome, awesome-dotnet, awesome-nodejs, frontend-dev-bookmarks.
Contributions are always welcome! Please take a look at the contribution guidelines pages first. We accept proprietary and commercial software too.
Thanks to all contributors, you're awesome and wouldn't be possible without you! The goal is to build a categorized community-driven collection of very well-known resources.
Check out my blog or say hi on [Twitter](https://twitter.com/thang