Skip to content

Instantly share code, notes, and snippets.

@vineyardbovines
vineyardbovines / jupyter-venv.md
Created November 9, 2019 15:54
Set up a virtualenv for Jupyter Notebook with ML tools

Install conda

conda create -n venv python=3.7
conda activate venv
conda install nb_conda pandas matplotlib numpy scikit-learn 
conda install -c conda-forge keras tensorflow
python -m ipykernel install --user name venv
### Keybase proof
I hereby claim:
* I am gretzky on github.
* I am gretzky (https://keybase.io/gretzky) on keybase.
* I have a public key ASCvipdkHmBm2AVxc-sQMXI6rqlYEJzjn9dPANOoMrPlQgo
To claim this, I am signing this object:
@vineyardbovines
vineyardbovines / pihole + openvpn
Created June 7, 2018 00:34
installing pihole and openvpn on 1 raspberry pi
############################################
setting up pihole + pivpn on 1 raspberry pi
for fun and profit (and privacy)
############################################
#################
# what you need #
#################
# - 1 raspberry pi
@vineyardbovines
vineyardbovines / macOS x arch linux
Last active July 21, 2025 05:40
dual booting arch linux on a macbook pro 12,1 (retina, 13", 2015)
#####################################################
# dual booting arch linux & macOS
# on a macbook pro 12,1
# ft. rEFInd
#
# this guide has been smashed together from a variety
# of other awesome guides out there for dual booting
# including but not limited to:
# mark nichols' 5 part guide: https://zanshin.net/2015/02/05/arch-linux-on-a-macbook-pro-part-1-creating-a-usb-installer/
# the arch linux docs: https://wiki.archlinux.org/index.php/mac#Arch_Linux_with_OS_X_or_other_operating_systems
#################
# dual booting arch linux onto macos
#################
#####
step 1 - get connected
#####
run `wifi-menu`
#####
" make vim more useful
set nocompatible
filetype off
" vundle!
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
# Configuration for Alacritty, the GPU enhanced terminal emulator
# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
# set by alacritty it self.
env:
# TERM env customization.
#
# If this property is not set, alacritty will set it to xterm-256color.
#
/*!
* classie - class helper functions
* from bonzo https://github.com/ded/bonzo
*
* classie.has( elem, 'my-class' ) -> true/false
* classie.add( elem, 'my-new-class' )
* classie.remove( elem, 'my-unwanted-class' )
* classie.toggle( elem, 'my-class' )
*/
/* Modernizr 2.8.3 (Custom Build) | MIT & BSD
* Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-smil-svg-svgclippaths-touch-webgl-shiv-cssclasses-addtest-prefixed-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-load
*/
;window.Modernizr=function(a,b,c){function C(a){j.cssText=a}function D(a,b){return C(n.join(a+";")+(b||""))}function E(a,b){return typeof a===b}function F(a,b){return!!~(""+a).indexOf(b)}function G(a,b){for(var d in a){var e=a[d];if(!F(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function H(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:E(f,"functi
! function(a) {
a.fn.animatedModal = function(n) {
function o() {
m.css({
"z-index": e.zIndexOut
}), e.afterClose()
}
function t() {
e.afterOpen()