Skip to content

Instantly share code, notes, and snippets.

View sbchisholm's full-sized avatar

Stephen Chisholm sbchisholm

View GitHub Profile
@sbchisholm
sbchisholm / mermaid.md
Created October 24, 2024 14:22 — forked from martinwoodward/mermaid.md
GitHub HTML Rendering Pipeline
```mermaid
sequenceDiagram
    participant dotcom
    participant iframe
    participant viewscreen
    dotcom->>iframe: loads html w/ iframe url
    iframe->>viewscreen: request template
    viewscreen->>iframe: html & javascript
 iframe->>dotcom: iframe ready
# How to install `ipkg` on a Synology DS214
After a couple of days of trying to get `ipkg` woking on my DS214 I found [this article](https://github.com/trepmag/ds213j-optware-bootstrap) by [trepmag](https://github.com/trepmag). It is written for the DS213j, but it’s been working for me and [others](https://github.com/alberthild) for the DS214 too.
I have done some minor changed to clarify some things, but if you are a Linux guy (unlike me) my changes might be of no use to you.
## Guide
module RemoteHelpers
using Base: sync_add
function remote_call_from_module(w, expression::Expr)
call_expr = :(remotecall($w, eval, Main, $(Expr(:quote, expression))))
eval(Main, call_expr)
end
remote_eval(w, expression::Expr) = remote_call_from_module(w, expression)