Skip to content

Instantly share code, notes, and snippets.

Avatar

Ollin Langle ollin18

View GitHub Profile
@ollin18
ollin18 / useit.jl
Created May 3, 2019
Function to load a bunch of packages and install them if not already
View useit.jl
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 Jan 24, 2017
Hola mundo julia
View hola_mundo.jl
println("Hola mundo!")
You can’t perform that action at this time.