Skip to content

Instantly share code, notes, and snippets.

View calvernaz's full-sized avatar

Cesar Alvernaz calvernaz

View GitHub Profile
@eherrerosj
eherrerosj / linux_gtxgpu_mackeyboard.sh
Last active July 1, 2020 10:55
Installing NVIDIA driver and CUDA 9.1 on Ubuntu
### Nvidia installation reference: https://gist.github.com/wangruohui/df039f0dc434d6486f5d4d098aa52d07#install-nvidia-graphics-driver-via-apt-get
sudo apt-get purge nvidia*
# Note this might remove your cuda installation as well
sudo apt-get autoremove
# Recommended if .deb files from NVIDIA were installed
# Change 1404 to the exact system version or use tab autocompletion
@andkirby
andkirby / slack.sh
Last active April 4, 2024 17:51
Shell/Bash script for sending slack messages.
#!/usr/bin/env bash
####################################################################################
# Slack Bash console script for sending messages.
####################################################################################
# Installation
# $ curl -s https://gist.githubusercontent.com/andkirby/67a774513215d7ba06384186dd441d9e/raw --output /usr/bin/slack
# $ chmod +x /usr/bin/slack
####################################################################################
# USAGE
# Send message to slack channel/user