<< Prev | 2023 | Next >>

20230204

这周发生了啥?

待办列表

var content_Table = "";
Array.prototype.slice.call(document.getElementsByTagName("h4"))
  .forEach(function(title, index){
      content_Table += '- ' + title.innerHTML + '\n';
  });
console.log(content_Table);
tablen = 4 # via: https://github.com/zhouie/github-md-toc/blob/master/github-md-toc.py
with open(file, 'r') as f:
    lines = f.readlines()
#FIXME: is there more effective way???
with open(file, 'w') as f:
    for line in lines:
        matches = re.findall(r'(^#{1,6}) (.*)', line)
        if matches:
            h_level = len(matches[0]\[0])
            h_title = matches[0]\[1].strip()
            indent = ' ' * (tablen * (h_level - 1))
            md_link = re.sub(r' ', '-', re.sub(r'[^\d\w ]', '', h_title)).lower()
            f.write(('%s- [%s](#%s)') % (indent, h_title, md_link)+'\n')
    f.write('\n\n')
    for line in lines:
        f.write(line)
f.close()
7z x *.rar -p"{Pas

via: - 7-Zip Documentation

  • why not have space

  • I notice the robustness of software function, wy might be dropped by something reason we don’t know now. So we should use the least function software support us. Just our tools created. So don’t tidy up your application data. Use your self host tool.

    • Luckily, nowadays a lot of free services was supplied by companies, we could visit our page in everywhere. It’s freedom! That why I using the notes and hyperlinks to dominate my life. That’s the simplest and meanwhile the most powerful tools!
  • I notice the increase of numbers, in logseq plugin market. Honestly, I am proud of I use it when it just released several years ago. But I am feel said, I have a lot of idea similar to others, but I have not developed it. I don’t understand js and typescript. Sometime I feel myself like a the top of useless users. I am schema with that I could not contribute with this open-source software. At least I am not found a good way to engage it. Maybe latter, I really want to do something except using it.

    • This text is about the author’s feelings when observing the growth of the Logseq plugin market and how they feel that they cannot contribute to open-source software due to their lack of knowledge on things like JavaScript and TypeScript. They feel like a “top of useless users” and wish to do something to contribute in the future.
  • canceled 爬虫

  • canceled 写一个监听输入, 自动替换特殊符号的后台脚本 idea

    description: 我改变了坚持了四年的中文输入习惯

    • 因为我发现在有限字符的场景下还是中文特殊字符的效率最高, 但是我讨厌频繁的切换输入法;
    • 我已经忘记了我为什么要用一直用半角自负了, 明明按一个 Shief 就能切换的事情, 但是自己还是想要节省这方面的时间; 那个时候 中文输出>英文输出, 所以会这样想, 现在不一样了, 要是英文输出的话压根就不想切回中文. 至少至此我挑输入法的时候减少一个充分条件, 这样的发现也不赖 #fake/demand

人类一思考,上帝就发笑

沙发土豆的自我修养

这周有什么多快好省的东西吗?

多快好省

https://img.shields.io/website?down_message=down&up_message=up&url=https://blog.bgzo.cc
https://img.shields.io/website?down_message=down&up_message=up&url=https://dandelionflowers.xyz