-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to update the website via GitHub Action. Also, turn the directory as a project by creating a project in existing folder.
- Loading branch information
Showing
12 changed files
with
685 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: main | ||
|
||
name: Quarto Publish | ||
|
||
jobs: | ||
build-deploy: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Quarto | ||
uses: quarto-dev/quarto-actions/setup@v2 | ||
|
||
- name: Render and Publish | ||
uses: quarto-dev/quarto-actions/publish@v2 | ||
with: | ||
target: gh-pages | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
/.quarto/ | ||
/_site/ | ||
/_site/ | ||
.Rproj.user |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"hash": "6770a9b1606487f9bfd982f1b0afe38e", | ||
"result": { | ||
"engine": "knitr", | ||
"markdown": "---\ntitle: \"David\"\nsubtitle: \"Data Scientist\"\ndate: today\ndate-format: full\n# `profile.jpg` photo by Jan Tinneberg on https://unsplash.com\n# image: profile.jpg\nimage: david_maplepath_2018.jpg\nabout: # https://quarto.org/docs/websites/website-about.html\n # id: hero-heading\n # template: jolla\n template: solana\n image-width: 6em\n links:\n - icon: github\n # - icon: flag-fill\n text: Github\n href: https://github.com/davidzgli\n - icon: linkedin\n text: LinkedIn\n href: https://www.linkedin.com/in/zhiguang-li-8117b453\neditor_options: \n chunk_output_type: console\n---\n\n\n\n\n## About\n\nI am a data scientist at NIH. Currently, I am studying the DNA methylation changes in blood samples of old populations. I am also interested in machine learning and data visualization.\n\n<!-- :::{#hero-heading} -->\n\n## Education\n\n\nWuhan University, Wuhan \\| Hubei \\| Sept 1994 - June 1998.\n\nFudan University, Shanghai \\| Shanghai \\| Sept 1998 - June 2001.\n\nCAS, Beijing \\| Beijing \\| Sept 2004 - June 2008.\n\n\n## Experience\n\n**LEPS**, National Institute on Aging \\| Staff Scientist \\| April 2020 - present\n\n<!-- ::: -->\n\n## Scatter plot from mtcars dataset\n\n\n\n\n::: {.cell layout-align=\"center\"}\n\n```{.r .cell-code}\nlibrary(ggplot2)\nggplot(mtcars, aes(x = wt, y = mpg, colour = factor(cyl))) +\n geom_point()\n```\n\n::: {.cell-output-display}\n{fig-align='center' width=576}\n:::\n:::\n\n\n\n\n## Table\n\n\n\n\n::: {.cell layout-align=\"center\"}\n\n```{.r .cell-code}\nhead(mtcars)\n```\n\n::: {.cell-output .cell-output-stdout}\n\n```\n mpg cyl disp hp drat wt qsec vs am gear carb\nMazda RX4 21.0 6 160 110 3.90 2.620 16.46 0 1 4 4\nMazda RX4 Wag 21.0 6 160 110 3.90 2.875 17.02 0 1 4 4\nDatsun 710 22.8 4 108 93 3.85 2.320 18.61 1 1 4 1\nHornet 4 Drive 21.4 6 258 110 3.08 3.215 19.44 1 0 3 1\nHornet Sportabout 18.7 8 360 175 3.15 3.440 17.02 0 0 3 2\nValiant 18.1 6 225 105 2.76 3.460 20.22 1 0 3 1\n```\n\n\n:::\n:::\n\n\n\n\n\n### The following is a test\n\n\n\n\n{{< placeholder 400 200 >}}\n\n\n{{< lipsum 1 >}}\n\n\n{{< placeholder 400 100 format=svg >}}\n\n\n{{< lipsum 2 >}}\n\n", | ||
"supporting": [ | ||
"index_files" | ||
], | ||
"filters": [ | ||
"rmarkdown/pagebreak.lua" | ||
], | ||
"includes": {}, | ||
"engineDependencies": {}, | ||
"preserve": {}, | ||
"postProcess": true | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,7 @@ format: | |
linestretch: 1.2 | ||
backgroundcolor: rgb(250, 250, 250) | ||
|
||
execute: | ||
freeze: auto | ||
|
||
|
Oops, something went wrong.