Garlic Space

LeetCode-Palindrome Pairs Solution

Given a list of unique words, return all the pairs of the _distinct_ indices (i, j) in the given list, so that the concatenation of the two words words[i] +…

2021-04-01 · 2 分钟

查询和清除文件系统缓存

为了减少磁盘I/O,加快读写速度,Linux内核使用文件系统的Cache,Page Cache。

2021-03-30 · 2 分钟

视频的版权识别与管理

昨天正在听一位老师的英语的直播课, 当时她正在用影片的片段讲解英文听力课,讲到一半的时候,直播中断了。 显示“​stream suspended for policy violations” 后来查了下资料才知道, 平台通过Connent ID系统的运作方式来识别和管理上传的视频和音频版权。 千亿美金的YouTube:…

2021-03-24 · 6 分钟

Effective Go - 1

为了减少格式化问题带来的争议,可以使用 gofmt 程序对源码进行格式化。

2021-03-07 · 2 分钟

LeetCode-Word Search II Solution

LeetCode-Word Search II Solution - Given an m x n board of characters and a list of strings words, return _all words on the board

2021-03-07 · 1 分钟

Linux跨文件系统的文件夹和文件映射关系

Everything is a file 是Unix的设计理念,由其派生的Linux也如此。

2021-03-06 · 5 分钟

mount操作导致磁盘数据丢失

cenos7X86_64 + openssh

2021-03-02 · 2 分钟

DIY esp8266 小盒子

前些天看到用esp8266开发的小盒子,按照教程 作者提供了3D模型 我是使用速加网打印的, 质量和价格还不错,大概20元左右不含运费。 可能芯片规格不一样, 如果有打印机的话可以根据芯片尺寸,把盒子厚度加大一些。 主要是两个芯片: 1. ESP8266 D1 Mini:这个普通就可以, 10元左右。 2. 0.96…

2021-02-28 · 3 分钟

LeetCode-Maximum XOR of Two Numbers in an Array

Given an integer array nums, return _the maximum result of nums[i] XOR nums[j]_, where 0 ≤ i ≤ j < n. Follow up: Could you do this in O(n) runtime? Example 1…

2021-02-27 · 1 分钟

比特币,区块链与自由软件

这篇文章 Open source money: Bitcoin, blockchain, and free software

2021-02-24 · 4 分钟