aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTianhao Wang <tianhao.wang2@mailbox.tu-dresden.de>2023-10-14 01:15:42 +0200
committerTianhao Wang <tianhao.wang2@mailbox.tu-dresden.de>2023-10-14 01:15:42 +0200
commit1dfd2937281beec222121da45a242012988d0b86 (patch)
treee1e48bfe6e06b9f14332eaf3bda5314c628e0ce0
parentd0965bf6c716a6448a3028b11e99b53ab75ea30a (diff)
add .json to ignore
-rw-r--r--.gitignore1
-rw-r--r--tl.json1
2 files changed, 1 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 8f59883..e289ae9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
*.secret
__pycache__
mastodon
+*.json
diff --git a/tl.json b/tl.json
deleted file mode 100644
index a2a35e6..0000000
--- a/tl.json
+++ /dev/null
@@ -1 +0,0 @@
-[{"account": "shrik3", "content": "养成了开始写新代码之前先写makefile的习惯 ...", "created_at": "10/13/2023", "url": "https://vnil.de/notice/AajDwnPUVCfhjusKsi"}, {"account": "shrik3", "content": "https://shrik3.com/post/tab_or_space/关于tab vs space 缩进。。", "created_at": "10/13/2023", "url": "https://vnil.de/notice/AajB440WtNZJNcyR2u"}, {"account": "shrik3", "content": "随机点开了一个b首页推广的二次元(买量+换皮)手游… 着实震惊,原画是ai做的,甚至角色配音都是ai.", "created_at": "10/13/2023", "url": "https://vnil.de/notice/Aaitl3GDkLwOLBf5k0"}, {"account": "shrik3", "content": "> In November 2020, PHP 8.0 introduced a JIT compiler.:pika:", "created_at": "10/13/2023", "url": "https://vnil.de/notice/AaiqIeid6DCIFriZzU"}, {"account": "shrik3", "content": "@pi it's I think the \"pro\" version is 200? IELTS costs the same price so I would say it's fair.https://www.lpi.org/exam-pricing/However the cost of training would be on another level", "created_at": "10/13/2023", "url": "https://vnil.de/notice/AaiD4OBDtfkoh6IZdI"}, {"account": "shrik3", "content": "我一直以为那种半生不熟的中英掺杂说话方式就是个图一乐的段子。没think到啊no想到,还真有人这么讲话的。。。", "created_at": "10/13/2023", "url": "https://vnil.de/notice/AaiCd4nxpECKmhOapc"}, {"account": "shrik3", "content": "我好奇,易语言自举吗?", "created_at": "10/13/2023", "url": "https://vnil.de/notice/AaiBGKPVXQngZNXsH2"}, {"account": "shrik3", "content": "@otakutyrant 大概率是编的。但仍然很搞(恐)笑(怖)。", "created_at": "10/13/2023", "url": "https://vnil.de/notice/Aai9QexVnKCbHrFVlg"}, {"account": "shrik3", "content": ":parrot_norwegian-blue:", "created_at": "10/12/2023", "url": "https://vnil.de/notice/AahoxzkPQS6mHTAtW4"}, {"account": "shrik3", "content": "@Stain 有什么新鲜的瓜", "created_at": "10/12/2023", "url": "https://vnil.de/notice/Aahn7xTcWVoCE2wemm"}, {"account": "shrik3", "content": "@pi actually this could be a nice collection of pointers...> https://q2dg.github.io/LPIC2/LPIC-2_LPIC_Study_Guide(2016).pdf", "created_at": "10/12/2023", "url": "https://vnil.de/notice/AagkyltrnliWeGklyi"}, {"account": "shrik3", "content": "这个低一档的 ida-home license, 365刀只能选一种架构。。。", "created_at": "10/11/2023", "url": "https://vnil.de/notice/AafRAN7BaNVj0pHGDo"}, {"account": "shrik3", "content": "@fulkrum 之前一直 gdb + objdump + hexdump + readelf + 纸糊脚本。今天用了一下ida-free之后就。。。。还是现代科技好用啊。。", "created_at": "10/11/2023", "url": "https://vnil.de/notice/AafQrzyGtYbe1LLYh6"}, {"account": "shrik3", "content": "ida pro 为啥这么贵 :(", "created_at": "10/11/2023", "url": "https://vnil.de/notice/AafQLvXxoEKN23kTgW"}, {"account": "shrik3", "content": "我这充满深仇大恨的vim config", "created_at": "10/11/2023", "url": "https://vnil.de/notice/AaeiCoKuqtWg51ULRY"}, {"account": "shrik3", "content": "AI 用 AI 生成的文案做了营销号视频,AI小助手在评论区总结了视频内容,AI 从评论区扒来文字喂进LLM 产出新的文案。", "created_at": "10/10/2023", "url": "https://vnil.de/notice/Aad0nBQhsX3qzElprM"}, {"account": "shrik3", "content": "Also I need to fetch all \"n newest statuses\" everytime I render the blog. This can be improved with a local cache.", "created_at": "10/10/2023", "url": "https://vnil.de/notice/AacrFkqMnyVbO5l3QG"}, {"account": "shrik3", "content": "I played with hugo \"data template\" a little bit, and this is how it works:- I have a dummy account following myself. A python script logs into that account and fetch the timeline. The script is adapted from our \"cat bot\"- The fetched data is filtered, sanitized and parsed, then saved into hugo's data dir (i.e. site/data/tl.json)- A hugo template renders the data into html..- Wrap everything into one single script: fetch timeline data, render blog, sync to server...)This is also a proof-of-concept of my static comment system design, I can implement comments in the same way. The biggest problem is that **this won't scale** wrt. number of pages and number of comments. But for now I'll just make something that works.", "created_at": "10/10/2023", "url": "https://vnil.de/notice/Aacr4EcAI8u0FHcd9s"}, {"account": "shrik3", "content": "写了个纸糊脚本,把自己的public status 渲染进静态博客了。(只显示我自己的发的,可见度为public的东西,带有回复的隐去上下文和被@ 用户的完整id)纯静态评论系统指日可待。https://shrik3.com/timeline/", "created_at": "10/10/2023", "url": "https://vnil.de/notice/AacosFPvHYYbLq3J3o"}, {"account": "shrik3", "content": "@pi attempts in that direction will end up in another javascript, I think.", "created_at": "10/09/2023", "url": "https://vnil.de/notice/AabeuQ0rfH1c5plgDQ"}, {"account": "shrik3", "content": "@pi from a more radical view it's not ethical to run *ANY* script on the client side without user's consent. So (for this use case) it's not js who redeems itself, it's php.", "created_at": "10/09/2023", "url": "https://vnil.de/notice/AabdUXIrpwj1DjHcGW"}, {"account": "shrik3", "content": "@yowai_lo Arganöl 你值得拥有", "created_at": "10/09/2023", "url": "https://vnil.de/notice/Aabd5e2tdE7stMwZeK"}, {"account": "shrik3", "content": "@pi because two pages with different themes should be logically identical.With subdomains two such posts are identified by the same relref.", "created_at": "10/09/2023", "url": "https://vnil.de/notice/AabciBIAN4nz3Ntiwi"}, {"account": "shrik3", "content": "一个危险的发型?", "created_at": "10/09/2023", "url": "https://vnil.de/notice/AabcBtcUXZVgyg0ggC"}, {"account": "shrik3", "content": "盲盒巧克力开到小鸟", "created_at": "10/09/2023", "url": "https://vnil.de/notice/Aab0nW4AlPrMfpT9iC"}, {"account": "shrik3", "content": "@pi Yeah I tried this before, I have two subdomains for my blog and I render the site with different configs… It was too ugly and soon became a mess.e.g. some content are externally managed:shrik3.com/misc/certs/gpg_full_pub.asc\nand … alternative_theme.shrik3.com/misc/certs/gpg_full_pub.asc\nIt’s hard to manage the references across different subdomains i.e. themes. And at the end of the day your web server needs to point two domain names to different document root, but for externally managed stuffs it needs exceptions …", "created_at": "10/09/2023", "url": "https://vnil.de/notice/AaaroE7i3sUlj7O6Cm"}, {"account": "shrik3", "content": "@rocket 能不能用一个按钮切换 。。", "created_at": "10/07/2023", "url": "https://vnil.de/notice/AaWo0pG4dymfvODEZM"}, {"account": "shrik3", "content": "can you switch a web page's color scheme without using javascript?", "created_at": "10/07/2023", "url": "https://vnil.de/notice/AaWjbiGH7YeXAV4nUe"}, {"account": "shrik3", "content": "博客主题施工完毕: shrik3.com", "created_at": "10/06/2023", "url": "https://vnil.de/notice/AaVNUqFKdvcjkvzfg8"}, {"account": "shrik3", "content": "更新了一下博客主题 :dinosaur:", "created_at": "10/06/2023", "url": "https://vnil.de/notice/AaUsjTwMlEo6L9cj4K"}, {"account": "shrik3", "content": "@pi or better: both", "created_at": "10/05/2023", "url": "https://vnil.de/notice/AaTHQp1sEp1mmXTl6e"}, {"account": "shrik3", "content": "fluff : end of the war between compiled and interpreted languages -- I present to you: human as a language runtime. https://shrik3.com/post/human_as_runtime/well it's just a \"FML\" type of post.", "created_at": "10/05/2023", "url": "https://vnil.de/notice/AaSsnKbp0YjGF2viHw"}, {"account": "shrik3", "content": "理中客眼里的自己:立场中立,理性分析。实际上的理中客:根据需要自由选择立场,两边的便宜都要占。", "created_at": "10/04/2023", "url": "https://vnil.de/notice/AaQ6nDD9KTNXBJLaEa"}, {"account": "shrik3", "content": "linker script.bss 如果不放在最后的话,ld就会无视NOLOAD (WTFFF), 导致stack和heap给的越大[1],程序读取就越慢。[1] 一个简单的嵌入式系统,heap和stack都是大小不变的,用nasm resb 在 .bss 里预留的空间。", "created_at": "10/03/2023", "url": "https://vnil.de/notice/AaOh0AVXtov4azVdy4"}, {"account": "shrik3", "content": "怎么会有人tm在c函数里弄一个大小将近1M的数组啊?嫌栈太多了用不完是吧.....", "created_at": "10/03/2023", "url": "https://vnil.de/notice/AaObhiJjTNXOBHMfK4"}, {"account": "shrik3", "content": "@pi 我书架上还有瓶陈年野格 :0_oooo:", "created_at": "10/03/2023", "url": "https://vnil.de/notice/AaOVwBxJTWxGQqOlxw"}, {"account": "shrik3", "content": "区区几十万行代码,哼。:blobcat_daradara:", "created_at": "10/02/2023", "url": "https://vnil.de/notice/AaMlq2rnZ56fSKzSQi"}, {"account": "shrik3", "content": "就算不加sudo也应该打死。。。每次看到这种教程就来气。", "created_at": "10/02/2023", "url": "https://vnil.de/notice/AaLuhBv5F2XTMAQ5js"}] \ No newline at end of file