杜郎俊赏 - dujun.io

健忘

吃早饭的时候反复在心里提醒自己出门要带的东西,到了路上才懊恼地发现果然还是忘记带了。这不是偶然发生的健忘的故事了,而是频繁发生的。 所以我有一些思考,从地球的尺度来看,现代人类的进化时间是很短的,人类寿命大幅度延长了,而基因衰败还来不及进化,仍然在按古人类的寿命执行身体机能的衰败曲线。假设我按一般人活到 80 岁,我现在才 38 岁,但是明显感受到身体机能断崖式地下降,首先是性能力,其次就是记忆力。也就是大半的人生要在无趣中度过。我认为要匹配 80 岁的寿命,至少在 60 岁开始启动衰败才是合理的。 另外我想从事体力劳动应该会缓解身体机能的过快下降。年轻时享受了坐办公室的体面,年长了就还回去了。 life never gives anything for nothing, and that a price is always exacted for what fate bestows. 所...

2023-12-09

开源实例之pekyll

pekyll-example封面
前言 markdown static blog generator written in PHP with the powerful of Laravel blade template engine. 实例地址 http://pekyll.dujun.eu.org 实例配置 配置 描述 系统 Debian 开发环境服务端 PHP 7.4 服务器 Nginx 程序 pekyll 0.2.9 实例部署 权限要求 具有系统读写权限 已安装 PHP 已安装 Nginx 安装程序 仓库地址:https://github.com/bangnokia/pekyll #安装 pekyll composer global require bangnokia/pekyll #创建项目 pekyll new blog cd blog #编辑 yyyy-mm-dd-slug.md 格式的文档放入 posts 目录...

2023-12-08

开源实例之Norcia

norcia-example封面
前言 Norcia 是一个简单的静态博客框架,通过 JavaScript 使用 Ajax 请求本地的 markdown 文档文件来获得博客数据,并将其动态的展现在 Html 页面当中。 实例地址 http://norcia.dujun.eu.org 实例配置 配置 描述 系统 Debian 开发环境服务端 Go 1.20 服务器 Nginx 程序 Norcia 实例部署 权限要求 具有系统读写权限 已安装 Nginx 安装程序 仓库地址:https://github.com/Besfim/Norcia #克隆代码 git clone https://github.com/Besfim/Norcia.git cd Norcia #编辑 .md 文档放入 document 目录 #更新文档 chmod +x Norcia_linux_amd64 ./Norcia_linux_amd64 实例体...

2023-12-08

开源实例之ETBlog

etblog-example封面
前言 Extremely tiny static blog generator written in Ruby 实例地址 http://etblog.dujun.eu.org 实例配置 配置 描述 系统 Debian 开发环境服务端 Ruby 2.7 服务器 Nginx 程序 ETBlog 0.1.2 实例部署 权限要求 具有系统读写权限 已安装 Ruby 已安装 Nginx 安装程序 仓库地址:https://github.com/tenfensw/etblog #安装 ETBlog sudo gem install etblog -N #创建项目 etblog init #创建 post-*.md 文件 #生成静态文件 etblog build 实例体验 进入实例深度体验 后记 本实例仅供参考,不定期重置数据。 体验更多开源实例

2023-12-08

开源实例之beatrice

beatrice-example封面
前言 A simple static blog generator written in Go. 实例地址 http://beatrice.dujun.eu.org 实例配置 配置 描述 系统 Debian 开发环境服务端 Go 1.20 服务器 Nginx 程序 beatrice 实例部署 权限要求 具有系统读写权限 已安装 Go 已安装 Nginx 安装程序 仓库地址:https://github.com/pprobst/beatrice #克隆代码 git clone https://github.com/pprobst/beatrice.git cd beatrice #编译程序 go build -buildvcs=false #生成静态文件 ./beatrice 实例体验 进入实例深度体验 后记 本实例仅供参考,不定期重置数据。 体验更多开源实例

2023-12-08

开源实例之Bloggen.Net

bloggen-net-example封面
前言 Dotnet core static blog generator based on markdown, YAML front matter and Handlebars.NET 实例地址 http://bloggen-net.dujun.eu.org 实例配置 配置 描述 系统 Debian 开发环境服务端 .NET 3.1 服务器 Nginx 程序 Bloggen.Net 1.4.0 实例部署 权限要求 具有系统读写权限 已安装 .NET 已安装 Nginx 安装程序 程序仓库:https://github.com/codernr/bloggen-net 示例仓库:https://github.com/codernr/blog-source 模版仓库:https://github.com/codernr/startbootstrap-clean-blog #下载程序包 wget...

2023-12-08

五月天假唱事件

五月天假唱这个破事在热门新闻一周了,让我想起一些事情。 跟五月天有关的有两件事我误会了很久。首先“五月天”这个名字我先是从成人网站知道的,所以公共媒体说五月天的时候我还挺奇怪;其次当人们说阿信我以为说的是唱“one night in beijing”的信乐团的信(苏见信)。后来知道五月天是个很火的乐队也是因为两件事情。一是有一年的吐槽大会信是嘉宾,别人吐槽他是“没有阿的信”;二是周杰伦跟五月天合作了一首歌。 关于五月天,标签是摇滚乐团。从我被动听过的他们的歌来说,没有感受到摇滚,都是流行口水歌。难怪也被称为“摇滚耻辱”。 关于五月天的阿信,我很长时间震惊于信不如他火。在我看来信是有唱功的,而阿信唱歌像鼻炎鼻子不通气,瓮声瓮气听起来很难受。 关于五月天假唱,从一些视频资料来看是实锤。应该也是惯犯,只是不知道这次哪路推手下场搞他们了。 关于演唱会,作为观众期待的不是完美的演出,而是不一样的演出...

2023-12-07

开源实例之nanogen

nanogen-example封面
前言 A very small static site generator written in Python. 实例地址 http://nanogen.dujun.eu.org 实例配置 配置 描述 系统 Debian 开发环境服务端 Python 3.9 服务器 Nginx 程序 nanogen 2.1.2 实例部署 权限要求 具有系统读写权限 已安装 Python 已安装 Nginx 安装程序 程序仓库:https://github.com/epochblue/nanogen 示例仓库:https://github.com/epochblue/blog #安装 nanogen pip install nanogen #克隆代码 git clone https://github.com/epochblue/blog.git cd blog #新建文章 nanogen new "滕王阁序...

2023-12-06

开源实例之Trio

trio-example封面
前言 Trio is a fast, simple yet powerful JavaScript-driven static site generator. Trio's unique approach to extending your pages with dynamic content using its tag-based callback mechanism makes it stand out from other static site generators, which rely on either templating engines or frameworks. 实例地址 http://trio.dujun.eu.org 实例配置 配置 描述 系统 Debian 开发环境服务端 Node.js 16 服务器 Nginx 程序 Trio 6.1.0 实例部署 权限要求...

2023-12-06

开源实例之yasbe

yasbe-example封面
前言 YASBE,Yet Another Static Blog Engine 实例地址 http://yasbe.dujun.eu.org 实例配置 配置 描述 系统 Debian 开发环境服务端 Python 3.9 服务器 Nginx 程序 yasbe 实例部署 权限要求 具有系统读写权限 已安装 Python 已安装 Nginx 安装程序 仓库地址:https://github.com/underr/yasbe #安装依赖 apt install python3-toml python3-mistune python3-mako #克隆代码 git clone https://github.com/underr/yasbe.git cd yasbe #复制配置文件 cp config_ex.toml config.toml #生成静态文件 python3 yasbe.py 实例体...

2023-12-06

分页: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58