Skip to content

Commit 565dbb1

Browse files
dylankycdylankyc
authored andcommitted
init
0 parents  commit 565dbb1

File tree

79 files changed

+25754
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+25754
-0
lines changed

.github/workflows/mdbook.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Sample workflow for building and deploying a mdBook site to GitHub Pages
2+
#
3+
# To get started with mdBook see: https://rust-lang.github.io/mdBook/index.html
4+
#
5+
name: Deploy mdBook site to Pages
6+
on:
7+
# Runs on pushes targeting the default branch
8+
push:
9+
branches: ["main"]
10+
# Allows you to run this workflow manually from the Actions tab
11+
workflow_dispatch:
12+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
18+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
19+
concurrency:
20+
group: "pages"
21+
cancel-in-progress: false
22+
jobs:
23+
# Build job
24+
build:
25+
runs-on: ubuntu-latest
26+
env:
27+
MDBOOK_VERSION: 0.4.43
28+
steps:
29+
- uses: actions/checkout@v4
30+
- name: Install mdBook
31+
run: |
32+
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh
33+
rustup update
34+
cargo install --version ${MDBOOK_VERSION} mdbook
35+
cargo install mdbook-toc mdbook-mermaid
36+
- name: Setup Pages
37+
id: pages
38+
uses: actions/configure-pages@v5
39+
- name: Build with mdBook
40+
run: mdbook build
41+
- name: Upload artifact
42+
uses: actions/upload-pages-artifact@v3
43+
with:
44+
path: ./book
45+
# Deployment job
46+
deploy:
47+
environment:
48+
name: github-pages
49+
url: ${{ steps.deployment.outputs.page_url }}
50+
runs-on: ubuntu-latest
51+
needs: build
52+
steps:
53+
- name: Deploy to GitHub Pages
54+
id: deployment
55+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
book

.img/import-orders-from-schema.png

195 KB
Loading

.img/import-orders.png

263 KB
Loading

.img/ton-contract-deployed-tx.png

263 KB
Loading

.img/ton-sign-tx-when-deploy.PNG

144 KB
Loading

book.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[book]
2+
authors = ["dylan"]
3+
language = "en"
4+
multilingual = false
5+
src = "src"
6+
title = "Dylan's Blog"
7+
8+
[preprocessor.toc]
9+
command = "mdbook-toc"
10+
renderer = ["html"]

run.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
mdbook serve
4+
5+
# open localhost:3000

src/SUMMARY.md

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
# Summary
2+
3+
# Solana
4+
5+
- [Quickstart]()
6+
- [Create Solana Account Using TypeScript, Rust and Golang](solana/quickstart/create-solana-account-using-typescript-rust-and-golang.md)
7+
- [Developing Solana Program Without Anchor](solana/quickstart/developing-solana-program-without-anchor.md)
8+
- [Developing Solana Program Without Anchor(Native Program)-zh](solana/quickstart/不使用Anchor开发solana的program.md)
9+
- [Anchor]()
10+
- [Client invoke Solana Program](solana/anchor/client-invoke-program.md)
11+
- [Deploy]()
12+
- [Deploy Solana Dapp to vercel](solana/deploy/deploy-solana-dapp-to-vercel.md)
13+
- [Token]()
14+
- [Create token](solana/token/create-token.md)
15+
- [Change Token Mint Owner](solana/token/change-token-mint-owner.md)
16+
- [SourceCode]()
17+
- [Design Pattern for Program Clients](solana/source-code/spl/design-pattern-for-program-clients.md)
18+
19+
# ClickHouse
20+
21+
- [Flink]()
22+
- [Flink Socket Stream and ClickHouse Sink](clickhouse/flink/flink-socket-stream-and-clickhouse-sink.md)
23+
- [ClickHouse Operator]()
24+
- [Extend Disk in ClickHouse Cluster](clickhouse/clickhouse-operator/extend-disk-in-clickhouse-cluster.md)
25+
26+
# React
27+
28+
- [Functional Component]()
29+
- [Render all chartjs charts in react typescript tailwindcss projects](react/functional-component/render-all-chartjs-charts.md)
30+
- [React Query]()
31+
- [Setup React Query in NextJS Project](react/react-query/setup-react-query-in-nextjs-project.md)
32+
- [Setup Tanstack React Query in NextJS Project](react/react-query/setup-tanstack-react-query-in-nextjs-project.md)
33+
34+
# TypeScript
35+
36+
- [Redux]()
37+
- [Redux TypeScript for Big Project](typescript/redux/redux-typescript-大型项目实践.md)
38+
- [Narrowing]()
39+
- [Narrowing](typescript/narrowing/introduction.md)
40+
- [Solana useWallet example](typescript/narrowing/solana-usewallet-example.md)
41+
42+
# Rust
43+
44+
- [GRPC]()
45+
- [Rust grpc helloworld](rust/grpc/rust-grpc-helloworld.md)
46+
- [Diesel]()
47+
- [Upgrade diesel to 2.0](rust/diesel/upgrade-diesel-to-2.0.md)
48+
- [Use jsonb in diesel](rust/diesel/use-jsonb-in-diesel.md)
49+
- [Tokio]()
50+
- [Tokio Codec](rust/tokio/tokio-codec.md)
51+
- [Async Healthcheck Multiple Endpoints](rust/tokio/async-healthcheck-multiple-endpoints.md)
52+
- [Actix]()
53+
- [prometheus support for actix-web project](rust/actix/prometheus-support-to-actix-web.md)
54+
- [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)
55+
- [Serde]()
56+
- [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)
57+
- [Error]()
58+
- [How to organise application Error in actix-web application](rust/error/how-to-organise-application-error-in-actix-web-application.md)
59+
- [Return error when unwrap Option when None](rust/error/return-error-when-unwrap-option-when-none.md)
60+
- [Enum]()
61+
- [Extract enum variants](rust/enum/extract-enum-variants.md)
62+
63+
# Golang
64+
65+
- [GRPC]()
66+
- [go code output path](golang/grpc/go_opt.md)
67+
- [Go Modules]()
68+
- [Go get gitlab subgroup module](golang/gomod/go-get-gitlab-subgroup-module.md)
69+
- [Password]()
70+
- [Write password encryption package using ChatGPT](golang/password/write-password-encryption-package-using-chatgpt.md)
71+
72+
# MUI
73+
74+
- [Upgrade]()
75+
- [Upgrade from v4 to v5](mui/upgrade/upgrade-from-v4-to-v5.md)
76+
77+
# Gitlab
78+
79+
- [Gitlab Runner]()
80+
- [Register gitlab runner on Amazon Linux 2](gitlab/runner/register-gitlab-runner-on-amazon-linux-2.md)
81+
- [Install gitlab runner on ubuntu](gitlab/runner/install-gitlab-runner-on-ubuntu.md)
82+
- [CI]()
83+
- [Build multi-arch docker image using buildx](gitlab/ci/build-multi-arch-docker-image-using-buildx.md)
84+
85+
# Terraform
86+
87+
- [Gitlab]()
88+
- [Start Gitlab using Terraform](terraform/gitlab/start-gitlab-using-terraform.md)
89+
- [Import]()
90+
- [Manage DMS resource using terraform](terraform/import/terraform-import-dms-replication-instance-blog.md)
91+
- [Review terraform import](terraform/import/review-terraform-import.md)
92+
- [S3]()
93+
- [一个 s3 bucket 分配权限的 terraform 管理介绍.md](terraform/s3/s3-bucket-permission-management-using-terraform.md)
94+
- [Management]()
95+
- [A Good Developer knows management](terraform/management/a-good-developer-knows-management.md)
96+
97+
# Kubernetes
98+
99+
- [CronJob]()
100+
- [CronJob To Restart Deployment](kubernetes/cronjob/cronjob-to-restart-deployment.md)
101+
- [Security]()
102+
- [Access s3 files in pod](kubernetes/security/access-s3-files-in-pod.md)
103+
- [Kubebuilder]()
104+
- [kubebuilder quickstart](kubernetes/kubebuilder/kubebuilder-quickstart.md)
105+
106+
# Flink
107+
108+
- [DataStream]()
109+
- [DataStream Socket Source and Print Sink](flink/datastream/datastream-socket-source-and-print-sink.md)
110+
111+
# Linkerd
112+
113+
- [Quickstart]()
114+
- [linkerd quickstart](linkerd/quickstart/linkerd-quickstart.md)
115+
116+
# Kong
117+
118+
- [GRPC]()
119+
- [Multiple GRPC Service Routing in Kong](kong/grpc/multiple-grpc-service-routing.md)

0 commit comments

Comments
 (0)