Skip to content

Instantly share code, notes, and snippets.

View matobaa's full-sized avatar
🏠
Working from home

Akihiro MATOBA matobaa

🏠
Working from home
View GitHub Profile
@matobaa
matobaa / default_homeend.json
Last active December 27, 2019 04:57
keymap.json with home/end/PgUp/PdDn; for https://config.qmk.fm/#/nomu30/LAYOUT
{
"keyboard": "nomu30",
"keymap": "default_homeend",
"layout": "LAYOUT",
"layers": [
[ "KC_Q", "KC_W", "KC_E", "KC_R", "KC_T", "KC_Y", "KC_U", "KC_I", "KC_O", "KC_P", "KC_BSPC",
"LCTL_T(KC_TAB)", "KC_A", "KC_S", "KC_D", "KC_F", "KC_G", "KC_H", "KC_J", "KC_K", "KC_L", "RCTL_T(KC_ENT)",
"LSFT_T(KC_DOT)", "KC_Z", "LALT_T(KC_X)", "LGUI_T(KC_C)", "LT(2,KC_V)", "LT(3,KC_B)", "LT(1,KC_N)", "KC_M", "RSFT_T(KC_SPC)"
], [
"KC_1", "KC_2", "KC_3", "KC_4", "KC_5", "KC_6", "KC_7", "KC_8", "KC_9", "KC_0", "KC_GRV",
@matobaa
matobaa / AsyncAwaitInIE11WithBabel.html
Last active March 6, 2019 14:26
async/await in IE with babel
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.26.0/babel.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/6.26.0/polyfill.js"></script>
</head>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Marked reader</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="css/style.css" />
<script src="js/marked.js"></script>
@matobaa
matobaa / decolator.py
Last active July 17, 2023 15:13
decolator
try:
from functools import wraps
except:
wraps = lambda w: lambda f: f
def wrap(func):
@wraps(func)
def wrapper(*args, **kw):
return "[%s]" % func(*args, **kw)