Logo Zekun's Zone
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Tags
  • camera
  • chatgpt
  • command
  • configuration
  • connection
  • cuda
  • docker
  • hardware
  • linux
  • mapbox
  • mapnik
  • nlp
  • raspberrypi
  • ssh
  • tiles
  • timelapse
  • vscode
Hero Image
Two Github Accounts with Two SSH Keys

To use two different GitHub accounts, one for work and one for personal use, you will need to create two separate RSA keys. Create Two RSA keys Here are the steps to create two RSA keys: Open your terminal. Input the following command, replacing “email@example.com” with your email address: ssh-keygen -t rsa -C "[email@example.com](mailto:email@example.com)" When asked to enter a file in which to save the key, type in a unique name for each key.

March 27, 2023 Read
Hero Image
Raspberry Pi Connect To WIFI with Command

If you have an extra monitor, keyboard and mouse, then connecting Rapsberry Pi to WIFI is really easy. You just click a few buttons in the GUI and you’re done. However, these gadgets are not always handy. In this case, you will need to connect the Pi with WIFI with command line. This blog shows you how to do it. Things to prepare: Ethernet Cable A device with network connectivity (mine is MacBook) Steps On the WIFI-connected device, type ifconfig | grep broadcast | arp -a.

October 14, 2021 Read
Hero Image
Connect to Remote Server with VSCode

This blog has the video tutorials of the following two things: Connect to UMN MSI server with VSCode Use UMN MSI with GPU

October 4, 2021 Read
Hero Image
Common Commands

Add python2 kernels to jupyter notebook: (source: https://ipython.readthedocs.io/en/stable/install/kernel_install.html) python2 -m pip install ipykernel python2 -m ipykernel install --user Add python3 kernels to jupyter notebook: python3 -m pip install ipykernel python3 -m ipykernel install --user AttributeError: module ‘matplotlib.colors’ has no attribute ’to_rgba’ Update matplotlib python3 -m pip install --upgrade matplotlib Customized Datagenerator having AttributeError: ‘ProgbarLogger’ object has no attribute ‘log_values’ Check if the data generator could not load data correctly (0 sample)

January 5, 2021 Read
Hero Image
Dual Monitors with Ubuntu 16.04 LTS

Ubuntu 16.04 default dual monitor setting sometimes doesn’t work if you have one monitor placed in vertical position. In this case, the easiest way would be configure it manually. If your second monitor is still black after plugged in the HMDI cable, remember to check the Display setting, the second monitor should be turned “On”. First you should download the CompizConfig Settings Manager. The installation guide can be found here.

January 5, 2021 Read
Hero Image
CUDA Errors and Solutions

CUDA is a parallel computing model created by Nvidia to assist the usage of GPU. It is widely used in the training of deep-learning models. It greatly speed up the computation in model training compared with its CPU-based counterpart. However we might encouter problems when using it, and here is a summarization of some common problems and the solutions. Please note that this post is not emphasizing on the installation of CUDA.

June 8, 2020 Read
Hero Image
Clean up boot directory when full

When /boot directory is full, errors will occur if we try to install new packages or libraries. Here is a short blog showing how to clean up /boot space by getting rid of outdated kernel files). Identify the current kernel version Use the command below uname -r For me it’s showing up 4.4.25-040425-generic List all the files and folders in /boot directory ls /boot/ Then you will see lots of old kernels.

January 30, 2020 Read
Navigation
  • About
  • Experiences
  • Publications
  • Selected Projects
  • Accomplishments
  • Recent Posts
Contact me:
  • li002666 [Shift+2] umn.edu
  • zekun-li

Toha Theme Logo Toha
© 2023 Copyright.
Powered by Hugo Logo