Skip to content

Instantly share code, notes, and snippets.

View maxwellamaral's full-sized avatar
😀

Maxwell Anderson maxwellamaral

😀
View GitHub Profile
@bubba-h57
bubba-h57 / instructions.md
Last active July 5, 2024 10:14
Configuring Jetbrains Gateway and WSL

Step 1: SSH Daemon

In your WSL instance, re-install OpenSSH server as follows.

sudo apt remove --purge openssh-server
sudo apt install openssh-server

Edit /etc/ssh/sshd_config (e.g. sudo vi /etc/ssh/sshd_config) and add the following lines to the bottom of the file. Ensure you replace WSL_ACCOUNT_NAME with your WSL2 account name.

@djfdyuruiry
djfdyuruiry / README.md
Last active July 22, 2024 09:05
WSL 2 - Enabling systemd

Enable systemd in WSL 2

NOTE: If you have Windows 11 there is now an official way to do this in WSL 2, use it if possible - see MS post here (WINDOWS 11 ONLY)

This guide will enable systemd to run as normal under WSL 2. This will enable services like microk8s, docker and many more to just work during a WSL session. Note: this was tested on Windows 10 Build 2004, running Ubuntu 20.04 LTS in WSL 2.

  • To enable systemd under WSL we require a tool called systemd-genie

  • Copy the contents of install-sg.sh to a new file /tmp/install-sg.sh:

@Mastermind-U
Mastermind-U / .gitlab-ci.yml
Last active July 3, 2022 17:45
Django gitlab.ci
image: docker:latest
services:
- docker:dind
stages:
- build
- test
- deploy