Skip to content

Instantly share code, notes, and snippets.

View RonaldoBandeira's full-sized avatar

Ronaldo Bandeira RonaldoBandeira

View GitHub Profile

Install NVIDIA Container Toolkit on WSL2

Preparation

Please install Ubuntu on WSL2.
I have executed the following procedures on Ubuntu 22.04 of WSL2.

Install Docker CLI

//
// SCNVector3+MathUtils.swift
//
// Created by Jeremy Conkin on 4/26/16.
//
import SceneKit
/**
Add two vectors
<Warning>: Please set a value for FacebookAutoLogAppEventsEnabled. Set the flag to TRUE if you want to collect app install, app launch and in-app purchase events automatically. To request user consent before collecting data, set the flag value to FALSE, then change to TRUE once user consent is received. Learn more: https://developers.facebook.com/docs/app-events/getting-started-app-events-ios#disable-auto-events.
<Warning>: You haven't set a value for FacebookAdvertiserIDCollectionEnabled. Set the flag to TRUE if you want to collect Advertiser ID for better advertising and analytics results.
flipper: FlipperClient::addPlugin Inspector
flipper: FlipperClient::addPlugin Preferences
flipper: FlipperClient::addPlugin React
flipper: FlipperClient::addPlugin Network
nw_socket_handle_socket_event [C1.1.1:1] Socket SO_ERROR [61: Connection refused]
nw_socket_handle_socket_event [C1.1.2:1] Socket SO_ERROR [61: Connection refused]
nw_connection_get_connected_socket_block_invoke [C1] Client called nw_connection_get_con
@RonaldoBandeira
RonaldoBandeira / wsl-port-forwarding.md
Created October 26, 2023 15:31 — forked from estsaon/wsl-port-forwarding.md
How to SSH into WSL2 on an external Window

WSL:

  1. Install openssh-server:
sudo apt install openssh-server
  1. Add or uncomment following lines in /etc/ssh/sshd_config: