Instructions for running Debian sid with systemd on WSL2
- Make sure you're running Windows 10 Build 19041+ (run
ver
) - Enable the Windows Subsystem for Linux (reboot if needed):
# syntax=docker/dockerfile:1 | |
# Keep this syntax directive! It's used to enable Docker BuildKit | |
# Based on https://github.com/python-poetry/poetry/discussions/1879?sort=top#discussioncomment-216865 | |
# but I try to keep it updated (see history) | |
################################ | |
# PYTHON-BASE | |
# Sets up all our shared environment variables | |
################################ |
----[[ Helpers ]]---- | |
vim.cmd 'packadd paq-nvim' | |
local lsp = require 'lspconfig' | |
local paq = require 'paq-nvim'.paq | |
local scopes = {o = vim.o, b = vim.bo, w = vim.wo} | |
local function map(mode, lhs, rhs, opts) | |
local options = {noremap = true, silent = true} | |
if opts then options = vim.tbl_extend('force', options, opts) end | |
vim.api.nvim_set_keymap(mode, lhs, rhs, options) |
#!/bin/bash | |
# For WSL environments only | |
npm install --global yarn | |
password="" | |
echo "Please provide your Git commit info" | |
read -p "Full name: " fullName | |
read -p "Email: " email |
#Requires -RunAsAdministrator | |
<# Coolest development environment setup script in the block (Part 2) | |
⚠️ WARNING: This script was created to setup WSL before the new easy installation and was not tested under more recent versions of Windows 11. | |
Please follow my other guide that uses the new modern installations https://gist.github.com/andrefcdias/e1435ae4458024ece36a3b93e3cdd24f | |
--------------------------------------------------------- | |
What can I expect from this script? |
#Requires -RunAsAdministrator | |
<# Coolest development environment setup script in the block (Part 1) | |
⚠️ WARNING: This script was created to setup WSL before the new easy installation and was not tested under more recent versions of Windows 11. | |
Please follow my other guide that uses the new modern installations https://gist.github.com/andrefcdias/e1435ae4458024ece36a3b93e3cdd24f | |
--------------------------------------------------------- | |
Before running the script: |
{ | |
"useTaobaoRegistry": false, | |
"presets": { | |
"vue-project-template": { | |
"useConfigFiles": true, | |
"plugins": { | |
"@vue/cli-plugin-babel": {}, | |
"@vue/cli-plugin-typescript": { | |
"classComponent": true, | |
"useTsWithBabel": true |
{ | |
"$schema": "http://json-schema.org/draft-07/schema", | |
"description": "Taskfile YAML Schema", | |
"oneOf": [ | |
{ | |
"type": "object", | |
"properties": { | |
"version": { | |
"description": "Specify the Taskfile format that this file conforms to.", | |
"anyOf": [ |
#!/bin/bash | |
export WINHOME=$(wslpath "$(wslvar USERPROFILE)") | |
# github username is needed to pull down the dot files | |
export GITHUBUSERNAME="mattetti" | |
# wininstall does an install using winget and checks that it went well | |
function wininstall { | |
echo "Installing $1"; | |
cmd.exe /C winget.exe install -e $1; |
Instructions for running Debian sid with systemd on WSL2
ver
)import time | |
import praw | |
USERNAME = "" | |
PASSWORD = "" | |
CLIENT_ID = "" | |
CLIENT_SECRET = "" |