Skip to content

Instantly share code, notes, and snippets.

View brfitzpatrick's full-sized avatar
🐜

Ben R. Fitzpatrick brfitzpatrick

🐜
View GitHub Profile
@Mahedi-61
Mahedi-61 / cuda_11.8_installation_on_Ubuntu_22.04
Last active April 22, 2024 08:21
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

From Ben Fitzpatrick

ic_vec <- c('11% - 20%', '21% - 30%', '0% - 9%')

library(tidyverse)

ic_vec %>%
  as_tibble() %>%
 separate(col = value,
@benmarwick
benmarwick / .emacs
Last active June 1, 2020 15:22
Notes on using Emacs
;;Record startup timestamp
(defvar Emacs/invokation-time
(current-time))
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-enabled-themes (quote (tango-plus)))