Skip to content

Instantly share code, notes, and snippets.

View RustyRaptor's full-sized avatar
🛠️
Building a dyson sphere

RustyRaptor RustyRaptor

🛠️
Building a dyson sphere
View GitHub Profile
@raulqf
raulqf / Install_OpenCV4_CUDA11_CUDNN8.md
Last active April 18, 2024 19:53
How to install OpenCV 4.5 with CUDA 11.2 in Ubuntu 22.04

How to install OpenCV 4.5.2 with CUDA 11.2 and CUDNN 8.2 in Ubuntu 22.04

First of all install update and upgrade your system:

    $ sudo apt update
    $ sudo apt upgrade

Then, install required libraries:

@LeeiFrankJaw
LeeiFrankJaw / get-emacs.sh
Last active May 22, 2018 01:07
Install Emacs 25.3 on Ubuntu 16.04.3 LTS
git clone -b master git://git.sv.gnu.org/emacs.git
cd emacs/
git checkout emacs-25.3
sudo apt install --no-install-recommends texinfo
sudo apt install libgtk-3-dev libxpm-dev libjpeg8-dev libgif-dev libtiff5-dev libtinfo-dev librsvg2-dev libmagickwand-dev libacl1-dev libgnutls-dev
# Note: if you have installed Anaconda python distribution, it will
# affect how linker find libjpeg8 dynamic library files. To resolve
# this, simply remove Anaconda directory from PATH variable.
# ./autogen.sh
# ./configure
@aras-p
aras-p / preprocessor_fun.h
Last active April 12, 2024 17:24
Things to commit just before leaving your job
// Just before switching jobs:
// Add one of these.
// Preferably into the same commit where you do a large merge.
//
// This started as a tweet with a joke of "C++ pro-tip: #define private public",
// and then it quickly escalated into more and more evil suggestions.
// I've tried to capture interesting suggestions here.
//
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_,
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant,