-
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.
- Loading branch information
dylankyc
authored and
dylankyc
committed
Jan 15, 2025
0 parents
commit 88c167f
Showing
76 changed files
with
24,970 additions
and
0 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,55 @@ | ||
# Sample workflow for building and deploying a mdBook site to GitHub Pages | ||
# | ||
# To get started with mdBook see: https://rust-lang.github.io/mdBook/index.html | ||
# | ||
name: Deploy mdBook site to Pages | ||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
branches: ["main"] | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
jobs: | ||
# Build job | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
MDBOOK_VERSION: 0.4.43 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install mdBook | ||
run: | | ||
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh | ||
rustup update | ||
cargo install --version ${MDBOOK_VERSION} mdbook | ||
cargo install mdbook-toc mdbook-mermaid | ||
- name: Setup Pages | ||
id: pages | ||
uses: actions/configure-pages@v5 | ||
- name: Build with mdBook | ||
run: mdbook build | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: ./book | ||
# Deployment job | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
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 @@ | ||
book |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,10 @@ | ||
[book] | ||
authors = ["dylan"] | ||
language = "en" | ||
multilingual = false | ||
src = "src" | ||
title = "Dylan's Blog" | ||
|
||
[preprocessor.toc] | ||
command = "mdbook-toc" | ||
renderer = ["html"] |
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,5 @@ | ||
#!/bin/bash | ||
|
||
mdbook serve | ||
|
||
# open localhost:3000 |
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,110 @@ | ||
# Summary | ||
|
||
# Solana | ||
|
||
- [Quickstart]() | ||
- [Create Solana Account Using TypeScript, Rust and Golang](solana/quickstart/create-solana-account-using-typescript-rust-and-golang.md) | ||
- [Developing Solana Program Without Anchor](solana/quickstart/developing-solana-program-without-anchor.md) | ||
- [Developing Solana Program Without Anchor(Native Program)-zh](solana/quickstart/不使用Anchor开发solana的program.md) | ||
- [Anchor]() | ||
- [Client invoke Solana Program](solana/anchor/client-invoke-program.md) | ||
- [Deploy]() | ||
- [Deploy Solana Dapp to vercel](solana/deploy/deploy-solana-dapp-to-vercel.md) | ||
- [Token]() | ||
- [Create token](solana/token/create-token.md) | ||
- [Change Token Mint Owner](solana/token/change-token-mint-owner.md) | ||
- [SourceCode]() | ||
- [Design Pattern for Program Clients](solana/source-code/spl/design-pattern-for-program-clients.md) | ||
|
||
# React | ||
|
||
- [Functional Component]() | ||
- [Render all chartjs charts in react typescript tailwindcss projects](react/functional-component/render-all-chartjs-charts.md) | ||
- [React Query]() | ||
- [Setup React Query in NextJS Project](react/react-query/setup-react-query-in-nextjs-project.md) | ||
- [Setup Tanstack React Query in NextJS Project](react/react-query/setup-tanstack-react-query-in-nextjs-project.md) | ||
|
||
# TypeScript | ||
|
||
- [Redux]() | ||
- [Redux TypeScript for Big Project](typescript/redux/redux-typescript-大型项目实践.md) | ||
- [Narrowing]() | ||
- [Narrowing](typescript/narrowing/introduction.md) | ||
- [Solana useWallet example](typescript/narrowing/solana-usewallet-example.md) | ||
|
||
# Rust | ||
|
||
- [GRPC]() | ||
- [Rust grpc helloworld](rust/grpc/rust-grpc-helloworld.md) | ||
- [Diesel]() | ||
- [Upgrade diesel to 2.0](rust/diesel/upgrade-diesel-to-2.0.md) | ||
- [Use jsonb in diesel](rust/diesel/use-jsonb-in-diesel.md) | ||
- [Tokio]() | ||
- [Tokio Codec](rust/tokio/tokio-codec.md) | ||
- [Async Healthcheck Multiple Endpoints](rust/tokio/async-healthcheck-multiple-endpoints.md) | ||
- [Actix]() | ||
- [prometheus support for actix-web project](rust/actix/prometheus-support-to-actix-web.md) | ||
- [Send Http Request in Handle function And started function When Using Actix crate](rust/actix/send-http-request-in-handle-function-and-started-function-when-using-actix-crate.md) | ||
- [Serde]() | ||
- [Serialize time::OffsetDataTime type using serde_as in serde_with crate](rust/serde/serialize-time-offsetdatetime-type-using-serde-as-in-serde-with-crate.md) | ||
- [Error]() | ||
- [How to organise application Error in actix-web application](rust/error/how-to-organise-application-error-in-actix-web-application.md) | ||
- [Return error when unwrap Option when None](rust/error/return-error-when-unwrap-option-when-none.md) | ||
|
||
# Golang | ||
|
||
- [GRPC]() | ||
- [go code output path](golang/grpc/go_opt.md) | ||
- [Go Modules]() | ||
- [Go get gitlab subgroup module](golang/gomod/go-get-gitlab-subgroup-module.md) | ||
- [Password]() | ||
- [Write password encryption package using ChatGPT](golang/password/write-password-encryption-package-using-chatgpt.md) | ||
|
||
# MUI | ||
|
||
- [Upgrade]() | ||
- [Upgrade from v4 to v5](mui/upgrade/upgrade-from-v4-to-v5.md) | ||
|
||
# Gitlab | ||
|
||
- [Gitlab Runner]() | ||
- [Register gitlab runner on Amazon Linux 2](gitlab/runner/register-gitlab-runner-on-amazon-linux-2.md) | ||
- [Install gitlab runner on ubuntu](gitlab/runner/install-gitlab-runner-on-ubuntu.md) | ||
- [CI]() | ||
- [Build multi-arch docker image using buildx](gitlab/ci/build-multi-arch-docker-image-using-buildx.md) | ||
|
||
# Terraform | ||
|
||
- [Gitlab]() | ||
- [Start Gitlab using Terraform](terraform/gitlab/start-gitlab-using-terraform.md) | ||
- [Import]() | ||
- [Manage DMS resource using terraform](terraform/import/terraform-import-dms-replication-instance-blog.md) | ||
- [Review terraform import](terraform/import/review-terraform-import.md) | ||
- [S3]() | ||
- [一个 s3 bucket 分配权限的 terraform 管理介绍.md](terraform/s3/s3-bucket-permission-management-using-terraform.md) | ||
- [Management]() | ||
- [A Good Developer knows management](terraform/management/a-good-developer-knows-management.md) | ||
|
||
# Kubernetes | ||
|
||
- [CronJob]() | ||
- [CronJob To Restart Deployment](kubernetes/cronjob/cronjob-to-restart-deployment.md) | ||
- [Security]() | ||
- [Access s3 files in pod](kubernetes/security/access-s3-files-in-pod.md) | ||
- [Kubebuilder]() | ||
- [kubebuilder quickstart](kubernetes/kubebuilder/kubebuilder-quickstart.md) | ||
|
||
# Flink | ||
|
||
- [DataStream]() | ||
- [DataStream Socket Source and Print Sink](flink/datastream/datastream-socket-source-and-print-sink.md) | ||
|
||
# Linkerd | ||
|
||
- [Quickstart]() | ||
- [linkerd quickstart](linkerd/quickstart/linkerd-quickstart.md) | ||
|
||
# Kong | ||
|
||
- [GRPC]() | ||
- [Multiple GRPC Service Routing in Kong](kong/grpc/multiple-grpc-service-routing.md) |
Oops, something went wrong.