通过 -daemon 参数让 Emacs 在后台运行使之避免随 X 崩溃而退出
我的 X server 有时会停止响应,这时我不得不将之杀掉再重启,也许是我的配置有问题,每次 X server 启动时,一开始分辨率总是很低(since it starts …
C++ Coroutine 协程 async scope
之前的章节只是讲解了协程中的各种概念,本章我们来实现一个 async scope,即一个可以在其中使用 co_await 和 co_return 的函数,最后我们要在这个基…
Netsh persistence
About Common commands of netsh Matthew Demaske's way of using netshell to execute evil dlls and persist on a host Write a dll with the InitH…
IndexedDB 教程
IndexedDB 是一个基于 JavaScript 的面向对象的事务型数据库。有了 LocalStorage 和 Cookies ,为什么还要推出 indexedDB 呢?其实对于在浏览器里存储…
Google Guava Collections 使用介绍
Java Collections Framework 的非官方扩展 API Google Guava Collections 使用介绍 Google Guava Collections(以下都简称为 Guava Collections)是 J…
Jest JavaScript 单元测试工具
Jest 是一个 JavaScript 测试框架,由 Facebook 用来测试所有 JavaScript 代码,包括 React 应用程序。 不同级别的自动化测试:单元、集成、组件和功…
通过 in 和 hasOwnproperty 检测对象上是否有某个属性
var obj = {}; Object.defineProperty(obj, 'x', { value:7, writable:true, configurable:true, enumerable:true }) obj.x = 77; console.log(obj.x)…
- 共 1 页
- 1