Skip to content

Instantly share code, notes, and snippets.

View simonwongwong's full-sized avatar
🚲

Simon Wong simonwongwong

🚲
View GitHub Profile
@simonwongwong
simonwongwong / table2rst.py
Last active July 8, 2019 14:45 — forked from marianoguerra/table2rst.py
Create an RST table from a CSV (Python 3.1+)
'''read a csv file representing a table and write a restructured text simple
table'''
import sys
import csv
import io
def get_out(out=None):
'''
return a file like object from different kinds of values
None: returns stdout
@simonwongwong
simonwongwong / ecelinux.md
Last active September 30, 2021 16:04 — forked from jzxhuang/ecelinux.md
ECE Linux SSH + VS Code Configuration (Windows and macOS)

ECE Linux SSH + VS Code Setup Guide

How to set up SSH for ECE linux "the right way". No VPN is required to SSH into ECE linux. Notably, with this setup:

  • Skip eceterm completely and go directly to eceubuntu/ecetesla - you only need to type the SSH command ONCE (and enter your password ONCE).
  • Configure VS Code to work over SSH. Edit remote files while maintaining your VS Code features like Intellisense, syntax highlighting, themes, etc.

Skip to the bottom of the document for a summary (TL;DR).

Configure SSH Locally (Skip eceterm and VPN)