Skip to content

Instantly share code, notes, and snippets.

@dpprdan
dpprdan / settings.yml
Created October 17, 2023 18:37
GitHub Settings App
# Branch protection settings for https://github.com/apps/settings
# Available settings: https://docs.github.com/en/rest/branches/branch-protection?apiVersion=2022-11-28
branches:
- name: main
protection:
allow_deletion: false
allow_force_pushes: false
enforce_admins: null
lock_branch: false
@dpprdan
dpprdan / install.md
Last active February 18, 2022 15:29
conda

install miniconda on Windows with winget

winget install Anaconda.Miniconda3

Add miniconda pwsh to Windows Terminal

You may need to modify paths...

@dpprdan
dpprdan / setup.md
Last active February 9, 2022 20:27
Logitech Media Server on Synology with Docker

Updating Logitech Media Server (LMS) from the v7.9.1 app on a Synology DS 2012+ to a recent version running in a Docker container on a Synology DS 220+

Patch Squeezebox Radio to connect to LMS v8+

The Squeezebox Radio firmware needs to be patched, in order to connect to a LMS v8+. See the slimserver repo:

Unfortunately the latest Squeezebox Radio firmware (7.7.3) comes with a bug which prevents it from connecting correctly to Logitech Media Server 8+. It's version string comparison function fails to recognize 8.0.0 as more recent than 7.7.3. While the bug has been fixed years ago, the fixed firmware never got released. Unfortunately we're at this point not able to build a fixed firmware for distribution.

But there's a patch available, which you can easily install on an existing SB Radio: >

@dpprdan
dpprdan / winget.md
Last active September 1, 2022 09:17
winget

Winget Update

Update manifest with wingetcreate

Install wingetcreate in case you haven't

winget install wingetcreate
@dpprdan
dpprdan / MariaDB_container_for_RMariaDB.md
Last active January 17, 2022 07:46
Setup Docker container for testing r-dbi packages
@dpprdan
dpprdan / myfile.geojson
Created August 14, 2020 08:08
GeoJSON example
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
``` r
library(leaflet)
```
Example from https://leafletjs.com/reference-1.3.0.html\#tilelayer-wms
``` r
leaflet() %>%
addTiles() %>%
setView(lng = -72.5, lat = 43.5, zoom = 8) %>%