万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

  • ・資産運用おすすめ
    10万円は1000円くらい利益
    資産運用ブログ アセマネ
    • ・寄付お願いします
      YENTEN:YYzNPzdsZWqr5THWAdMrKDj7GT8ietDc2W
      BitZenny:ZfpUbVya8MWQkjjGJMjA7P9pPkqaLnwPWH
      c0ban:8KG95GXdEquNpPW8xJAJf7nn5kbimQ5wj1
      Skycoin:KMqcn7x8REwwzMHPi9fV9fbNwdofYAWKRo

    2019-06-01から1ヶ月間の記事一覧

    ターミナル上で文字単位で移動

    https://www.maketecheasier.com/move-cursor-word-by-word-terminal-mac/ esc押下して、Bで左、Fで右 記事はEsc + B とあるが、 同時ではない。

    ファイル生成と同時にフォルダ生成

    https://ja.stackoverflow.com/questions/21718/touch%E3%81%A7mkdir-p%E3%82%82%E8%A1%8C%E3%81%84%E3%81%9F%E3%81%84 install -D /dev/null /var/www/html/index.html は動かない・・・ mkdir + touch __init__.py が面倒くさい人のためのシェルスクリプト…

    ファイル生成と同時にフォルダ生成

    https://ja.stackoverflow.com/questions/21718/touch%E3%81%A7mkdir-p%E3%82%82%E8%A1%8C%E3%81%84%E3%81%9F%E3%81%84 install -D /dev/null /var/www/html/index.html は動かない・・・ mkdir + touch __init__.py が面倒くさい人のためのシェルスクリプト…

    404 error

    https://www.plusdesign.co.jp/blog/?p=6436

    ロード中に表示するシマー効果付きスケルトンスクリーン

    Web

    kuroeveryday.blogspot.com

    React.js this.refs vs document.getElementById

    https://stackoverflow.com/questions/37273876/reactjs-this-refs-vs-document-getelementbyid Netflixはuse no refs, ever, 9:58m https://www.youtube.com/watch?v=kDARP5QZ6nU&list=PLb0IAmt7-GS0M8Q95RIc2lOM6nc77q1IY&index=28

    FreeBook

    Index | free-programming-books

    Ionic Reactキッチンシンクでページ見えない理由

    /src/App.tsx このRequiresTutorialRouteで細工してある const App = () => ( <Provider store={store}> <Router> <div id="app"> <IonApp> <IonSplitPane contentId="main"> <Menu /> <IonPage id="main"> <Switch> <PrivateRoute path="/account" component={Account} /> <Route path="/tutorial" component={Tutorial} /> </route></privateroute></switch></ionpage></menu></ionsplitpane></ionapp></div></router></provider>

    Railsで自作Exception

    class Hoge InvalidPassword = Class.new(ActionController::BadRequest)

    VSCodeでコメントアウト(//)の後に半角スペース入れたい

    //パスワード を // パスワード にする。 置き換え前 //([^ ]+)(.*) 置き換え後 // $1$2

    Macでフルパス取得

    https://qiita.com/edvakf@github/items/b8400f7dfe9210aadddd Macはreadlinkに-fオプションがない http://takuya-1st.hatenablog.jp/entry/2018/02/20/202036 realpathを入れるのがいいかも

    Mastering React Test-Driven Development: Build rock-solid, well-tested web apps with React, Redux and GraphQL

    GraphQLあり https://github.com/PacktPublishing/Mastering-React-Test-Driven-Development Mastering React Test-Driven Development: Build rock-solid, well-tested web apps with React, Redux and GraphQL (English Edition)作者: Daniel Irvine出版社…

    Test-driven React: Find Problems Early, Fix Them Quickly, Code With Confidence

    Test-driven React: Find Problems Early, Fix Them Quickly, Code With Confidence作者: Trevor Burnham出版社/メーカー: Pragmatic Bookshelf発売日: 2019/06/04メディア: ペーパーバックこの商品を含むブログを見る 画像変わった・・。 古い

    Ionic React

    始め方 ionic start myApp --type=react 最新版じゃないと「--type=react」オプションはない。 この時「キッチンシンク(kitchen‐sink)」を使う 《主に米国で用いられる》 あらゆるものを投入する[素材にする]. tsのコードになっている。 Reduxになってる。 s…

    VSCodeでnode_modulesが邪魔なので隠す

    Command+,で開き、 excludeで検索して、Add Patternボタンを押下して、 **/node_modulesを追加する。

    firebase-toolsでFunction

    AWSのLambdaのFirebaseバージョンみたいなやつ。 これを使うには yarn global add firebase-tools functions 内 $ firebase init 関数をデプロイ: $ firebase deploy functions .firebaserc { "projects": { "default": "test-vue-53ef3" } } このエラー。知…

    ReactNativeのエラー

    const GOOGLE_IOS_CLIENTID = "<google ios client id>"; try { const { type, idToken, accessToken } = await Expo.Google.logInAsync({ behavior: "web", iosClientId: GOOGLE_IOS_CLIENTID, androidClientId: GOOGLE_ANDROID_CLIENTID, scopes: ["profile", "email"], }); この</google>…

    FirebaseのFirestoreは?

    FirebaseのFirestoreはデータベースである。 Storageの名前と勘違いするが、データベースである。 Firestore

    TestController extend method testcafe

    TestController extend method testcafe https://github.com/DevExpress/testcafe/issues/2765

    TestCefeとかで引数を使う

    package.jsopnでは "e2e": "testcafe chrome ./test/*-test.js", コマンド yarn comman --hoge bar ソースはこう import _ from 'lodash'; /** * ["chrome:headless","./test/hoge-test.js","./test/hoge-test.js","--hoge","bar","--fuga","hogehoge"] * を…

    TestCafe await async メソッド

    TestCafe await async メソッド test('テスト名', async t => { const buttonName = await Selector('div').withText(/.*正規表現.*/).withAttribute('class', 'class-name'); こういうのは こういうメソッド作って const myMethod = async (regex) => { con…

    ChromeBook比較

    https://www.pcmag.com/roundup/305859/the-best-chromebooks

    起動中のDockerコンテナに入る

    https://blue21neo.blogspot.com/2018/04/docker.html

    サブディレクトリ全てgit pull

    git

    https://stackoverflow.com/questions/3497123/run-git-pull-over-all-subdirectories ls | xargs -I{} git -C {} pull パラレル版 ls | xargs -P10 -I{} git -C {} pull

    マッチングOSS

    https://futurismo.biz/auto-matching-development-2018/

    Spotifyのdocker-gc

    kenzo0107.hatenablog.com https://github.com/spotify/docker-gc

    Selenium PDFダウンロード記事

    news.mynavi.jp

    ReactのクラスからFunctional Components へ変換手順

    scotch.io