Skip to content

Instantly share code, notes, and snippets.

View beijaflor's full-sized avatar

sho otani beijaflor

View GitHub Profile
// ドロワーを追加する1
drawer: MyNavigationDrawer(),
// ドロワーを追加する2
class MyNavigationDrawer extends Drawer {
@override
Widget build(BuildContext context) {
return Drawer(
child: ListView(
import test from 'tape';
// For each unit test you write,
// answer these questions:
test('What component aspect are you testing?', assert => {
const actual = 'What is the actual output?';
const expected = 'What is the expected output?';
assert.equal(actual, expected,
'What should the feature do?');
@beijaflor
beijaflor / test_helper.js
Created May 17, 2017 10:59
test helper for promise and vuex
// TEST PROMISE OBJECT TO BE FULFILLED OR REJECTED
// ---
// describe('promise', () => {
// it('should be fulfilled', () => {
// return shouldFulfilled(promise()).then((value) => {
// expect(velue).to.be.true
// })
// })
// })
//
@beijaflor
beijaflor / invisible-parts-of-CSS.markdown
Last active April 25, 2017 00:23
damn part of HTML & CSS

【雑訳】CSSの見えない部分(見出しのみ)

The invisible parts of CSS · MadebyMike

  • カスケーディング
    1. 詳細度
    2. 継承(inherit)
  • ボックスモデル
  1. (外から)マージン、ボーダー、パディング、コンテンツ
@beijaflor
beijaflor / .block
Last active March 21, 2017 01:17
linkingWithCSS
license: mit
@beijaflor
beijaflor / .block
Created March 18, 2017 03:07
fresh block
license: mit
@beijaflor
beijaflor / .block
Last active March 13, 2017 15:26
都道府県別 人口の推移
license: mit