Skip to content

Instantly share code, notes, and snippets.

View Klice's full-sized avatar

Klice

  • Toronto, Canada
View GitHub Profile
apt install ubuntu-drivers-common
ubuntu-drivers list
# virtualbox-guest-dkms
# virtualbox-guest-dkms-hwe
# nvidia-driver-390
# virtualbox-guest-x11
apt install nvidia-driver-390
1. Update CLR:
/opt/EasyRSA-3.0.3/easyrsa gen-crl
2. Gen cleint CRT:
/opt/EasyRSA-3.0.3/easyrsa build-client-full sasha nopass
3. Cline conf:
client
verb 4
connect-retry 2 10
COURSE P - laminar/B738/autopilot/course_pilot
COURSE C/P - laminar/B738/autopilot/course_copilot
A/T ARM Led - laminar/B738/autopilot/autothrottle_arm_pos
A/T SW - laminar/B738/autopilot/autothrottle_status
Speed Dial - laminar/B738/autopilot/mcp_dial_kts_mach
Speed Above/Below - ???
Heading - sim/copilot/autopilot/heading_mag
sim/copilot/autopilot/heading_mag2
sim/copilot2/autopilot/heading_dial_deg_mag_pilot
sim/copilot2/autopilot/heading_dial_deg_mag_copilot
@Klice
Klice / ce.py
Last active October 10, 2018 04:42
from scripting import *
import org.eclipse.swt as swt
import org.eclipse.swt.widgets as widgets
import org.eclipse.swt.layout as layout
# get a CityEngine instance
ce = CE()
if __name__ == '__main__':
sudo apt install libfontconfig1 libxrender1 libxtst6 libxi6 fontconfig
#
# Print all possible candidates for virtualenv relative to the directory $1.
# Used in venv_find() for every directory starting from the current and up to the root.
#
function venv_candidates () {
echo $1
echo $1/.venv
echo $1/VENV
echo $1/ENV
echo $1.venv