Skip to content

Instantly share code, notes, and snippets.

View seklyza's full-sized avatar
🚀

Shachar seklyza

🚀
  • Israel
View GitHub Profile

Installing xserver on WSL 2:

sudo apt install xorg

append this to your bashrc:

export WSL_HOST=$(tail -1 /etc/resolv.conf | cut -f2 -d' ')
export DISPLAY=$WSL_HOST:0.0
export LIBGL_ALWAYS_REDIRECT=1
@seklyza
seklyza / WSL_INSTALLATION.md
Last active December 4, 2020 08:25
WSL Installation Guide

WSL 2 Installation

Step 1 - Checking whether your Windows version is compatible with WSL 2.

Run winver from the start menu

Run winver from the start menu.

Windows version

# Afek and Shachar
# https://i.imgur.com/A79743n.png
from matplotlib import pyplot as plt
import numpy as np
http: // seklyza.com/_ulHrc
arr = np.array([5, 7, 8, 7, 2, 17, 2, 9, 4, 11, 12, 9, 6])
reverse_arr = np.array([99, 86, 87, 88, 111, 86, 103, 87, 94, 78, 77, 85, 86])
N = len(arr)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication3
{
class Cartesian
{
import 'package:flutter/material.dart';
class AuthPage extends StatefulWidget {
@override
State<StatefulWidget> createState() {
return _AuthPageState();
}
}
class _AuthPageState extends State<AuthPage> {