Skip to content

Instantly share code, notes, and snippets.

View kaave's full-sized avatar

Kyousuke Abe kaave

View GitHub Profile
@kaave
kaave / keymap.c
Last active August 15, 2016 23:24
My Ergodox keymap
// Netable differences vs. the default firmware for the ErgoDox EZ:
// 1. The Cmd key is now on the right side, making Cmd+Space easier.
// 2. The media keys work on OSX (But not on Windows).
#include "ergodox_ez.h"
#include "debug.h"
#include "action_layer.h"
#define BASE 0 // default layer
#define SYMB 1 // symbols
#define MDIA 2 // media keys
@kaave
kaave / Vagrantfile
Created April 22, 2016 22:38
Vagrant rsync setting for Phoenix Framework
Vagrant.configure(2) do |config|
config.vm.synced_folder './sync',
'/var/sync',
type: 'rsync',
# 標準の設定から[--delete]のみ除外
rsync__args: ['--verbose', '--archive', '-z', '--copy-links'],
rsync__exclude: ['.DS_Store', '.git/', 'deps/', '_build/', 'node_modules/']
end
@kaave
kaave / index.html
Created April 19, 2016 22:56
bl.ocks.org test
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
HELLO bl.ocks.org
</body>
</html>
# 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 ->