base on https://roadmap.sh/backend
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
defmodule DateHelper do | |
def from_date(:undefined) do | |
:undefined | |
end | |
def from_date(:null) do | |
:undefined | |
end | |
def from_date(date) do |
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
<List | |
grid={{ | |
gutter: 16, | |
xs: 1, | |
sm: 2, | |
md: 4, | |
lg: 4, | |
xl: 6, | |
xxl: 3, | |
}} |
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
jest.mock('antd/lib/grid/hooks/useBreakpoint', () => () => ({ | |
xs: false, | |
sm: true, | |
})); |
docs: https://www.apollographql.com/docs/react/development-testing/static-typing#setting-up-your-project
npm i -S graphql
npm i -D typescript ts-node @graphql-codegen/cli @graphql-codegen/client-preset
git submodule add <repo-url> graphql-api
git commit -m "Add submodule"
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
local/ |
喜欢安装和运维非常简单的
自动化
- https://github.com/automatisch/automatisch Zapier 替代方案,安装主需要 docker compose up
- n8n 也可以替代 Zapier,支持 docker 运行
- pipedream 虽然是开源,但是没有看到 self host 方法
NewerOlder