Skip to content

Instantly share code, notes, and snippets.

View makotot's full-sized avatar
👓

Makoto Tateno makotot

👓
View GitHub Profile
@makotot
makotot / invariantErrorCodes.js
Created January 19, 2021 07:09
@apollo/client/invariantErrorCodes.js (v3.3.7)
cat node_modules/@apollo/client/invariantErrorCodes.js
// This file is meant to help with looking up the source of errors like
// "Invariant Violation: 35" and is automatically generated by the file
// @apollo/client/config/processInvariants.ts for each @apollo/client
// release. The numbers may change from release to release, so please
// consult the @apollo/client/invariantErrorCodes.js file specific to
// your @apollo/client version. This file is not meant to be imported.
{
"@apollo/client version": "3.3.7",
import { Centered } from 'undecorated'
<Centered>
 <SomethingYouWantToCenter />
</Centered>
@makotot
makotot / 0_reuse_code.js
Last active August 29, 2015 14:14
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@makotot
makotot / eslint-memo.md
Last active August 29, 2015 13:58
eslint memo

The pluggable linting utility for JavaScript

JSHintJSLintはユーザ独自のルールを追加することはできないけれど、ESLintは完全に全てのルールがプラガブルになるようデザインされている。

Install

$ npm install -g eslint
@makotot
makotot / gorillascript.md
Created December 30, 2013 19:11
GorillaScript

GorillaScript

Install

$ npm i -g gorillascript

Run

@makotot
makotot / vim_pass_manager.md
Created November 28, 2013 01:30
vimでパス管理
$ vim -x ~/.passwords

in .vimrc

set cryptmethod=blowfish
@makotot
makotot / assemble_doc.md
Last active December 28, 2015 23:29
Assemble doc
@makotot
makotot / informer.js
Created November 3, 2013 12:20
informer
$('#nav').informer();
@makotot
makotot / internal_link.html
Last active December 27, 2015 07:19
internal link