Published: 2025-10-18
Author: Karo Zieminski
A growing library of repos, videos and skills for Claude Skills (100+)
| # pak::pak("r-lib/nanonext") | |
| library(nanonext) | |
| conns <- list() | |
| handlers <- list( | |
| handler_stream("/stream", | |
| on_request = function(conn, req) { | |
| conn$set_header("Content-Type", "application/x-ndjson") | |
| conns[[as.character(conn$id)]] <<- conn | |
| conn$send('{"status":"connected"}\n') |
| library(dplyr) | |
| api <- as_tibble(tools:::funAPI()) | |
| # list all header files from include dir | |
| header_files <- list.files( | |
| R.home("include"), | |
| full.names = TRUE, | |
| recursive = TRUE, |
| # What do i want from an object oriented R class system? | |
| # opt-in public immutability - neither. Accomplished with private property with active binding in R6 | |
| # interior mutability - R6 | |
| # type safety - S7 | |
| # self-referential methods - R6 | |
| # private methods don't have any type safety they can be whatever you want. | |
| # immutables can only be set at creation and class doesn't matter | |
| # Each .public & .private element must be named |
Published: 2025-10-18
Author: Karo Zieminski
A growing library of repos, videos and skills for Claude Skills (100+)
| { | |
| "size": 50, | |
| "polygon": [ | |
| { | |
| "lon": -80.81854409832198, | |
| "lat": 30.33370156189275 | |
| }, | |
| { | |
| "lon": -80.81976090733492, | |
| "lat": 30.29569956621614 |
UPDATED 22.11.2022
It's been two years since the last update, so here's the updated working script as per the comments below.
Thanks to BryanHaley for this.
setInterval(function () {
video = document.getElementsByTagName('ytd-playlist-video-renderer')[0];
video.querySelector('#primary button[aria-label="Action menu"]').click();| { | |
| "default": { | |
| "always_save_history": false, | |
| "copilot_enabled": true, | |
| "copilot_indexing_enabled": true, | |
| "editor_theme": "rscodeio", | |
| "load_workspace": false, | |
| "pdf_previewer": "none", | |
| "restore_last_project": false, | |
| "restore_source_documents": false, |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <DefaultAssociations> | |
| <!-- Web Protocols --> | |
| <Association Identifier="http" ProgId="ChromeSSHTM.KRNFTZRS7HSWQNPYUD3H3UQ74E" ApplicationName="Google Chrome Canary" /> | |
| <Association Identifier="https" ProgId="ChromeSSHTM.KRNFTZRS7HSWQNPYUD3H3UQ74E" ApplicationName="Google Chrome Canary" /> | |
| <!-- Web Files --> | |
| <Association Identifier=".htm" ProgId="ChromeSSHTM.KRNFTZRS7HSWQNPYUD3H3UQ74E" ApplicationName="Google Chrome Canary" /> | |
| <Association Identifier=".html" ProgId="ChromeSSHTM.KRNFTZRS7HSWQNPYUD3H3UQ74E" ApplicationName="Google Chrome Canary" /> | |
| <Association Identifier=".svg" ProgId="VSCodeInsiders.svg" ApplicationName="Visual Studio Code - Insiders" /> |
| function h(html) { | |
| return html.replace(/<p>/g, '\n\n') | |
| .replace(/<\/p>/g, '') | |
| .replace(/<b>/g, '**') | |
| .replace(/<\/b>/g, '**') | |
| .replace(/<i>/g, '_') | |
| .replace(/<\/i>/g, '_') | |
| .replace(/<code[^>]*>/g, (match) => { | |
| const lm = match.match(/class="[^"]*language-([^"]*)"/); | |
| return lm ? '\n```' + lm[1] + '\n' : '```'; |