Skip to content

Instantly share code, notes, and snippets.

@overcache
overcache / machine.js
Last active August 10, 2022 06:25
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@overcache
overcache / cvim setting
Last active July 11, 2019 02:07
cVim settings
set showtabindices
@overcache
overcache / hs.lua
Last active January 13, 2017 12:23
hs.hotkey.bind(hyper, "]", function()
hs.window.focusedWindow():setFullScreen(false)
hs.window.focusedWindow():moveToUnit(hs.layout.right50)
end)
hs.hotkey.bind(hyper, "[", function()
hs.window.focusedWindow():setFullScreen(false)
hs.window.focusedWindow():moveToUnit(hs.layout.left50)
end)
<snippet>
<content><![CDATA[
Hello, ${1:this} is a ${2:snippet}.
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>hello</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
<!-- <scope>source.html, source.javascript</scope> -->
<discription>My Snippets Demo.</discription>
@overcache
overcache / 0_reuse_code.js
Created July 6, 2016 06:17
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console