Skip to content

Instantly share code, notes, and snippets.

View Luke20000429's full-sized avatar
🎯
Focusing

Xueshen Liu Luke20000429

🎯
Focusing
View GitHub Profile
@xingjian-zhang
xingjian-zhang / ssh_gl_no_password.md
Last active November 15, 2023 20:09
Setting up ControlMaster for GreatLakes

This gist shows how to get rid of authentication when connecting to Greatlakes by ssh.

Set up ~/.ssh/config

Add the following to ~/.ssh/config

Host greatlakes
  HostName greatlakes.arc-ts.umich.edu
  User jimmyzxj
  ControlMaster auto
  ControlPath ~/.ssh/%r@%h:%p
@Mluckydwyer
Mluckydwyer / opengl-in-wsl.md
Last active July 3, 2024 19:17
Install OpenGL on Ubuntu in WSL

How to Install OpenGL in Ubuntu in WSL2

These steps have been tested on Windows 10 with WSL2 running Ubuntu.

1. Dependencies

First install the dependencies:

apt install mesa-utils libglu1-mesa-dev freeglut3-dev mesa-common-dev

There are more than we need, but also include GLut and Glu libraries to link aginst during compilation for application development (these can be removed if that functionality is not required).