万年素人からHackerへの道

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

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

    2021-01-01から1年間の記事一覧

    cellのエラー

    must register a nib or a class for the identifier or connect a prototype cell in a storyboard 右から4番目の「Restoration ID」ではなく、右から3番目の「identifier」

    SolidityとEthereumによる実践スマートコントラクト開発 ――Truffle Suiteを用いた開発の基礎からデプロイまで

    P22 分解能が低い P34 Parity https://www.parity.io/ curl https://get.parity.io -Lk | bash parity --chain=goerli https://zenn.dev/kuromoka/scraps/a8cf68d4ec033e brew tap openethereum/openethereum brew install openethereum openethereum --chai…

    空っぽのStream

    Flutter /Dart /Firebase-空のリストを返すストリーム StreamBuilder にある時は_streamer() みたいなメソッドを使うが 何もしたくない時はダミーみたいなStreamが欲しかった const Stream.empty() を使う! StreamBuilder<QuerySnapshot>( stream: isHoge ? const Stream.e</querysnapshot>…

    空っぽのStream

    Flutter /Dart /Firebase-空のリストを返すストリーム

    video保存

    video保存 neos21.net

    FieldValue.serverTimestamp()で入ったデータを変換

    nilなので let tmpTimeStamp: Timestamp? = data["date"] as? Timestamp if let timeStamp = tmpTimeStamp { date = timeStamp.dateValue() } else if let tmpDate = message.get("date", serverTimestampBehavior: .estimate) as? Timestamp { // FieldValu…

    dancing quickly

    The video of the prime minister dancing quickly became a popular internet meme. doing a fast/complicated dance steps

    通知の赤丸BottomNavigationBarItemに入れる

    https://flutteragency.com/how-to-display-notification-badge-on-bottom-navigation-bar-icon/ BottomNavigationBarItemにやる Stackに Positioned( right: 0, child: Container( padding: const EdgeInsets.all(1), decoration: BoxDecoration( color: Co…

    マスクのグラデーション

    https://gist.github.com/FromAtom/f078bbe73301ec6a4e2e12a1b3ec62de 隠したいものの親ビュー作るのがミソ(対象はUICollectionViewでもOK)、上下を左右にするには // 左右にする gradient.startPoint = CGPoint(x: 0, y: 0.5) gradient.endPoint = CGPoin…

    exact・precise・accurate・correctは、

    exact・precise・accurate・correctの違い!正確なを英語で

    redirect_uri_mismatch

    Error 400: redirect_uri_mismatch You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy. If you're the app developer, register the redirect URI in the Google Cloud Console. redirectに入れるってのはわかるけど…

    initializePushNotificationのやつ

    E/flutter (32449): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: Null check operator used on a null value E/flutter (32449): #0 MethodChannelFirebaseMessaging.registerBackgroundMessageHandler (package:firebase_messaging…

    ringの過去、過去分詞

    原形 ring /rɪŋ/ リング 過去形 rang /ræŋ/ ラング 過去分詞 rung /rʌŋ/ ラング 過去分詞・・・Past participle

    Google Nest mini繋がらない

    iPhoneのアプリからやろうとした。 中古はなぜか繋がらない リセットする? 裏側にボタンないのは上から押すやつ www.youtube.com Can't connect to speaker or display's hotspot in the Google Home app - Google Nest Help あと、iPhoneはいつものWifiで…

    React Firebaseで

    Firebase をフロントエンドから適切に隠蔽するための「Hooks Injection パターン」 - JX通信社エンジニアブログ FIREBASE_CONFIGの設定 export FIREBASE_CONFIG='{"apiKey":"これ1","projectId":"これ2"}' これ1、これ2をFirebaseのconsoleからとる。 こ…

    Xcode 13のstoryboard作ったボタンがXcode 12で死ぬ

    ios - Compatibility of Xcode 13 buttons when updating from Xcode 12 - Stack Overflow Xcode 13のstoryboard作ったボタンが新しいXMLで作成され、Xcode 12で開くとタグが消えて死ぬ

    decline

    There's a decline in the number of people being affected by the virus. decline in number 《a ~》数の減少

    a huge amount.

    It helped me get through this pandemic a huge amount. このパンデミックを乗り越えるのにとても役立ちました a huge amount of はa lot of と同じような使い方でここではhelped にかかっていると思われます。 It helped me. It helped me a huge amount. …

    supabaseでcredentialのFlutter

    github.com www.youtube.com に出てくるやつ

    supabaseのサンプルにログインも付けた

    supabase.io からリンクしている github.com のGitHubのsupabase-flutter-quickstartのサンプルはEmail経由でログインでわかりずらい このかたもおそらくそのサンプル参考にしてるかと思う。 https://note.com/minato_i/n/nfc6d829f0c65 lib/pages/login_pag…

    supabase login

    import 'package:gotrue/src/provider.dart' show Provider; final response = await supabase.auth.signIn( provider: Provider.twitter, ); って思ったがこれだとなんかおかしい import 'package:supabase_flutter/supabase_flutter.dart'; final response…

    FlutterのなぞのAndroidエラー

    Running Gradle task 'assembleDebug'... /Users/shinriyo/.pub-cache/hosted/pub.dartlang.org/permission_handler-8.2.2/android/src/main/java/com/baseflow/permissionhandler/PermissionUtils.java:72: error: cannot find symbol case Manifest.permis…

    Flutter, supabase, database組み合わせ

    Flutter, supabase, database https://www.youtube.com/watch?v=MNR7vQI4LG8 ログインはない?

    supabaseのFlutterのDEMO使う

    ・このサンプルのこと github.com GitHubのログインがある。 ・まず、URLとanonの設定を見ておく それを、アプリで設定する。 lib/utils/constants.dartのsupabaseUrlとsupabaseAnnonKeyな。 GitHubの設定はここを参考にするが、 https://supabase.io/docs/g…

    WebAssemblyで使うやつ

    Enscruoten emcc rustc rustc cargo cargo fish shellでインストールから追加 curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh set -U fish_user_paths $fish_user_paths $HOME/.cargo/bin rustc- V rustup update rustup target add wasm3…

    Theft vs burglars vs robber

    A robber is a person who robs—steals Put very simply, someone is guilty of robbery if he steals from a person using force or makes them think force will be used. Theft means taking someone’s property but does not involve the use of force. …

    Safariで拡張するAction Extension

    kt-zoe.com shibuya-3percent.hatenablog.com

    ClipOvalのShadow

    https://stackoverflow.com/questions/58690604/how-to-add-shadow-to-clipoval-in-flutter class CustomClipperOval extends CustomClipper<Rect> { @override Rect getClip(Size size) { return Rect.fromCircle( center: Offset(size.width / 2, size.width / 2</rect>…

    piece?

    We make all our jewelry by hand, so every piece is unique. piece (noun) - a specific design or an artistic or literary composition The ruby and diamond necklace are the most expensive pieces in our store.

    伯爵?count

    hangover - sickness after drinking too much alcohol count - title for nobility (high ranks in the society) duke, baron, earl, viscount unlike - not like