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
sudo apt install xorg
export WSL_HOST=$(tail -1 /etc/resolv.conf | cut -f2 -d' ')
export DISPLAY=$WSL_HOST:0.0
export LIBGL_ALWAYS_REDIRECT=1
# 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> { |