hnqiu's TechHub

Install CUDA & cuDNN on Ubuntu

Introduction This post presents the steps to install CUDA 11.4 and cuDNN v8.2 on Ubuntu 18.04. CUDA How-to Install the NVIDIA GPU driver in the Ubuntu Software & Updates panel and reboot ...

Using `pybind11` to Interface Python with C++: Part 1 - Installation

Introduction pybind11 is an open-source Python binding library that allows you to operate modern C++11 in Python. It can wrap the C++ data types and methods as a callable Python module that create...

Using Jekyll to Build GitHub Pages

Introduction GitHub Pages is a fantastic way to host your personal website from your GitHub repository – it is free, convenient while provides much richness in customizing your own style. In this ...

My Vim Cheat Sheet

Tips Many of the commands can use a number prefix as the times of repeating the command. Some commands (e.g., o, i, p) have upper & lower cases. The upper ones operate (open, insert, paste...

Advanced Matlab & Simulink: Part 1 - Installation on Ubuntu

Introduction Matlab is a great tool for numerical computing and data processing in the field of engineering. It has abundant add-ons and toolboxes, among which Simulink is one of the most widely ...

Reading Notes on C++ Primer (5e)

Variables A pointer is an object, a reference is not. To understand the type of a variable, read the definition from right to left. The closest symbol defines what the variable is. const de...

Using Git

Git is a distributed version control system for tracking code histories. If you are using MacOS or Ubuntu, Git should have been installed by default, otherwise follow the instructions on git-scm to...

An Archive of My Frequent Ubuntu Commands

:unlock: This post is open-sourced. :exclamation: Please note this cheatsheet is from personal experience and other online resources. It should not be considered as an official guide. Bas...

Lanuch Teamviewer Through SSH

:unlock: This post is open-sourced. Even if we can login to the server computer remotely via ssh, sometimes it would be best to have graphical control of that machine. In this case, Teamviewer...

Use SSH to Remotely Access Server Terminals

:unlock: This post is open-sourced. :pencil: This post is to record necessary commands to set up and use SSH. If you are looking for some more details please check Zach Duey’s blog, ubuntu ...