Skip to content

Instantly share code, notes, and snippets.

View ollin18's full-sized avatar

Ollin Langle ollin18

View GitHub Profile
#!/usr/bin/env bash
conda env create -f thinkmd.yml
@ollin18
ollin18 / useit.jl
Created May 3, 2019 17:16
Function to load a bunch of packages and install them if not already
using Pkg
function useit(list::Array{Symbol})
installed = [key for key in keys(Pkg.installed())]
strpackages = @. string(list)
uninstalled = setdiff(strpackages,installed)
map(Pkg.add,uninstalled)
for package ∈ list
@eval using $package
end
@ollin18
ollin18 / hola_mundo.jl
Created January 24, 2017 19:21
Hola mundo julia
println("Hola mundo!")