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
| // Override key bindings by placing them into your key bindings file. | |
| [ | |
| { "key": "escape escape", "command": "workbench.action.exitZenMode", | |
| "when": "inZenMode" }, | |
| { "key": "shift+escape", "command": "closeReferenceSearch", | |
| "when": "inReferenceSearchEditor && !config.editor.stablePeek" }, | |
| { "key": "escape", "command": "closeReferenceSearch", | |
| "when": "inReferenceSearchEditor && !config.editor.stablePeek" }, | |
| { "key": "shift+escape", "command": "editor.action.inlineSuggest.hide", | |
| "when": "inInlineEditsPreviewEditor" }, |
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
| ## _brand.yml — mimics the SciPy 2026 conference style | |
| ## https://www.scipy2026.scipy.org/ | |
| ## | |
| ## Colors are taken straight from the SciPy 2026 site. | |
| ## Fonts: the live site uses Adobe Fonts (Typekit) — "fairway" for headings | |
| ## and "mr-eaves-modern" for body — which require an Adobe account to embed. | |
| ## We substitute close, freely available Google Fonts here: Montserrat (which | |
| ## the SciPy site itself uses for buttons) for headings, and Mulish for body. | |
| ## Swap these for the Adobe families if you have access. |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>name</key> | |
| <string>a11y-dark</string> | |
| <key>settings</key> | |
| <array> | |
| <dict> | |
| <key>settings</key> |
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
| rotations = scan("input.txt", character()) | |
| counter = 0 | |
| new_starting_position = 50 | |
| max_dial = 99 | |
| pattern = "\\d+" | |
| # Part 1 --- | |
| for (rotation in rotations){ |
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
| { | |
| "[python]": { | |
| // automatically selects Python console | |
| "interpreters.startupBehavior": "always" | |
| }, | |
| // R language specific settings | |
| "[r]": { | |
| // use Air | |
| "editor.defaultFormatter": "Posit.air-vscode", | |
| // apply formatting on save |
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
| --- | |
| title: R Markdown Results Fold | |
| --- | |
| ```{r} | |
| #| eval: false | |
| plot(mtcars$mpg, mtcars$hp) | |
| ``` |
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
| library(magick) | |
| input_folder <- "test/" | |
| output_folder <- "resized/" | |
| if (!dir.exists(output_folder)) { | |
| dir.create(output_folder) | |
| } | |
| image_files <- list.files(input_folder, full.names = TRUE, pattern = "\\.(jpg|jpeg|png)$") |
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
| library(shiny) | |
| library(plotly) | |
| library(gridlayout) | |
| library(bslib) | |
| ui <- grid_page( | |
| layout = c("header header ", | |
| "sidebar plot "), | |
| row_sizes = c("100px", | |
| "1fr"), |
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
| library(charlatan) | |
| set.seed(1234) | |
| (z <- AddressProvider$new('nl_NL')) | |
| address_list <- purrr::map(1:5, function(x) { | |
| dplyr::bind_cols( | |
| building = z$building_number(), | |
| street = z$street_address(), |
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
| all_files <- fs::dir_ls(".", recurse = TRUE) | |
| files_info <- | |
| dplyr::bind_cols(all_files, fs::file_size(all_files)) |
NewerOlder