Skip to content

Instantly share code, notes, and snippets.

View OpenSorceress's full-sized avatar

Leah LaSalla OpenSorceress

View GitHub Profile
@OpenSorceress
OpenSorceress / cuda_9.0_cudnn_7.0.sh
Created November 12, 2018 02:54 — forked from ashokpant/cuda_9.0_cudnn_7.0.sh
Install CUDA Toolkit v9.0 and cuDNN v7.0 on Ubuntu 16.04
#!/bin/bash
# install CUDA Toolkit v9.0
# instructions from https://developer.nvidia.com/cuda-downloads (linux -> x86_64 -> Ubuntu -> 16.04 -> deb)
CUDA_REPO_PKG="cuda-repo-ubuntu1604-9-0-local_9.0.176-1_amd64-deb"
wget https://developer.nvidia.com/compute/cuda/9.0/Prod/local_installers/${CUDA_REPO_PKG}
sudo dpkg -i ${CUDA_REPO_PKG}
sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub
sudo apt-get update
sudo apt-get -y install cuda-9-0
@OpenSorceress
OpenSorceress / Collect Parler Metadata.ipynb
Created January 14, 2021 15:55 — forked from hrocha/Collect Parler Metadata.ipynb
Collect video URLs and GPS data for Parler videos.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@OpenSorceress
OpenSorceress / Collect Parler Metadata.ipynb
Created January 14, 2021 15:55 — forked from hrocha/Collect Parler Metadata.ipynb
Collect video URLs and GPS data for Parler videos.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@OpenSorceress
OpenSorceress / xdebug-mac.md
Created July 2, 2021 19:42 — forked from ankurk91/xdebug-mac.md
php xDebug v3 on Ubuntu/Mac and phpStorm

🪲 Install and Configure xDebug v3 on MacOS for PhpStorm 🐘

  • Assuming that you have already installed php and apache via Homebrew

  • Install xDebug php extension

pecl channel-update pecl.php.net
pecl clear-cache

pecl install xdebug
@OpenSorceress
OpenSorceress / garbage-3
Last active January 7, 2022 09:15
guideline-is-garbage
let thing = function(incoming, outgoing) {
this.incoming = incoming;
this.outgoing = outgoing;
}
// write code that does something called "rebalnace the portfolio"
// without ever finding out what rebalancing the portfolio actually means