Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 199
  1. In order to get enough information from videos, we often need to extract video frames.

  2. Download Files to Local Storage in iPad

    When downloading files using Safari browser in iPad, the files will be saved on your iCloud drive.

  3. Using STL Containers with pybind11

    In my old post, I have shared how to use pybind11 to accelerate execution of Python code.

  4. I have a file where each line has several comma-separated items.

  5. When dealing with videos, we may want to process video in a specific time range, for example, to only process video from 50 seconds to 70 seconds.

  6. 回顾我的手机换代史

    科技发展的这样快,常常让我们忘了以前是什么样的。

  7. 【2021 年】iPad 安装 Shadowrocket

    在苹果系统上安装一个工具真麻烦,简单总结如何在 iPad 上安装 Shadowrocket 小火箭。

  8. Migration from Nvim 0.5.1 to Nvim 0.6.0

    About five months ago, the biggest update of Nvim comes with its v0.5.0 release.

  9. How I Manage My Personal Blog

    In this post-web2.0 age, people seem to blog less and less, and blogs seem to be dying slowly.

  10. Git Learning Notes (4)

    My Git learning notes.

  11. This is the 11th post of my post series on nifty Nvim/Vim techniques that will make my editing experience easier.

  12. Fuzzy-switching Tmux Sessions with Ease

    During my work, I use multiple Tmux sessions to manage different projects.

  13. 事情经常是 Now or Never

    我平时用 chrome 浏览器,有时候查一个新东西,喜欢把有关系的网页都打开,所以浏览器就塞满了 tab,这些内容我不一定都有时间去看一遍,所以 tab 就一直留在那里,有时候不得已要重启浏览器或者重启系统,不想丢失这些 tab,就用 supertabs 插件把 tab 保存下来,期望有时间了再去看。

  14. 小米平板 5 Pro 体验

    kindle voyage 看 PDF 格式电子书体验太差,正好八月份小米发布了小米平板 5 pro,小米平板 5 销售还挺火爆的,京东上一直断货,需要预约,遂从小米之家入手一台体验1。

  15. Audio Processing Using FFmpeg

    Collected tips on audio processing with FFmpeg.

  16. PyAV for video processing

    ffmpeg is an excellent tool for video processing.

  17. 茅海建 《天朝的崩溃》

    花了一周的时间,看完了茅海建的《天朝的崩溃》,虽然中学历史书中简略讲过第一次鸦片战争,对这段历史了解却甚少,我甚至天真地以为鸦片战争就是虎门战争之后就和谈了,然后签订了《南京条约》。

  18. Using Diffs in Vim

    Diff can be used to compare two versions of the same file to find the changes.

  19. Git Diff Setup

    When we run git-diff, git uses its internal diff algorithm to generate diff for changed files.

  20. Find Which Font is Used in A PDF

    Sometimes, we are interested in which font is used for the main text in a PDF.

  21. Scheduling Your Tasks with Apscheduler

    In Python, to run a task periodically, we can use the package apscheduler.

  22. In classification tasks, the de facto loss to use is the cross entropy loss.

  23. Setting up Yasnippet for Emacs

    Unlike Vim/Neovim, where there are snippet engines like ultisnips and other plugins.

  24. Customize Tabline in Emacs

    A short note on how to set up a more beautiful tabline for Emacs.

  25. 中秋贵阳重庆行

    趁着中秋节小长假,去重庆和贵阳玩了几天。

  26. update log 2022-02-08: update fastgit URL I am using straight.el to manage my Emacs packages.

  27. Learning Emacs as A Nvimmer in One Day

    update log 2021-11-24: Add more detailed instructions for installing doom-modeline.

  28. Hands on with Three Git TUI Clients

    If you are not accustomed to typing git commands on the command line, there are also some TUI clients for easing the use of git.

  29. Using Virtual Text in Neovim

    In Neovim, we can use the virtual text feature to place virtual text anywhere in the current buffer, which is not possible with normal text.

  30. 老北京炸酱面制作

    总结一下老北京炸酱面的制作过程,备忘。

  31. I want to print the largest number that unsigned int can represent, which is 2^32 - 1.

  32. GNU Make FAQ

    GNU Make is a build automation tool typically used on Linux systems1.

  33. 问题根源是什么?

    一件关于思维的小事,值得记录。

  34. Pybind11 hands on

    To accelerate the execution of some performance critical code, we can write the code in C++ with the help of pybind11 and export the C++ code as shared library1.

  35. 建立博客以来,试用了多款评论系统,不过最终还是用了 disqus,但是 disqus 令人讨厌的是默认添加很多烦人的广告,牛皮癣一样,而且在国内无法加载,必须翻墙才能显示。

  36. macOS Operation Not Permitted?

    Some permission related issue on macOS.

  37. Update log 2022-08-13: update nvim lsp config for lua-language-server.

  38. Is GitHub Down Today?

    update: On 2021-11-28, we expericence another GitHub outage which lasts more than two hours, see here.

  39. macOS 上常用工具

    点击查看更新记录 2022-03-07:增加 shotrr 2022-02-10: 增加 wezterm 介绍 记录我在 macOS 下常用到的工具。

  40. Configure Windows Terminal in 2021

    After updating my Windows system to the latest version, I can finally use the new Windows Terminal.

  41. Google introduced the content ID system in 2007 to cope with the unauthorized use of copyrighted music and video content.

  42. 基于内容的视频检索(或视频指纹),是指根据视频内容,从数据库中找到和当前视频在画面上重复高的视频。

  43. 向量搜索引擎/工具

    无论是推荐还是检索任务,都离不开向量检索引擎,当向量数量巨大(上千万或者上亿规模)的时候,使用精确搜索(exhaustive search)的时间成本对于用户来说无法接受,这时我们必须用到近似最邻近搜索(approximate nearest neighbor, 简称 ANN)。

  44. Show Git Diff When Doing Git Commit

    I saw on YouTube a video made by TJ DeVries on how to contribute to the neovim project.

  45. We have a Python web service where we store some key-val pairs in redis.

  46. Migrating from vim-plug to Packer.nvim

    Update log 2022-03-27: fix a typo in requiring lua modules 2022-02-08: change fastgit URL 2022-02-05: add new autocmd for auto-running command PackerCompile.

  47. 快排(quick sort) C++ 实现

    快排是一种快速排序算法,原理是从数组中选择一个 pivot,数组中小于等于 pivot 的元素放到左边,大于 pivot 的元素放到右边。

  48. I use Python in my work, and rarely need C++.

  49. Static and Dynamic Linkage in C++

    In C++, we can build a library either statically or dynamically.