- 不正確な情報の可能性があります *
開発/テスト/ビルド用 npm パッケージは devDependencies
、 それ以外を dependencies
にしましょう。前者は npm i -D foo
後者は npm i -S foo
です。
% docker compose up (git)-[develop] | |
[+] Running 12/12 | |
⠿ db Pulled 12.6s | |
⠿ 9a5c778f631f Pull complete 4.1s | |
⠿ 6c09b1c7d50d Pull complete 4.2s | |
⠿ 7d5a6697daf1 Pull complete 4.3s | |
⠿ 06f40b0c53d7 Pull compl |
if [ `echo 'hogefuga' | grep 'fuga'` ] ; then | |
echo 'ok' | |
fi |
// @flow | |
import React, { Component } from 'react'; | |
import { findDOMNode } from 'react-dom'; | |
class PayjpCheckout extends Component { | |
constructor(props: Object) { | |
super(props); | |
this.windowAlertBackUp = window.alert; | |
this.script = document.createElement('script'); |
// ==UserScript== | |
// @name Disable keyboard shortcuts | |
// @namespace https://github.com/mori-dev | |
// @description ページのキーボードショートカットを殺す | |
// @include https://github.com/* | |
// @include https://gist.github.com/* | |
// @include https://mail.google.com/* | |
// ==/UserScript== | |
unsafeWindow.$(document).unbind('keydown.hotkey'); |
開発/テスト/ビルド用 npm パッケージは devDependencies
、 それ以外を dependencies
にしましょう。前者は npm i -D foo
後者は npm i -S foo
です。
;;設定 | |
;;(require 'git-status) | |
;;psvn.el http://www.xsteve.at/prg/emacs/psvn.el からの移植 | |
(eval-when-compile (require 'cl)) | |
(require 'vc-git) | |
(add-to-list 'vc-handled-backends 'Git) | |
(defvar git-status-state-mark-modeline t | |
"modeline mark display or not") |
class MyAppProvider extends Component { | |
constructor() { | |
super() | |
this.state = { rehydratedFlag: false } | |
} | |
componentWillMount() { | |
appEventHandler.on(AppEvents.FINISH_REHYDRATE_STORE, () => { | |
this.setState({ rehydratedFlag: true }); |
import React from 'react'; | |
import { Root } from 'native-base'; | |
import * as Expo from 'expo'; | |
import { AppNavigator } from './routes'; | |
export default class App extends React.Component { | |
constructor() { | |
super(); |
;;; undo-tree.el --- Treat undo history as a tree | |
;; 2010/2/15 追記. | |
;; undo-tree-visualizer-quit のバグを修正しました. | |
;; 参考) http://d.hatena.ne.jp/kitokitoki/20100211/p1 | |
;; オリジナルからの変更点 | |
;; 1. q で *undo-tree* があったウィンドウも削除し,呼び出しもとのウィンドウ・バッファにポイントを移動 | |
;; 2. 上下分割から左右分割に変更 |