- 1.多参与群聊,多问有价值的问题,多提供有价值的答案
- 2.如果大家有收藏整理好的markdown文档资源,欢迎打包分享到群里,我会整理到本知识库中,比如大家看到好的gitbook、语雀、看云知识库,可以搬运到这里
- 3.如果大家会Git,可以直接下载本知识库的Github源文件 fishyer/MyLogseq,直接在本地用Logseq软件修改或添加笔记,然后给我提交pull request
This file contains hidden or 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
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction | |
var Mock = require('mockjs') | |
var Random = Mock.Random | |
var data = Mock.mock({ | |
// 属性 list 的值是一个数组,其中含有 1 到 20 个元素 | |
'list|1-20': [{ | |
// 属性 id 是一个自增数,起始值为 1,每次增 1 | |
'id|+1': 1, | |
// 随机生成一个布尔值,值为 value 的概率是 min / (min + max),值为 !value 的概率是 max / (min + max)。 | |
'star|1-9': true, |
This file contains hidden or 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
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction | |
var Mock = require('mockjs') | |
var Random = Mock.Random | |
var data = Mock.mock({ | |
// 属性 list 的值是一个数组,其中含有 1 到 20 个元素 | |
'list|1-20': [{ | |
// 属性 id 是一个自增数,起始值为 1,每次增 1 | |
'id|+1': 1, | |
// 随机生成一个布尔值,值为 value 的概率是 min / (min + max),值为 !value 的概率是 max / (min + max)。 | |
'star|1-9': true, |
This file contains hidden or 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
import uvicorn as uvicorn | |
from fastapi import FastAPI | |
import requests | |
from bs4 import BeautifulSoup | |
app = FastAPI() # 必须实例化该类,启动的时候调用 | |
git_token = "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" | |
s = requests.session() |
This file contains hidden or 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
user www www; | |
worker_processes auto; | |
error_log /www/wwwlogs/nginx_error.log crit; | |
pid /www/server/nginx/logs/nginx.pid; | |
worker_rlimit_nofile 51200; | |
events | |
{ | |
use epoll; | |
worker_connections 51200; |
This file contains hidden or 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
'use strict' | |
const webpack = require('webpack'), | |
WebpackDevServer = require('webpack-dev-server'), | |
config = require('./webpack.config.dev') | |
new WebpackDevServer(webpack(config), { | |
publicPath: config.output.publicPath, | |
hot: true, | |
noInfo: false, |
This file contains hidden or 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
{:meta/version 1 | |
;; Currently, we support either "Markdown" or "Org". | |
;; This can overwrite your global preference so that | |
;; maybe your personal preferred format is Org but you'd | |
;; need to use Markdown for some projects. | |
;; :preferred-format "" | |
;; Preferred workflow style. | |
;; Value is either ":now" for NOW/LATER style, |
This file contains hidden or 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
/* 红粉黑主题:还不错,GitHub中实时更新*/ | |
@import url('https://cdn.jsdelivr.net/gh/LeonWong0609/logseq-default-dark-0-saturation@main/custom.css'); | |
/* 红粉黑主题:我上传,GitHub中固定版本*/ | |
/* @import url('https://cdn.jsdelivr.net/gh/springrain1/[email protected]/custom_favorite.css'); */ | |
/* 东京主题:我上传,GitHub中固定版本 | |
@import url('https://cdn.jsdelivr.net/gh/springrain1/[email protected]/tokyo.css'); | |
*/ | |
/* Roam主题:我上传,GitHub中固定版本 |
This file contains hidden or 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
{:meta/version 1 | |
;; Currently, we support either "Markdown" or "Org". | |
;; This can overwrite your global preference so that | |
;; maybe your personal preferred format is Org but you'd | |
;; need to use Markdown for some projects. | |
;; :preferred-format "" | |
;; Preferred workflow style. | |
;; Value is either ":now" for NOW/LATER style, |
This file contains hidden or 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
baseURL = "https://blog.fishyer.com" | |
languageCode = "zh-ch" | |
title = "Fishyer的认知账本" | |
theme = "ananke" |