Skip to content

Instantly share code, notes, and snippets.

View devonzuegel's full-sized avatar
💖
I've gone to look for myself. If I return before I'm back, please ask me to wait

Devon Zuegel devonzuegel

💖
I've gone to look for myself. If I return before I'm back, please ask me to wait
View GitHub Profile
// NOTE: `super` corresponds to `command`
[
// Utils.
{ "keys": ["super+shift+i"], "command": "reindent"},
{ "keys": ["alt+up"], "command": "move_to", "args": {"to": "bol", "extend": false} },
{ "keys": ["alt+down"], "command": "move_to", "args": {"to": "eol", "extend": false} },
// Evernote hotkeys.
{ "keys": ["super+shift+o"], "command": "open_evernote_note" },
{ "keys": ["ctrl+super+s"], "command": "save_evernote_note" },

Keybase proof

I hereby claim:

  • I am devonzuegel on github.
  • I am devonz (https://keybase.io/devonz) on keybase.
  • I have a public key whose fingerprint is 7EC8 3CA5 EA18 1B86 9F78 6363 7317 178A F0B8 32B1

To claim this, I am signing this object:

@devonzuegel
devonzuegel / overcast.json
Created August 23, 2016 22:52
Podcast subscriptions (as of Aug 2016)
[
{
"title": "BackStory with the American History Guys",
"xmlUrl": "http://feeds.feedburner.com/BackStoryRadio",
"htmlUrl": "http://www.backstoryradio.org/"
},
{
"title": "Open Source with Christopher Lydon",
"xmlUrl": "http://radioopensource.org/feed/",
"htmlUrl": "http://radioopensource.org/"
####################################################################################################
## ls ##############################################################################################
####################################################################################################
# Flags:
# -G: default colors, different for directories vs. files
# -F: includes a trailing `/` at the end of directory names
# -l: display long format (file types, permissions, number of hard
# links, owner, group, size, last-modified date, and filename)
# -t: sort the list of files by modification time
@devonzuegel
devonzuegel / .hyper.js
Created June 7, 2017 05:13
My Hyper terminal config
// // -- hyper-stylesheet-hash:3668d1255e9fc3fde9cd8c87cbdeb358 --
// /**
// * Future versions of Hyper may add additional config options,
// * which will not automatically be merged into this file.
// * See https://hyper.is#cfg for all currently supported options.
// **/
module.exports = {
config: {
/** Default font size in pixels for all tabs. **/
// NOTE: `super` corresponds to `command`
[
// Utils.
{ "keys": ["super+shift+i"], "command": "reindent"},
{ "keys": ["alt+up"], "command": "move_to", "args": {"to": "bol", "extend": false} },
{ "keys": ["alt+down"], "command": "move_to", "args": {"to": "eol", "extend": false} },
// Open current file in Marked
{ "keys": ["super+shift+m"], "command": "marked" },
@devonzuegel
devonzuegel / MyConfig-1.d.ts
Last active June 18, 2017 00:20
Unambiguous Webpack config with Typescript
import * as webpack from 'webpack'
export interface MyConfig extends webpack.Configuration {
resolve: webpack.NewResolve
}
interface Foo {
bar: string|number
}
interface Baz extends Foo {
bar: string
}
const qux: Foo = {bar: 1} // Good
const corg: Baz = {bar: 1} // TypeError: Types of property 'bar' are incompatible
import * as webpack from 'webpack'
export interface MyConfig extends webpack.Configuration {
resolve: webpack.NewResolve
}
import * as webpack from 'webpack'
interface Config extends webpack.Configuration {
module: {
rules: webpack.NewUseRule[]
}
}
const config: Config = {
module: {
rules: [{