Pandoc User’s Guide (April 7, 2024)slide aspect ratio (43 for 4:3 [default], 169 for 16:9, 1610 for 16:10, 149 for 14:9, 141 for 1.41:1, 54 for 5:4, 32 for 3:2) beameroption add extra beamer option with \setbeameroption{} institute author fonttheme, innertheme, and outertheme, using the -V option: pandoc -t beamer habits.txt -V theme:Warsaw -o habits.pdf 125 Slide shows Note that heading attributes will turn into slide attributes (on0 码力 | 168 页 | 475.29 KB | 1 年前3
Gitea v1.21.1 中文文档服务器错误,页面元素丢失或故障,莫名其妙的页 面布局,等等… 移除或更新不兼容的模板,Gitea Web 才可以正常工作。 从 Docker 升级 从包升级 从二进制升级 小心你的自定义模板 从旧版 Gitea 升级 - 54 - 本文档使用 书栈网 · BookStack.CN 构建 如果你正在运行Gogs 0.9.146以下版本,你可以平滑的升级到Gitea。该升级需要如下的步骤: 使用 gogs backup console 更改为 file 。这表示将日志输出到文件,使得 fail2ban 可以定 期扫描日志内容。 当用户的身份验证失败时,日志中会记录此类信息: 1. 2018/04/26 18:15:54 [I] Failed authentication attempt for user from xxx.xxx.xxx.xxx 1. 2020/10/15 16:08:44 [E] invalid 12. MODE = console 13. FLAGS = stdflags 14. PREFIX = 15. COLORIZE = true 这等同于将所有日志发送到控制台,并将默认的 Golang 日志也发送到控制台日志中。 这只是一个示例,默认情况下不需要将其写入配置文件中。 禁用路由日志,将访问日志(>=Warn)记录到 access.log 中: 1. [log] 20 码力 | 303 页 | 3.88 MB | 1 年前3
2021 中国开源年度报告……………… 48 2 中国活跃度排名 Top30 …………………………………………………………………… 50 3 中国企业开源数据分析(按活跃度排序) ………………………………………………… 54 4 Apache 基金会中国项目活跃度分析 Top20 …………………………………………… 56 5 CNCF 中国项目活跃度分析 Top20 …………………………………………………… 60 fastjson 一般这两个数字也不会很大,但被四处应用,star 数也不少。为保证公平起 见,我觉得可以考虑以上数字除以代码行数,另外,挤掉水分后的 star 和 fork 还是蛮有说服力的。 54 3 中国企业开源数据分析(按活跃度排序) company activity_score repo_count IssueComment company OpenIssue OpenPullRequest 总体语言趋势 排名 语言 占比 排名变化 1 Java 49.28% 2 JavaSript 12.07% 3 Python 6.92% ↑ 1 4 PHP 5.22% ↓ 1 5 Golang 4.29% ↑ 3 6 C# 3.81% ↓ 1 7 C++ 3.24% ↑ 2 8 C 2.60% ↑ 3 9 HTML 2.53% ↑ 1 10 Android 开发语言 1.89%0 码力 | 132 页 | 14.24 MB | 1 年前3
2023 中国开源开发者报告视频、编码、语音等领域取得了突破性的进展,带动了 180 亿美元的风险投资和企业投资。 O'Reilly 发 布 的 “ 2023 Generative AI in the Enterprise”报告显示: 54% 的 AI 用户预计 AI 的最大好处是提高生产力。 77% 的受访者使用 AI 来辅助编程。其中提到的具体 应用包括欺诈检测、教学和客户关系管理。 AI 用户表示,AI 编程(66%)和数据分析(59%) 对开发者很友好,没有太多强制的规定,写 PHP 代码会让人很自由,很舒 服。不像其他的语言有各种各样奇奇怪怪的强制规定。PHP 社区也有很多更好 玩的项目,比如 Swoole,RoadRunner,FrankenPHP。Golang 的出现我认为 让 PHP 有了更多的可能。 PHP 背后没有大厂,完全是社区运作,这就意味着对中国开发者会比较友好, 不用担心被卡脖子。而且 PHP 是中国开发者参与度比较高的一门编程语言。 作为人工智能领域使用度最高的编程语言,在 2023 年到底有多火? 从各种开发者报告、编程语言榜单来看。只要出现有关编程语言流行度的排名, ,而 Java、C/C++ 等 同样在 LLM 开发中发挥关键作用的语言紧随其后。 54 / 87 LLM 基础设施:编程语言 2023 年 9 月面向大众开放 创业公司 Modular AI 开 发 结合了 Python 的易用性以及 C 语言的 支持与任意0 码力 | 87 页 | 31.99 MB | 1 年前3
Pro Git 2nd Edition 2.1.413| 23 +++++++++++++++++++++++ lib/simplegit.rb | 25 +++++++++++++++++++++++++ 3 files changed, 54 insertions(+) As you can see, the --stat option prints below each commit entry a list of modified shortname. For instance, if you want to rename pb to paul, you can do so with git remote rename: 54 $ git remote rename pb paul $ git remote origin paul It’s worth mentioning that this changes all remote and merges locally. 6. The maintainer pushes merged changes to the main repository. Figure 54. Integration-manager workflow 127 This is a very common workflow with hub-based tools like GitHub0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413| 23 +++++++++++++++++++++++ lib/simplegit.rb | 25 +++++++++++++++++++++++++ 3 files changed, 54 insertions(+) As you can see, the --stat option prints below each commit entry a list of modified remote and merges locally. 6. The maintainer pushes merged changes to the main repository. Figure 54. Integration-manager workflow This is a very common workflow with hub-based tools like GitHub or after pushing to the origin server In the meantime, Jessica has created a new topic branch called issue54, and made three commits to that branch. She hasn’t fetched John’s changes yet, so her commit history0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 | 23 +++++++++++++++++++++++ lib/simplegit.rb | 25 +++++++++++++++++++++++++ 3 files changed, 54 insertions(+) As you can see, the --stat option prints below each commit entry a list of modified remote and merges locally. 6. The maintainer pushes merged changes to the main repository. Figure 54. Integration-manager workflow This is a very common workflow with hub-based tools like GitHub or after pushing to the origin server In the meantime, Jessica has created a new topic branch called issue54, and made three commits to that branch. She hasn’t fetched John’s changes yet, so her commit history0 码力 | 691 页 | 13.35 MB | 1 年前3
2021 中国开源年度报告1 Java 49.28% 2 JavaSript 12.07% 3 Python 6.92% ↑1 4 PHP 5.22% ↓ 1 5 Golang 4.29% ↑3 6 C# 3.81% ↓ 1 7 C++ 3.24% ↑2 8 C 2.60% ↑3 9 HTML 2.53% ↑1 10 generating $272 million in revenue in fiscal 2021, an increase of 46% year-over-year. 图表 54:MongoDB Atlas 业务情况 Figure 54: MongoDB Atlas business 资料来源:Pitchbook,云启资本 Source: Pitchbook, Yunqi Partners 20.7k 1668 Mozilla Corporation Firefox $22 10.5k 2.4k 209 Treasure Data Fluentd $54 2016/11 10.6k 1.2k 220 GitLab Git $415 2020/11 40k 22k 408 GitHub Git $350 2015/120 码力 | 199 页 | 9.63 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66| 23 +++++++++++++++++++++++ lib/simplegit.rb | 25 +++++++++++++++++++++++++ 3 files changed, 54 insertions(+) 正如你所看到的,--stat 选项在每次提交的下面列出所有被修改过的文件、有多少文件被修改了以及被修改过 的文件的哪些行被移除或是添加了。 在每次提交的最后还有一个总结。 branch] ticgit -> pb/ticgit 现在 Paul 的 master 分支可以在本地通过 pb/master 访问到——你可以将它合并到自己的某个分支中, 或者如 54 果你想要查看它的话,可以检出一个指向该点的本地分支。 (我们将会在 Git 分支 中详细介绍什么是分支以及如何使用分支。) 从远程仓库中抓取与拉取 就如刚才所见,从远程仓库中获得数据,可以执行: 集中式系统中通常使用的是单点协作模型——集中式工作流。 一个中心集线器,或者说 仓库,可以接受代码, 所有人将自己的工作与之同步。 若干个开发者则作为节点,即中心仓库的消费者与中心仓库同步。 图表 54. 集中式工作流。 这意味着如果两个开发者从中心仓库克隆代码下来,同时作了一些修改,那么只有第一个开发者可以顺利地把数 据推送回共享服务器。 第二个开发者在推送修改之前,必须先将第一个人的工作合并进来,这样才不会覆盖第0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66| 23 +++++++++++++++++++++++ lib/simplegit.rb | 25 +++++++++++++++++++++++++ 3 files changed, 54 insertions(+) 正如你所看到的,--stat 选项在每次提交的下面列出所有被修改过的文件、 有多少文件被修改了以及被修改过的文件的哪些行被移除或是添加了。 在每 次提交的最后还有一个总结。 集中式系统中通常使用的是单点协作模型——集中式工作流。 一个中心集线 器,或者说 仓库,可以接受代码,所有人将自己的工作与之同步。 若干个开 发者则作为节点,即中心仓库的消费者与中心仓库同步。 图表 54. 集中式工作流。 这意味着如果两个开发者从中心仓库克隆代码下来,同时作了一些修改,那么 只有第一个开发者可以顺利地把数据推送回共享服务器。 第二个开发者在推 送修改之前,必须先将第一个人的工作合并进来,这样才不会覆盖第一个人的 master -> master 最终,John 的提交历史看起来像这样: 图表 60. 推送到 origin 服务器后 John 的历史 在此期间,Jessica 新建了一个名为 issue54 的主题分支,然后在该分支上提 交了三次。 她还没有抓取 John 的改动,所以她的提交历史看起来像这样: 图表 61. Jessica 的主题分支 忽然,Jessica 发现 John 向服务器推送了一些新的工作,她想要看一下,0 码力 | 670 页 | 13.59 MB | 1 年前3
共 340 条
- 1
- 2
- 3
- 4
- 5
- 6
- 34













