kenjimorita– Author –
-
The server quit without updating PID file
これ。「Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2)」と「The server quit without updating PID file 」
これ。「Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)」と「The server quit without updating PID file 」 現象 ・mysql.server restartとやると 「The server quit without updating PID file 」 ・mysqlと打つと Can't c... -
redux-saga【redux-saga】これ。Actions must be plain objects. Use custom middleware
【redux-saga】これ。Actions must be plain objects. Use custom middleware 自分が雑なでバッキングしていたので時間とった。。。 putとして渡すのはこの場合actionCreatoreですが、 redux-actionsで返される関数は payloadを渡すことができます 「なの... -
oneOfWebpackのoneOfって何?
WebpackのoneOfって何? creat-react-appのwebpack設定を変えたい場合 oneOfっていうのが気になって調べた。 webpackのoneOfとは ルールが一致したときに最初に一致するルールのみが使用されるルールの配列。 https://webpack.js.org/configuration/module... -
cannot-copy-and-paste【解決】iTerm2(terminal)?tmux?の画面でコピー&ペーストができなくなった解決方法(Can not copy in tmux, iterm2)
【解決】iTerm2(terminal)?tmux?の画面でコピー&ペーストができなくなった解決方法(Can not copy in tmux, iterm2) 普段vimを使っているのですが、いつからかiterm(terminal)上でコピーアンドペーストができなくなってしまいました。 これではterminal... -
フリーランス芸人が「やるぞ!青色申告2017」で確定申告するまでの話やるぞ!青色申告2017の振替伝票形式の書き方(クレジット、個人事業税、手数料他)
やるぞ!青色申告2017の振替伝票形式の書き方(クレジット、個人事業税、手数料他) ネット上になかなか「やるぞ!青色申告2017の振替伝票形式の書き方」がなかったので具体的な自分の書き方を示します。 誰かの助けになれば幸いです。 ※以下自分の場合の一... -
React does not recognize the `styleName`【React-CSSModules】これが出たら「React does not recognize the `styleName` prop on a DOM element.」
【React-CSSModules】これが出たら「React does not recognize the `styleName` prop on a DOM element.」 Warning: React does not recognize the `styleName` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom at... -
example【React】redux-form,redux-sagaでsubmitActionするまでのexample
【React】redux-form,redux-sagaでsubmitActionするまでのexample ネット上にredux-formとredux-sagaのリアルなsampleがなくて困っていました。 最近やった案件でちょうど使う機会がいただけたので、復習も兼ねて改めてサンプルを作りました。 github reac... -
日常で起きた些細な話手帳
手帳を買いました。 実は去年も買ったのですが続きませんでした。 4月ごろまで続いていたのですが、、、 続かなかった理由はなんだろう。。 1週間ぐらい書くことを忘れると埋まっていない箇所があるのが恥ずかしくて嫌になりますね。 あと手帳よりEverNote... -
postcss-simple-vars【解決】postCSS(Emitted value instead of an instance of Error) postcss-simple-vars: [filepath] Unknown variable
【解決】postCSS(Emitted value instead of an instance of Error) postcss-simple-vars: [filepath] Unknown variable postcss-simple-varsを使ってimportしているcssの変数が解決されていないというwarning -
xls変換xlsxMacでxlsファイルをxlsxに「安全・無料」で変換する方法
Macでxlsファイルをxlsxに「安全・無料」で変換する方法 日本語で検索しても胡散臭いものばっかり!!全部どこかをクリックさせようとしてうんざりです!! xlsファイルを変換するにはOffceを持っていないといけないと思っていましたが、できましたので そ... -
SHH-key-PushSourceTreeでpushしようとしたらSHHキーの設定を求められてできない時
SourceTreeでpushしようとしたらSHHキーの設定を求められて失敗する時 新しい常駐先のリポジトリにすでに持っているgithubアカウント、SourceTreeやgitでpushしようとすると怒られます。 Githubのsettingから下記画像のところをコピペします。 keyがない人... -
Error-detected-while-processing-function-nerdtreeもしvimのファイル開く度こう怒られたら「Error detected while processing function nerdtree」
もしvimのファイル開く度こう怒られたら「Error detected while processing function nerdtree」 .vimrcに add .vimrc this set swapfile "$HOME/.vimrc set directory=$HOME/.vim/swapfiles として and then echo $HOMEで出力される .vimフォルダの中に入... -
react-router-redux【react-router-redux】解決!「TypeError: Cannot read property ‘object’ of undefined」
【react-router-redux】解決!「TypeError: Cannot read property 'object' of undefined」 最近Joinした現場でこのような「TypeError: Cannot read property 'object' of undefined」エラーが出て困っていたらしく 解決したので同じ悩みでyarnを上げれな... -
iTerm2-tmuxiTerm2起動時にtmuxを自動的に起動させる
ITerm2起動時にtmuxを自動的に起動させる iTerm2を開いて、tmuxと打っていましたがOPEN時にtmux開いてほしいと思いました。 iTerm2 > Prefernance → 画像のピンクの箇所に下記のコードを入れる tmux attach -t init || tmux new -s init iTerm2再起動 -
Error: Actions must be plain objects【Redux/解決】Error: Actions must be plain objects. Use custom middleware for async actions.
【Redux/解決】Error: Actions must be plain objects. Use custom middleware for async actions. Actionはプレーンオブジェクトでなければならない。非同期アクションに対してカスタムミドルウェアを使ってください。 と言われています。 export const T... -
Maximum update depth exceeded.【Redux/Reactエラー/解決】Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
【Redux/Reactエラー/解決】Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops. 最... -
Python is installedbrew doctorで「Python is installed at /Library/Frameworks/Python.framework」
brew doctorで「Python is installed at /Library/Frameworks/Python.framework」 homebrewに入っているpythonとそこに入っているpythonのconfigがコンフリクト起こす可能性あるよ と言われている ``` sudo rm -rf /Library/Frameworks/Python.framework `... -
もりたけんじconsole.logで出る「↵」を改行タグに変えてJSXに読み込ませる方法
console.logで出る「↵」を改行タグに変えてJSXに読み込ませる方法 -
もりたけんじ解決! redux-formの「asyncValidate function passed to reduxForm must return a promise」
解決! redux-formの「asyncValidate function passed to reduxForm must return a promise」 なかなかどうしてはまってしまったのでここで公表。 export default = reduxForm({ form: 'formname' })(Hoge) ↓ export default = reduxForm({ form: 'formname... -
ログイン画面で、パスワード入力欄に勝手にキーが入力される[解決]Macのログイン画面で、パスワード入力欄に勝手にキーが入力される
[解決]Macのログイン画面で、パスワード入力欄に勝手にキーが入力される 表題の件。解決しましたので困っている方のために報告します。 事象 Macに管理者としてログインしようとアイコンを押すと入力欄に勝手にパスワードが入力されて 当然拒否される なん...