Skip to content

Instantly share code, notes, and snippets.

View kevgk's full-sized avatar

Kevin G. kevgk

  • Hamburg, Germany
View GitHub Profile
@leerob
leerob / settings.json
Created January 8, 2023 17:15
VSCode settings (2023)
{
// NORMAL SETTINGS
// ===============
"editor.quickSuggestions": {
"comments": "on",
"strings": "on",
"other": "on"
},
"editor.suggestOnTriggerCharacters": true,
"editor.wordBasedSuggestions": true,
@nokidding
nokidding / updateNpm.bat
Created March 31, 2020 13:08
Windows batch file which updates npm for nvm-windows
rem see https://github.com/coreybutler/nvm-windows/issues/300
@echo off
SETLOCAL EnableDelayedExpansion
if [%1] == [] (
echo Pass in the version you would like to install, or "latest" to install the latest npm version.
) else (
set wanted_version=%1
@talon
talon / README.md
Last active June 11, 2021 10:35
Install Docker On Windows 10 Home

Install Docker On Windows 10 Home

"Windows Home Docker Desktop requires Windows 10 Pro or Enterprise version 15063 to run." So says the Docker Installer however, the Docker forums beg to differ

The workaround is to manually image the Hyper-V and Containers features, then trick the installer into thinking you're using Windows Pro.

TL;DR

  1. clone this gist somewhere locally git clone https://gist.github.com/4191def376c9fecae78815454bfe661c.git windows_home_docker
  2. Run windows_home_containers.ps1 in an Administrative Powershell
/*
Modified version by tmplinshi
Changes:
* Default set with "Accept-Encoding: gzip, deflate" header and INTERNET_OPTION_HTTP_DECODING,
which will request a compressed response and decode automatically. (Requires Vista+ or XP SP3?)
* Fixed encoding problems of the non-ANSI characters in response headers.
*/
/*