Skip to content

Instantly share code, notes, and snippets.

@umezo
umezo / umezo-keymap-redox.json
Last active June 24, 2021 08:30
redox keyboard keymaps
{
"version": 0,
"notes": "",
"documentation": "\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json1c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n",
"keyboard": "redox/rev0",
"keymap": "redox_rev0_layout_mine",
"layout": "LAYOUT",
"layers": [
[
"KC_GRV",
  • コードネーム
  • Dropmix
  • カルカソンヌ
  • unlock1
  • unlock2
  • unlock3
  • unlock4
  • unlock5
  • unlock6
  • Dice Forge
@umezo
umezo / error.txt
Created November 10, 2018 08:14
VRMExporterエラー
ArgumentException: Bad array size for HumanPose.muscles. Size must equal HumanTrait.MuscleCount
UnityEngine.HumanPose.Init () (at C:/buildslave/unity/build/artifacts/generated/common/modules/Animation/HumanPoseHandlerBindings.gen.cs:26)
UnityEngine.HumanPoseHandler.SetHumanPose (UnityEngine.HumanPose& humanPose) (at C:/buildslave/unity/build/artifacts/generated/common/modules/Animation/HumanPoseHandlerBindings.gen.cs:99)
UniHumanoid.HumanPoseTransfer.SetPose (UnityEngine.Avatar avatar, UnityEngine.Transform transform, HumanPose pose) (at Assets/VRM/UniGLTF/UniHumanoid/Scripts/HumanPoseTransfer.cs:36)
UniHumanoid.HumanPoseTransfer.SetTPose (UnityEngine.Avatar avatar, UnityEngine.Transform transform) (at Assets/VRM/UniGLTF/UniHumanoid/Scripts/HumanPoseTransfer.cs:42)
VRM.BoneNormalizer.EnforceTPose (UnityEngine.GameObject go) (at Assets/VRM/Scripts/SkinnedMeshUtility/BoneNormalizer.cs:70)
VRM.BoneNormalizer.Execute (UnityEngine.GameObject go, Boolean forceTPose, Boolean clearBlendShapeBeforeNormalize) (at Asset
@umezo
umezo / async-await等価.js
Last active October 16, 2018 08:47
Promiseあれこれ
(function () {
const test = async () => {
await Promise.resolve();
return Promise.reject();
};
test().then(() => console.log("then"), () => console.log("reject"));
})();
(function () {
const test = () => {
@umezo
umezo / ithink.md
Last active June 15, 2018 06:15
面接で考えてたこと、やったこと、やらなかったこと

スーパーウルトラミラクルアナログです。

採用の目的

勝手に以下の5つだと思ってる

  1. 生産力の向上
  2. 生産性の向上
  3. チームバリューの増加
  4. 文化強化
  5. 意文化輸入
type Query = string | number | (any) => boolean;
type Collection<T> = Array<T> | {[key: string]: Collection<T>};
type Mapper<T> = (T) => T;
function update<T: Collection<any>>(collection: T, queryList: Query[], mapper: Mapper<any>): T {
const rootCollection = Array.isArray(collection) ? collection.slice() : _assign({}, collection);
if (queryList.length === 0) {
return mapper(rootCollection);
} else {
{
"ベリーハード - 人喰い沼": {
"sozai": {
"ブルーゲル": 24,
"青色の核": 12,
"レッドゲル": 24
},
"target": {
"スライム": 1,
"アゾスライム": 1
@umezo
umezo / .gitignore
Last active July 22, 2016 07:54
comprehension check for how work substitutions [hash] and [chunkhash]
node_modules/
dest/
@umezo
umezo / .gitignore
Last active July 22, 2016 07:26
comprehension check how work entry config specified with Array
node_modules/
dest/
@umezo
umezo / private.xml
Created July 13, 2016 04:31
Karabiner xml for Zelotes C12 gaming mouse
<item>
<name>zelotes key to mouse button</name>
<list>
<item>
<devicevendordef>
<vendorname>ZELOTES</vendorname>
<vendorid>0x04d9</vendorid>
</devicevendordef>
<deviceproductdef>
<productname>C12</productname>