Giter Club home page Giter Club logo

sosiristseng.github.io's Introduction

My digital garden

Built with Material for MkDocs

sosiristseng.github.io's People

Contributors

dependabot[bot] avatar renovate[bot] avatar sosiristseng avatar

Watchers

 avatar  avatar

sosiristseng.github.io's Issues

rsync to NAS folder

rsync -avh --delete /source/folder/ suername@ip::dest/folder/

In the NAS, the rsync service and rsync users should be enabled.

Docker config

  • Move the Docker data directory to a bigger partition
  • Set up a pull-through cache (by Google) to avoid hitting the docker image access limit by Dockerhub

Edit /etc/docker/daemon.json, add the following entries

{
  "data-root": "/home/docker",
  "registry-mirrors": ["https://mirror.gcr.io"]
}

Then run

sudo service docker restart

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

github-actions
.github/workflows/linkcheck.yml
  • actions/checkout v4
  • actions/cache v4
  • lycheeverse/lychee-action v1.9.3
.github/workflows/pages.yml
  • actions/checkout v4
  • actions/setup-python v5
  • actions/configure-pages v4
  • actions/upload-pages-artifact v3
  • actions/deploy-pages v4
pip_requirements
requirements.txt
  • mkdocs-material ==9.5.7
  • mkdocs-git-revision-date-localized-plugin ==1.2.4
  • mkdocs-ezlinked-plugin ==0.3.3
  • mkdocs-callouts ==1.10.0

  • Check this box to trigger a request for Renovate to run again on this repository

Link Checker Report

Summary

Status Count
๐Ÿ” Total 849
โœ… Successful 789
โณ Timeouts 0
๐Ÿ”€ Redirected 0
๐Ÿ‘ป Excluded 59
โ“ Unknown 0
๐Ÿšซ Errors 1

Errors per input

Errors in docs/code/python/index.md

Link Checker Report

Summary

Status Count
๐Ÿ” Total 852
โœ… Successful 792
โณ Timeouts 0
๐Ÿ”€ Redirected 0
๐Ÿ‘ป Excluded 59
โ“ Unknown 0
๐Ÿšซ Errors 1

Errors per input

Errors in docs/school/research-bookmarks.md

  • [ERR] https://vcell.org/ | Failed: Network error: error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:2092: (unable to get local issuer certificate)
    Full Github Actions output

Link Checker Report

Summary

Status Count
๐Ÿ” Total 852
โœ… Successful 792
โณ Timeouts 0
๐Ÿ”€ Redirected 0
๐Ÿ‘ป Excluded 59
โ“ Unknown 0
๐Ÿšซ Errors 1

Errors per input

Errors in docs/bookmarks/research.md

  • [ERR] https://vcell.org/ | Failed: Network error: error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:2092: (unable to get local issuer certificate)
    Full Github Actions output

Change parameters from an ODE system

"""Change parameter(s) from an ODESystem and returns a parameter vector."""
function change_params(sys, ps...)
    ModelingToolkit.varmap_to_vars(Dict(ps), parameters(sys); defaults = sys.defaults)
end

Link Checker Report

Summary

Status Count
๐Ÿ” Total 852
โœ… Successful 792
โณ Timeouts 0
๐Ÿ”€ Redirected 0
๐Ÿ‘ป Excluded 59
โ“ Unknown 0
๐Ÿšซ Errors 1

Errors per input

Errors in docs/bookmarks/research.md

  • [ERR] https://vcell.org/ | Failed: Network error: error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:2092: (unable to get local issuer certificate)
    Full Github Actions output

Link Checker Report

Summary

Status Count
๐Ÿ” Total 851
โœ… Successful 791
โณ Timeouts 0
๐Ÿ”€ Redirected 0
๐Ÿ‘ป Excluded 59
โ“ Unknown 0
๐Ÿšซ Errors 1

Errors per input

Errors in docs/school/research-bookmarks.md

  • [ERR] https://vcell.org/ | Failed: Network error: error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:2092: (unable to get local issuer certificate)
    Full Github Actions output

Link Checker Report

Summary

Status Count
๐Ÿ” Total 854
โœ… Successful 787
โณ Timeouts 0
๐Ÿ”€ Redirected 0
๐Ÿ‘ป Excluded 60
โ“ Unknown 0
๐Ÿšซ Errors 7

Errors per input

Errors in docs/blog/posts/2024-04-03-stellaris-console-commands.md

Errors in docs/index.md

jill.sh to install Julia

Using jill.sh to install Julia somehow avoids precompile cache invalidation in GitHub actions.

Status check for a multi-stage workflow

I can use the ${{ needs.<job>.result }} variable without setting output flags.

  # CI conclusion for GitHub status check
  # Adaped from https://brunoscheufler.com/blog/2022-04-09-the-required-github-status-check-that-wasnt
  CI:
    needs: render
    if: always()
    runs-on: ubuntu-latest
    steps:
      - run: |
          if [[ ${{ needs.render.result }} == "success" ]]; then
            echo "Tests passed"
            exit 0
          else
            echo "Tests failed"
            exit 1
          fi

Get the ODE Function from ODE system

using ModelingToolkit
using DifferentialEquations
using Plots

# Independent (time) and dependent (state) variables (x and RHS)
@variables t x(t) RHS(t)

# Setting parameters in the modeling
@parameters ฯ„

# Differential operator w.r.t. time
D = Differential(t)

# Equations in MTK use the tilde character (`~`) as equality.
# Every MTK system requires a name. The `@named` macro simply ensures that the symbolic name matches the name in the REPL.

@named fol_separate = ODESystem([
    RHS  ~ (1 - x)/ฯ„,
    D(x) ~ RHS
])

model = structural_simplify(fol_separate)

f = ODEFunction(model, jac=true)

f.jac

f([0.0], [1.0], 0.0)


u0 = [x => 0.0]
tspan = (0.0, 10.0)
param = [ฯ„ => 3.0]
prob = ODEProblem(model, u0, tspan, param)
sol = solve(prob)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.