Skip to content

Instantly share code, notes, and snippets.

View fonsp's full-sized avatar
🌳
climbing

Fons van der Plas fonsp

🌳
climbing
View GitHub Profile
### A Pluto.jl notebook ###
# v0.11.12
using Markdown
using InteractiveUtils
# ╔═╡ f9feaf76-eeb5-11ea-2fa6-fd388c9b677d
begin
import Pkg
Pkg.activate(mktempdir())
julia> import Pkg; Pkg.activate(mktempdir());
julia> Pkg.add(Pkg.PackageSpec(url="https://github.com/giordano/DebugArtifacts.jl.git"))
Activating new environment at `/tmp/jl_6YznSC/Project.toml`
Cloning git-repo `https://github.com/giordano/DebugArtifacts.jl.git`
Updating git-repo `https://github.com/giordano/DebugArtifacts.jl.git`
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
### A Pluto.jl notebook ###
# v0.11.12
using Markdown
using InteractiveUtils
# ╔═╡ 3bd369a8-ef88-11ea-0ca4-5383bb96324c
begin
import Pkg
Pkg.activate(mktempdir())
@fonsp
fonsp / turtles.jl
Last active October 4, 2023 13:03
### A Pluto.jl notebook ###
# v0.19.3
using Markdown
using InteractiveUtils
# This Pluto notebook uses @bind for interactivity. When running this notebook outside of Pluto, the following 'mock version' of @bind gives bound variables a default value (instead of an error).
macro bind(def, element)
quote
local iv = try Base.loaded_modules[Base.PkgId(Base.UUID("6e696c72-6542-2067-7265-42206c756150"), "AbstractPlutoDingetjes")].Bonds.initial_value catch; b -> missing; end
### A Pluto.jl notebook ###
# v0.11.12
using Markdown
using InteractiveUtils
# This Pluto notebook uses @bind for interactivity. When running this notebook outside of Pluto, the following 'mock version' of @bind gives bound variables a default value (instead of an error).
macro bind(def, element)
quote
local el = $(esc(element))
### A Pluto.jl notebook ###
# v0.11.12
using Markdown
using InteractiveUtils
# ╔═╡ e9078d86-f131-11ea-2fb5-275dab3b0323
begin
import Pkg
Pkg.activate(mktempdir())
### A Pluto.jl notebook ###
# v0.11.12
using Markdown
using InteractiveUtils
# ╔═╡ 9fd9cf2a-f136-11ea-1cad-cb4f224f50d6
e = quote
function f(x)
x + y
@fonsp
fonsp / vintage.jl
Last active September 7, 2020 21:36
### A Pluto.jl notebook ###
# v0.11.12
using Markdown
using InteractiveUtils
# This Pluto notebook uses @bind for interactivity. When running this notebook outside of Pluto, the following 'mock version' of @bind gives bound variables a default value (instead of an error).
macro bind(def, element)
quote
local el = $(esc(element))
name: binder-tensorboard
channels:
- conda-forge
- defaults
dependencies:
- _libgcc_mutex=0.1=conda_forge
- _openmp_mutex=4.5=0_gnu
- _tflow_select=2.3.0=mkl
- absl-py=0.9.0=py37_0
- aiohttp=3.6.2=py37h516909a_0
### A Pluto.jl notebook ###
# v0.11.14
using Markdown
using InteractiveUtils
# This Pluto notebook uses @bind for interactivity. When running this notebook outside of Pluto, the following 'mock version' of @bind gives bound variables a default value (instead of an error).
macro bind(def, element)
quote
local el = $(esc(element))