Skip to content

Instantly share code, notes, and snippets.

View shibacomputer's full-sized avatar
🐕
WHAT'S HAPPENING?

Cade shibacomputer

🐕
WHAT'S HAPPENING?
View GitHub Profile
# focus window
home : yabai -m window --focus west
pagedown : yabai -m window --focus south
pageup : yabai -m window --focus north
end : yabai -m window --focus east
# swap window
shift + alt + ctrl - home : yabai -m window --swap west
shift + alt + ctrl - pagedown : yabai -m window --swap south
shift + alt + ctrl - pageup : yabai -m window --swap north
var html = require('choo/html')
var log = require('choo-log')
var choo = require('choo')
var app = choo()
app.use(log())
app.use(validStore)
app.route('/', mainView)
app.mount('body')
const html = require('choo/html')
const pell = require('pell')
module.exports = editor
function editor (state, emit) {
var el, editor
init()

Keybase proof

I hereby claim:

  • I am shibacomputer on github.
  • I am cade (https://keybase.io/cade) on keybase.
  • I have a public key ASCJ9dPEEPQImImkuEyezeHuDgKEPr9BtsFWioKmC8CGmAo

To claim this, I am signing this object:

{
"name": "deposits",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "budo index.js:bundle.js -- -p livereactload"
},
"author": "",
"license": "ISC",
const opts = {
debug: process.env.NODE_ENVIRONMENT !== 'production',
verbose: true,
live: true,
stream: process.stdout,
pushstate: true,
browserify: {
transform: [ 'sheetify/transform' ],
}
}
function populateSidebar(filesystem) {
return filesystem.map( (item) => {
var files, dirs
items.map( (item.subdirs) => {
dirs += = '<button class="fsItem dir">${f.name}</button>'
})
items.map( (item.files) => {
files += = '<button class="fsItem file">${f.name}</button>'
})
state.dirs = [
0: [
name: "/",
files: [
0: [
name: "entry.txt.gpg",
type: "text/gpg",
uri: "/Users/shibacomputer/Txt/entry.txt.gpg"
],
1: [
const remote = window.require('electron').remote
const settings = remote.require('electron-settings')
module.exports = createModel
function createModel() {
return {
namespace: 'global',
effects: {