This file contains 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
--- | |
title: "Test nested lists in Quarto" | |
output: html | |
--- | |
1. First top point | |
```{r} | |
# 4 space indent gets extra output | |
1 + 1 | |
``` |
This file contains 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
#!/usr/bin/env zsh | |
qlmanage -r | |
qlmanage -r cache | |
killall Finder |
This file contains 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
try(remove.packages("mytestpackage")) | |
reprex::reprex({ | |
remotes::install_github("remlapmot/mytestpackage", quiet = TRUE) | |
rmarkdown::draft("example.qmd", template = "quarto_template", package = "mytestpackage", edit = FALSE) | |
dir("example") | |
}) |
This file contains 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
# profvis | |
library(profvis) | |
profvis({ | |
rmarkdown::render("practical.Rmd") | |
}) | |
# Rprof() | |
Rprof() | |
rmarkdown::render("practical.Rmd") | |
Rprof(NULL) |
This file contains 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
brew install --cask --no-quarantine syntax-highlight | |
brew install --cask qlmarkdown |
This file contains 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
# Use colima | |
docker context use colima | |
# Use docker | |
docker context use colima | |
colima start | |
colima stop |
This file contains 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
#!/bin/bash | |
gpgconf --kill gpg-agent |
This file contains 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
#!/bin/bash | |
# From https://blog.ediri.io/how-to-create-a-github-gh-pages-branch-in-an-existing-repository | |
git checkout --orphan gh-pages | |
git reset --hard | |
git commit --allow-empty -m "Empty gh-pages branch" | |
git push origin gh-pages |
This file contains 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
[core] | |
editor = \"C:\\Users\\eptmp\\AppData\\Local\\Programs\\Microsoft VS Code\\bin\\code\" --wait | |
excludesFile = C:\\Users\\tom\\.gitignore | |
[filter "lfs"] | |
clean = git-lfs clean -- %f | |
smudge = git-lfs smudge -- %f | |
process = git-lfs filter-process | |
required = true | |
[user] | |
name = My Name |
This file contains 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
cd /Library/Frameworks/R.framework/Resources/lib/ | |
ln -s -i -v libRblas.vecLib.dylib libRblas.dylib | |
# revert with | |
# ln -s -i -v libRblas.0.dylib libRblas.dylib |