Skip to content

Latest commit

 

History

History
384 lines (267 loc) · 8.11 KB

slides.md

File metadata and controls

384 lines (267 loc) · 8.11 KB
theme fonts background class highlighter lineNumbers info drawings transition title hideInToc layout
./theme
sans serif mono
Robot
Robot Slab
Fira Code
text-center
shiki
false
## VS Code and WSL Workshop​
persist
slide-left
VS Code and WSL Workshop​
true
intro

VS Code and WSL Workshop​

By: Dante Masciotra and Borhan Saflo


transition: fade-out hideInToc: true

Meet the Presenters

Dante Masciotra


I'm a fourth year Computer Science student, specializing in Networks and Security. I'm currently the Co-head of Technology for the Computer Science Society.

Borhan Salfo


I'm a third year Computer Science student, specializing in Software Engineering. I'm currently the Co-head of Technology and the Career Advisor for the Computer Science Society.


layout: default hideInToc: true

Table of contents


transition: slide-up class: text-center

Visual Studio Code

Visual Studio Code is a code editor made by Microsoft for Windows, Linux and macOS. It offers support for tons of programming languages and highly customizable.​



Lets take a look at what we can do


transition: slide-left layout: default level: 2

File Explorer


transition: slide-up level: 2

Extensions


level: 3

Our Favorite Extensions

VSC has large library of extensions check them out in extensions tab or at https://marketplace.visualstudio.com/vscode.

Here are some of our favorites

Code Runner

Git Graph

GitLens

Error Lens

Auto Rename Tag

TODO Highlight

Code Spell Checker

Markdown Preview Enhanced


class: px-20 transition: slide-up level: 2

Themes


transition: fade-out level: 3

Themes

VSC comes with many themes but even more can be found at https://vscodethemes.com/.

Here are some of our favorites

Borhan - Gruvbox

Dante - Noctics Obescuro

Look at themes available and pick your favorite but . . .

FLASH WARNING!!!


level: 3

If You Like This One Then . . .


transition: slide-up level: 2

Remote Explorer


level: 3

Remote Explorer Path

ssh [Username]@cs.uwindsor.ca

transition: slide-up class: text-center

Windows Subsystem for Linux (WSL)

WSL is a feature of Windows that allows you to run a Linux environment without the need for a separate virtual machine or dual booting



Lets take a look at what we can do


layout: default level: 2 class: text-center

Install

To install WSL run the below command in PowerShell. This will install the default Distro which is the latest version of Ubuntu

wsl --intsall

To look for available Distros


wsl --list --online

Then to install a desired distro


wsl --install -d DISTRO-NAME

layout: default level: 2 transition: slide-up class: text-center

Config

If you want to run multiple Distros than here are some helpful commands to config WSL to your preferences


To set default Distro

wsl --set-default Distribution-Name

If forget your password you'll need to run the following commands


wsl -u root
passwd username

layout: default level: 2 class: text-center

Run


To run a WSL in a desired folder open your desired path in CMD or Powershell

C:\your\path> wsl

To run a Distro that is not default

C:\your\path> wsl --distribution Distribution Name 


layout: default level: 3 transition: slide-up class: text-center

What you can while in WSL


Now that your in a linux envoriment you have access to all the best linux tools

ls

ps

cat

env

killall

ssh

tail

iptables

cp

sudo


layout: center class: text-center level: 3

Thank You for Listening

Check out the slideshow here