web備忘録– category –
普段はwebのほうの仕事も多いのでそちらのお勉強の際のちょっとしたメモ書きです。
-
【ECMAScript2015/Babel】presets-2015のbable-looseとnormalの違い
【ECMAScript2015/Babel】presets-2015のbable-looseとnormalの違い 昨日の投稿「PromiseをAndroid4.xに対応させる方法(promise-polyfill)I want to use Promise for Android4.x.x!!!」でこのlooseとnormalの違いはなんだと思いましたので調べました。 参... -
PromiseをAndroid4.xに対応させる方法(promise-polyfill)I want to use Promise for Android4.x.x!!!
PromiseをAndroid4.x系に対応させる(promise-polyfill)I want to use Promise for Android4.x.x!!! Android標準ブラウザ4x系でJavaScriptのPromiseを使うためにしたことです。 このような記事が見当たらないので苦労しました。。 sampleとしてPromiseを実... -
【Flow & React】 Reactでの静的型チェックの方法「Flow Cookbook: Flow & React」の意訳
【Flow & React】 Reactでの静的型チェックの方法「Flow Cookbook: Flow & React」の意訳 Flow Cookbook: Flow & Reactを意訳しています Flow typeの型注釈は実行時チェックのprotoTypesの代替案として提供されています。 Flowが持つ静的型チェックはいく... -
【TypeScript/JavaScript】__extendsやnew __()は何をやっているか(What is __extends and new __ () doing?)
【TypeScript/JavaScript】__extendsやnew __()は何をやっているか(What is __extends and new __ () doing?) TypeScriptでスーパークラスを継承した場合、書き出されるjsの中に_extends()という箇所があります。 これが何をしているのかわかり易いgitBook... -
なるほど。。__proto__とprototypeの違い
__proto__ vs prototype なるほど。。protoとprototypeの違い これはECMAScript2015やTypeScriptでもトランスパイル、コンパイルされた JS上、理解したいオブジェクトなので徹底的にやろうと思いました。 結論 ・proto は全てのオブジェクトが持つ、内部... -
【JavaScript】私も見ている「(Imperative vs Declarative Programming)命令型(手続き型)と宣言型の違い」
Imperative vs Declarative Programming https://tylermcginnis.com/imperative-vs-declarative-programming/ 命令型(手続き型)プログラミングと宣言型プログラミングの違いを説明している。 ・どのように実行させるかが命令型 ・何をするかが宣言型 それ... -
【flowtype/React/Class】これ。how to fix 「Covariant property `[fn]` incompatible with contravariant use in “` assignment of property `[fn]`」
【flowtype/React/Class】これ。how to fix 「Covariant property `[fn]` incompatible with contravariant use in ``` assignment of property `[fn]`」 flowtypeをReactに取り入れて、class構文で使おうとするとこのようなエラーが出る。 If you incorpo... -
【flowtype】React/flowtypeのplayground(最小環境)作った。
【flowtype】React/flowtypeの最小環境作った https://github.com/kenmori/flow 最小環境は上のリンク先なのですが、 今すぐLPでもサイト作成でも始められるreact、redux,react-routerなどの奴は こちらです https://github.com/kenmori/react-redux-sampl... -
【flowtype】これ。how to fix 「react. Required module not found」
【flowtype】これ。how to fix 「react. Required module not found」 An error occurred from a component when I introduced flowtype (flowtypeを導入した際に出たエラー) It seems that the module is not typed. Component file where the error occu... -
【Angular2】これ。Error: Template parse errors: Can’t bind to ‘ngSwitchDefault’ since it isn’t a known property of ‘div’. (“
Error: Template parse errors: Can't bind to 'ngSwitchDefault' since it isn't a known property of 'div'. (" Angular2でコンソールに出てくるエラーは優しい。かなり丁寧に出力してくれる。 [code language="javascript"] ////An error occurs <di... -
Android4.4未満でいろいろ大変なやつまとめ
Android4.4未満でいろいろ大変なやつまとめ 私は4.1の端末買いましたよ。4.4未満のデバッグ用に。。 で大体modernizrで処理すればなんとかなるみたいね。 https://modernizr.com/docs/ Android注意のやつまとめ 4.4.4未満 Promise、calc() 4.4未満 flex-w... -
【rust】rustのplaygroundがドキュメントにあるよ
【rust】rustのplaygroundがドキュメントにあるよ ドキュメント読みながら実行できるから便利ですね! playground 構文だけでも地道にやっていこーーー でわーーー -
私も見ている~アメブロ2016 ~ Isomorphic JavaScriptの詳しい話など~
・アメブロ2016 ~ Isomorphic JavaScriptの詳しい話 https://developers.cyberagent.co.jp/blog/archives/3513/ やりたい ・HTMLのテーブルをJSONで動的に更新できる「Tabulator」がスゴい! https://www.webprofessional.jp/dynamic-tables-json/ 今度使... -
【NetBeans/8.0.0→8.0.2】create new EntityClass エンティティ・クラスの場所・作成方法
【NetBeans/8.0.0→8.0.2】Where is 「create new EntityClass」 エンティティ・クラスの場所・作成方法 ここにあるはずのEntityClassがない。。 cmd + n (mac) select 「Persistence(持続性)」Category ファイルタイプ/fileType select 「エンティ... -
【babel】これ出たら「You have mistakenly installed the `babel` package, which is a no-op in Babel 6.」
【babel】これ出たら「You have mistakenly installed the `babel` package, which is a no-op in Babel 6.」 babel --version でbabelの確認をしたら出た文言です。 https://babeljs.io/docs/usage/cli/ hit run command npm uninstall --global babel-c... -
【JavaDB/glassFish】解決!Internal Exception: java.sql.SQLSyntaxErrorException: 表またはビュー'[TABLE_NAME]’は存在しません。
【JavaDB/glassFish】解決!Internal Exception: java.sql.SQLSyntaxErrorException: 表またはビュー'[TABLE_NAME]'は存在しません。 症状 サーバー立ち上げると以下のような 怖いやつ出てきて、 下の方見ていると ==== Caused by: javax.persistence.Pers... -
【NetBeans/glassFish】これが出たら疑う箇所Exception [EclipseLink-28019] (Eclipse Persistence Services – 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.EntityManagerSetupException
【NetBeans/glassFish】これが出たら疑う箇所Exception [EclipseLink-28019] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.EntityManagerSetupException 画像のようなエラーが出たら疑う場所です。Enti... -
【GlassFish Server】解決!「接続認証エラーが発生しました。理由: ユーザーIDまたはパスワードが無効です。」「Error in allocating a connection. Cause: Connection could not be allocated because」
【GlassFish Server】解決!「接続認証エラーが発生しました。理由: ユーザーIDまたはパスワードが無効です。」「Error in allocating a connection. Cause: Connection could not be allocated because」 これはまった。。。 データベースへの接続の問題... -
1/15ヒカリエ「Rust入門者向けハンズオン #2」に参加できることになっていた
1/15ヒカリエ「Rust入門者向けハンズオン #2」に参加できることになっていた わこうさんが教えてくれて、 その時すでに補欠だったけど、 年越して今見てみたら枠数増えてて、繰り上がっていた。 https://rust.connpass.com/event/43893/ 楽しみ〜〜 予習し... -
【NetBeans/glassFish】これが出たら。Exception [EclipseLink-4002 org.eclipse.persistence.exceptions.DatabaseException
【NetBeans/glassFish】これが出たら。Exception EclipseLink-4002 org.eclipse.persistence.exceptions.DatabaseException 下の画像のようなエラーが出たら、1つ確認してから解決方法を探しましょう。 データベース接続していますか?? 写真は接続中です...