30.11.2020: Updated with the new patchseries and instructions for Windows
02.12.2020: Added tweaks
08.12.2020: Updated with patchseries v4
31.01.2020: Updated with patchseries v6
| import org.springframework.http.HttpMethod; | |
| import org.springframework.http.client.ClientHttpRequest; | |
| import org.springframework.http.client.SimpleClientHttpRequestFactory; | |
| import org.springframework.web.client.HttpMessageConverterExtractor; | |
| import org.springframework.web.client.RequestCallback; | |
| import org.springframework.web.client.ResponseExtractor; | |
| import org.springframework.web.client.RestTemplate; | |
| import java.io.IOException; | |
| import java.nio.charset.StandardCharsets; |
| $ErrorActionPreference = "SilentlyContinue" | |
| # stop Docker processes | |
| kill -force -processname 'Docker for Windows', com.docker.db, vpnkit, com.docker.proxy, com.docker.9pdb, moby-diag-dl, dockerd | |
| # kill MobyLinux | |
| try { | |
| ./MobyLinux.ps1 -Destroy | |
| } Catch {} |
| { | |
| "version": "1.0.0", | |
| "title": "What is the impact of an terminating the database master", | |
| "description": "terminating the master database should not prevent the application from running", | |
| "tags": ["db"], | |
| "configuration": { | |
| "endpoint_url": { | |
| "type": "env", | |
| "key": "ELEANOR_URL" | |
| } |
| #!/bin/sh | |
| # Use neovim for vim if present. | |
| command -v nvim >/dev/null && alias vim="nvim" vimdiff="nvim -d" | |
| # Verbosity and settings that you pretty much just always are going to want. | |
| alias \ | |
| cp="cp -iv" \ | |
| mv="mv -iv" \ | |
| rm="rm -v" \ |
| #!/usr/bin/env python | |
| r""" | |
| Author: nkmathew <kipkoechmathew@gmail.com>, Srini | |
| Date: April 29, 2016 | |
| Date: Sept 12, 2019 | |
| The script generates a list of all the reference git repos in a certain folder and | |
| its subfolders should you need to reclone them later in the same structure |
| Windows Registry Editor Version 5.00 | |
| [HKEY_CLASSES_ROOT\Directory\Background\shell\open_mingw64] | |
| @="Open MINGW64 here" | |
| [HKEY_CLASSES_ROOT\Directory\Background\shell\open_mingw64\command] | |
| @="c:\\msys64\\msys2_shell.cmd -mingw64 -here" |
| Windows Registry Editor Version 5.00 | |
| ; Add Open cmd and powershell here with administrator variations to right click context menu | |
| [HKEY_CLASSES_ROOT\Directory\Background\shell\CliHere] | |
| "MUIVerb"="Open CLI here" | |
| "Position"="Middle" | |
| "Icon"="cmd.exe" | |
| "SubCommands"="" |