This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Pluto | |
# ╔═╡ 2b310e52-1219-11eb-26f8-ed6dcdbaad47 | |
Base.@kwdef struct PlutoWidget | |
html::HTML | |
default::Any | |
end | |
# ╔═╡ 586d4546-1219-11eb-1ed7-7791a437bd4f | |
function Base.show(io::IO, mime::MIME"text/html", widget::PlutoWidget) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### A Pluto.jl notebook ### | |
# v0.11.4 | |
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)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### A Pluto.jl notebook ### | |
# v0.11.14 | |
using Markdown | |
using InteractiveUtils | |
# ╔═╡ cf2958da-f8da-11ea-3e03-5fd8e443ce37 | |
html"""<script> | |
let firebase = await require.alias({ | |
"@firebase/app": "https://www.gstatic.com/firebasejs/6.3.1/firebase-app.js", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### A Pluto.jl notebook ### | |
# v0.11.14 | |
using Markdown | |
using InteractiveUtils | |
# ╔═╡ 823571c6-065e-11eb-3ef7-317b596d0dd2 | |
html""" | |
<script src="https://cdn.jsdelivr.net/npm/lodash@4/lodash.min.js"></script> | |
<script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### A Pluto.jl notebook ### | |
# v0.11.14 | |
using Markdown | |
using InteractiveUtils | |
# ╔═╡ c58752e4-f038-11ea-0726-f98f4287c9f4 | |
md""" | |
# Use counter in Pluto |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### A Pluto.jl notebook ### | |
# v0.11.14 | |
using Markdown | |
using InteractiveUtils | |
# ╔═╡ c58752e4-f038-11ea-0726-f98f4287c9f4 | |
md""" | |
# Use counter in Pluto |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### A Pluto.jl notebook ### | |
# v0.11.14 | |
using Markdown | |
using InteractiveUtils | |
# ╔═╡ afc4f67e-f705-11ea-3cfc-116b0cdb70c3 | |
begin | |
macro_expression = quote | |
@a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const puppeteer = require("puppeteer"); | |
(async () => { | |
const browser = await puppeteer.launch({ headless: false }); | |
const page = await browser.newPage(); | |
await page.evaluateOnNewDocument(() => { | |
Object.defineProperty(HTMLCanvasElement.prototype, "toBlob", { | |
value: () => { | |
console.log("Hey there"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local ret_status="%(?:%{$fg_bold[white]%}λ:%{$fg_bold[red]%}λ)" | |
# local gitpwd=$(git rev-parse --show-toplevel) | |
local dim="\e[2m" | |
git_pwd() { | |
if [[ -n $(git rev-parse --show-toplevel 2> /dev/null) ]]; then | |
echo "$(git rev-parse --show-toplevel)" | |
else | |
echo "" | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDTi+lQ3schnVU9UWWeANET1bXKHDgqux6wBXi0dpneTSMK3Kc8UxkdiJrIaNByG7eYqvq1WgeuGnvpvX8XJHqWddm4I6U2gompF5/0GB7lbKo2obLUf6Wwl1flUHE7Iia4wxZysLlAjp2ASTDJkcot7VUDOg9RgdQZUC8uByZ/4Wk8g6eQv+GM23Y0x+EKc+ii2hF78uhSDTG41LKLrbZch+kgpeqnwcLEtcb3P9aB1SBPuoVgQhg4BPFdYb3Lv48e5AO0Rs9HTdX22GZw3x19z8JAxeLJecgsAMkgMvnpNTbPx9nTCRR8bUOaipJ3v3q4eLid88M/MKGmEYRiaIPFLYVanooiBZOAoh8cXJvt1LrCNFnrQXFzIuUdYSvEKVnIcjNhOoLHAR0lZzPDLho0cbBlxHzX3in83OCMU0ufLlTu1Vx6L4o0qQDb88EDpvGbny/k1ceYTZ3V+o363STcDh60KExfqZT9okz+rByq7Z3j09OwMjZXmRGh2ZzAHenac/+jynRmZ7XcXU03mLS6w5iotm1mDYgb/xpTLkzBRbx7WGxKdrEGMyXctR3SBLipbbfNYcuMO8k9shoI1Ns3ry3A3eGObwM3A36QGSplxBdN2soBUARfABUGepvuozhAh//N12uTxan32pBSVUs+6GBOKe2fwAOQdTeohKn/9Q== [email protected] |