Name | Link | Description |
---|---|---|
128 Nops | https://128nops.com/ | A blog focusing on low-level programming, reverse engineering, and performance optimization. |
ACM Queue - Articles | https://queue.acm.org/ | A public |
Discover gists
# Assumes Ubuntu 22.04 | |
$ sudo apt-get update && \ | |
sudo apt-get -y install gcc && \ | |
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-ubuntu2204.pin && \ | |
sudo mv cuda-ubuntu2204.pin /etc/apt/preferences.d/cuda-repository-pin-600 && \ | |
wget https://developer.download.nvidia.com/compute/cuda/12.3.1/local_installers/cuda-repo-ubuntu2204-12-3-local_12.3.1-545.23.08-1_amd64.deb && \ | |
sudo dpkg -i cuda-repo-ubuntu2204-12-3-local_12.3.1-545.23.08-1_amd64.deb && \ | |
sudo cp /var/cuda-repo-ubuntu2204-12-3-local/cuda-*-keyring.gpg /usr/share/keyrings/ && \ | |
sudo apt-get update && \ | |
sudo apt-get -y install cuda-toolkit-12-3 nvidia-cuda-toolkit python3-pip nvtop && \ |
# Prioritize NVIDIA packages | |
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-ubuntu2204.pin | |
sudo mv cuda-ubuntu2204.pin /etc/apt/preferences.d/cuda-repository-pin-600 | |
# Fetch NVIDIA keys | |
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/3bf863cc.pub | |
# Add NVIDIA repos | |
sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/ /" |
This is a brief receipt used for NVIDIA CUDA installation on a Ubuntu Linux Distro. All the steps can be found in the guide provided by NVIDIA but this gist contains some glue points to overcome problems during the installation.
The current installation was performed for an Ubuntu version 14.04.5 LTS, Trusty Tahr using a x86_64 architecture. You can get this information by typing in a consonle terminal:
$ uname -m && cat /etc/*release
Once you get that information we can find the NVIDIA Toolkit that supports our Linux Distro. Last version is NVIDIA CUDA Toolkit 8.0 ga2 although version 9 is already published but it does not give support for 14.04. To know what that information you must check Table 1. Native Linux Distribution Support
See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
# mihomo (Clash Meta) 懒人配置 | |
# 版本 V1.15-241205 | |
# https://gist.github.com/liuran001/5ca84f7def53c70b554d3f765ff86a33 | |
# https://obdo.cc/meta | |
# 作者: 笨蛋ovo (bdovo.cc) | |
# Telegram: https://t.me/baka_not_baka | |
# 关注我的 Telegram 频道谢谢喵 https://t.me/s/BDovo_Channel | |
# 修改自官方示例规则 https://wiki.metacubex.one/example/#meta | |
# 转载请保留此注释 | |
# 尽量添加了较为详尽的注释,不理解的地方建议对照 虚空终端 (Clash Meta) Docs 进行理解 |
<label for="country">Country</label><span style="color: red !important; display: inline; float: none;">*</span> | |
<select id="country" name="country" class="form-control"> | |
<option value="Afghanistan">Afghanistan</option> | |
<option value="Åland Islands">Åland Islands</option> | |
<option value="Albania">Albania</option> | |
<option value="Algeria">Algeria</option> | |
<option value="American Samoa">American Samoa</option> | |
<option value="Andorra">Andorra</option> | |
<option value="Angola">Angola</option> |