Skip to content

Instantly share code, notes, and snippets.

@xtuer
xtuer / ctrlDoublePress.lua
Created February 2, 2023 05:42 — forked from asmagill/ctrlDoublePress.lua
Capture double tap of Ctrl in Hammerspoon
local alert = require("hs.alert")
local timer = require("hs.timer")
local eventtap = require("hs.eventtap")
local events = eventtap.event.types
local module = {}
-- Save this in your Hammerspoon configuration directiorn (~/.hammerspoon/)
-- You either override timeFrame and action here or after including this file from another, e.g.
@xtuer
xtuer / doc.md
Last active December 31, 2018 01:42
文档模板 #Vue

进行一些说明, 例如背景等

使用

使用案例

参数

属性 说明 类型 默认值
@xtuer
xtuer / f_ck.java
Last active December 19, 2018 01:42
Buda #Java
public static void main(String[] args) {
}
@xtuer
xtuer / f_ck.cpp
Last active December 19, 2018 01:51
QSS #Qt
int main(int argc, char **argv) {
}
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@xtuer
xtuer / packages.json
Created July 25, 2018 06:25
Atom Settings
atom