Skip to content

Instantly share code, notes, and snippets.

View rain1024's full-sized avatar
🏠
Working from home

Vu Anh rain1024

🏠
Working from home
View GitHub Profile
@Mahedi-61
Mahedi-61 / cuda_11.8_installation_on_Ubuntu_22.04
Last active January 17, 2026 07:58
Instructions for CUDA v11.8 and cuDNN 8.9.7 installation on Ubuntu 22.04 for PyTorch 2.1.2
#!/bin/bash
### steps ####
# Verify the system has a cuda-capable gpu
# Download and install the nvidia cuda toolkit and cudnn
# Setup environmental variables
# Verify the installation
###
### to verify your gpu is cuda enable check
@UbuntuEvangelist
UbuntuEvangelist / code.sh
Created November 12, 2019 19:57
Install Visual Studio Code Ubuntu 18.04
sudo apt update && sudo apt-get upgrade --fix-missing
sudo apt install build-essential checkinstall
sudo apt install ubuntu-restricted-extras
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update
sudo apt install launchpad-getkeys
sudo launchpad-getkeys
sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt install git
@iqbalhasnan
iqbalhasnan / gist:ed92fa2450cab9c5b63d2402f3ff2c72
Created February 25, 2020 00:46
Spark Hive errors and solutions
1.
Error:
java.io.IOException: java.lang.IllegalArgumentException: bucketId out of range: -1
Solution:
set hive.fetch.task.conversion=none;
2.
Error:
java.io.IOException: [Error 30022]: Must use HiveInputFormat to read ACID tables
@psychemedia
psychemedia / GPT4all-langchain-demo.ipynb
Last active December 21, 2023 17:30
Example of running GPT4all local LLM via langchain in a Jupyter notebook (Python)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.