Skip to content

Instantly share code, notes, and snippets.

View 1natsu172's full-sized avatar
🤷‍♂️
わかったためしがない

1natsu 1natsu172

🤷‍♂️
わかったためしがない
View GitHub Profile
@1natsu172
1natsu172 / file0.txt
Last active April 18, 2020 11:00
https時代のgitアカウントを使い分ける方法 ref: https://qiita.com/1natsu172/items/a4a3357a0481440ec6a5
host github.com-main
HostName github.com
IdentityFile ~/.ssh/id_rsa_github
User git
host github.com-sub
HostName github.com
IdentityFile ~/.ssh/id_rsa_github_sub
User git
@1natsu172
1natsu172 / file0.txt
Last active November 29, 2018 17:01
react-virtualizedでタイムラインコンポーネントを作ろうとしてハマったときの知見 ref: https://qiita.com/1natsu172/items/f779392eac017cec48a4
<List autoHeight={true} ...{listProps} />
@1natsu172
1natsu172 / PullToRefresh.tsx
Created August 16, 2018 11:16
Reactでpulltorefreshjsを使いたかったので書いたラッパーコンポーネント
import { uniqueId } from 'lodash-es'
import PullToRefreshJS from 'pulltorefreshjs'
import * as React from 'react'
import { findDOMNode } from 'react-dom'
type Props = {
onRefresh: (() => Promise<any>) | (() => void)
children: React.ReactNode
targetComponent?: React.ReactInstance
} & Partial<DefaultProps>
@1natsu172
1natsu172 / .gitignore
Created October 20, 2017 07:06
VCCW2用の.gitignore
.DS_Store
.bundle
.idea/
.vagrant
Movefile
vendor
node_modules/
*.sql
npm-debug.log
@1natsu172
1natsu172 / .gitignore
Created October 20, 2017 07:03
wp-attach-dev の .gitignore
.DS_Store
*.sql
npm-debug.log
# local by flywheelプロビジョンデータでいらないものignoreする
conf
logs
app/sql