並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 65件

新着順 人気順

eachの検索結果1 - 40 件 / 65件

タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。

eachに関するエントリは65件あります。 githubterraformlinux などが関連タグです。 人気エントリには 『**強い**エンジニアのなり方 - フィードバックサイクルを勝ち取る / grow one day each day』などがあります。
  • **強い**エンジニアのなり方 - フィードバックサイクルを勝ち取る / grow one day each day

    # 参考資料 - https://speakerdeck.com/pokotyamu/furikaeri-2024-95ceb97e-d587-4c4b-a4ec-5e52672644f6 - https://www.1101.com/umeda_iwata/ - https://speakerdeck.com/soudai/release-small

      **強い**エンジニアのなり方 - フィードバックサイクルを勝ち取る / grow one day each day
    • Belgian-Dutch Study: Why in times of COVID-19 you should not walk/run/bike close behind each other.

      What is a safe distance when running, biking and walking during COVID-19 times? It is further than the typical 1–2 meter as prescribed in different countries! Check also the Q&A with the Investigators: https://medium.com/@jurgenthoelen/why-in-times-of-covid-19-you-should-not-walk-run-bike-close-behind-each-other-follow-up-with-q-a-ca44e12cc54d Edit 10/04/2020: a link to the preprint of the paper ‘

        Belgian-Dutch Study: Why in times of COVID-19 you should not walk/run/bike close behind each other.
      • GitHub - zhuowei/nft_ptr: C++ `std::unique_ptr` that represents each object as an NFT on the Ethereum blockchain

        You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

          GitHub - zhuowei/nft_ptr: C++ `std::unique_ptr` that represents each object as an NFT on the Ethereum blockchain
        • Tether elements to each other with CSS anchor positioning  |  Blog  |  Chrome for Developers

          How do you currently tether one element to another? You might try tracking their positions, or use some form of wrapper element. <!-- index.html --> <div class="container"> <a href="/link" class="anchor">I’m the anchor</a> <div class="anchored">I’m the anchored thing</div> </div> /* styles.css */ .container { position: relative; } .anchored { position: absolute; } These solutions often aren't idea

          • Bluesky and Mastodon users can now talk to each other with Bridgy Fed | TechCrunch

            An important step toward a more interoperable “fediverse” — the broader network of decentralized social media apps like Mastodon, Bluesky and others — has been achieved. Now users on decentralized apps like Mastodon, powered by the ActivityPub protocol, and those powered by Bluesky’s AT Protocol, can easily follow people on other networks, see their posts, and like, reply and repost them. Those sa

              Bluesky and Mastodon users can now talk to each other with Bridgy Fed | TechCrunch
            • GitHub - langflow-ai/langflow: ⛓️ Langflow is a dynamic graph where each node is an executable unit. Its modular and interactive design fosters rapid experimentation and prototyping, pushing hard on the limits of creativity.

              You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                GitHub - langflow-ai/langflow: ⛓️ Langflow is a dynamic graph where each node is an executable unit. Its modular and interactive design fosters rapid experimentation and prototyping, pushing hard on the limits of creativity.
              • GitHub - tfausak/rampart: :european_castle: Determine how intervals relate to each other.

                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                  GitHub - tfausak/rampart: :european_castle: Determine how intervals relate to each other.
                • Terraformでのloop処理の書き方(for, for_each, count)

                  for, for_each, countの違い まずforはExpression(式)であり、for_eachとcountはMeta-Argumentといった明確な違いがあります。 forは式なので値を返しますが、for_eachとcountは返しません。 for_eachはresourceやmoduleでしか書けず、イメージとしてはresourceブロックごと繰り返すという感じになります。 # これは書ける resource "aws_instance" "name" { for_each = [] } # これは書けない resource "aws_instance" "name2" { for = [] } なのでforのみを使って複数リソースを作ることはできません。 forの使い方 forは他のプログラミング言語のforと同じ感じで回せます。Pythonのリスト内包表記に似ています

                    Terraformでのloop処理の書き方(for, for_each, count)
                  • GitHub - Netflix/bpftop: bpftop provides a dynamic real-time view of running eBPF programs. It displays the average runtime, events per second, and estimated total CPU % for each program.

                    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                      GitHub - Netflix/bpftop: bpftop provides a dynamic real-time view of running eBPF programs. It displays the average runtime, events per second, and estimated total CPU % for each program.
                    • Terraformのfor_eachとnullで、効率的にAWSのセキュリティグループを定義する | DevelopersIO

                      ちゃだいん(@chazuke4649)です。 普段、IaCでAWSリソースを管理している人は、セキュリティグループについて効率よく書けないか、一度は頭をひねった経験があるのではないでしょうか? 自分もその一人でして、今回Terraformでセキュリティグループを定義するにあたり、いろんな方の記事をありがたく参考にしつつ、改善することができたので紹介します。 改善前 改善前は以下のようにセキュリティグループを定義していました。 resource "aws_security_group" "test" { vpc_id = aws_vpc.main.id name = "test-sg" description = "For test" tags = { Name = "test-sg" } } ## Inbound resource "aws_security_group_rule" "te

                        Terraformのfor_eachとnullで、効率的にAWSのセキュリティグループを定義する | DevelopersIO
                      • (日本語訳) Vector databases (Part 1): What makes each one different?

                        ベクトルデータベースに関しては、カリフォルニアのベイエリアで明らかに"多く"の活動が行われている!また、資金調達と評価の額には大きなばらつきがあり、データベースの能力と資金調達額に相関関係がないことは明らかである。 プログラミング言語の選択 高速でレスポンスが良くスケーラブルなデータベースは、近年、GolangやRustのようなモダンな言語で書かれることが一般的である。ベクトル特化ベンダーの中で、Javaで書かれているのはVespaだけである。Chromaは、C++で構築されたOLAPデータベースであるClickhouseとオープンソースのベクトルインデックスであるHNSWLibの上に構築されたPython/TypeScriptラッパーとなっている。 興味深いことに、Pineconeも[2]、LanceDBのベースとなるストレージフォーマットであるLance[3]も、元々はC++で書かれて

                          (日本語訳) Vector databases (Part 1): What makes each one different?
                        • GitHub - ehmicky/test-each: 🤖 Repeat tests. Repeat tests. Repeat tests.

                          You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                            GitHub - ehmicky/test-each: 🤖 Repeat tests. Repeat tests. Repeat tests.
                          • for_eachで書いた.tfをterraform importする | DevelopersIO

                            こんにちわ、ネクストモードの島川です。 terraform importを使って、for_eachで書いたものをそのままimportする方法を紹介します。既存環境をコード化したいけど、ベタ書きは嫌!なるべくスマートに書きたい。という方に向けた記事です。 環境 $ terraform -v Terraform v1.0.0 せっかくなので最近リリースされたv1.0.0を使用します。 importする際に必要な情報 基本的なことになりますが、terraform importをする際に必要な情報はユーザーが定義したnameであったり自動生成されたidになります。実際のリソースの種類によって変わるのでそこは事前にTerraformのドキュメントを参照してください。 ちなみにAWSのEC2であればインスタンスIDがimportの際に必要な情報になります。(例:i-12345678) ドキュメントはこ

                              for_eachで書いた.tfをterraform importする | DevelopersIO
                            • criticizing each other They were | ならべかえ 英語 リスニング

                              単語をならべかえて英文を完成させよう(レベル5)「criticizing each other They were」「彼らは互いに非難しあっていた。」#英語学習 | ならべかえ 英語 リスニング

                                criticizing each other They were | ならべかえ 英語 リスニング
                              • Apply to each のパフォーマンス改善 (配列加工の場合) - MoreBeerMorePower

                                はじめに Power Automate でフローを作成していると、意図せず/特に問題視せず Apply to each を利用したループ処理を利用してしまいます。 多くの場合、問題になるのはその実行速度 (遅さ) です。特に設定を変更せず、Apply to each を使い、さらに配列変数への追加アクションをその中で実行すると処理件数や中でのアクション数に応じて数分~数十分かかるケースがでてきます。 今回は特に配列操作にApply to each を利用しているケースで、ループ処理の効率化を考えます。 そもそもどのくらい遅いのか 簡単のために、まずは他のデータソースへのアクセスを行わない場合を考えます。 入力として [1,2,3...,200] の1~200までの数字を配列として用意し、出力はその前に文字をくっつけただけの配列とします。 フローは非常に簡単で、以下のようなApply to

                                  Apply to each のパフォーマンス改善 (配列加工の場合) - MoreBeerMorePower
                                • GitHub - cycloidio/inframap: Read your tfstate or HCL to generate a graph specific for each provider, showing only the resources that are most important/relevant.

                                  You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                    GitHub - cycloidio/inframap: Read your tfstate or HCL to generate a graph specific for each provider, showing only the resources that are most important/relevant.
                                  • Terraformでimportを使う理由とfor_eachをつかったリソース定義に実リソースをimportする方法 - My External Storage

                                    for_each文を使ったTerraformのリソース定義に対してもimportができるよという話。 なお、「どうしてそのようなことをする必要があるのか?」を説明する前置きのほうが長い。 TL;DR terraformで新規に定義を作るときはterraform importから始めるのが良い 複数の開発環境などで柔軟に利用できるリソースを定義する場合は`文を使う https://www.terraform.io/docs/language/meta-arguments/for_each.html for_each文を使ったリソース定義にimportするときは配列表記を使う 対応するterraformのバージョンは0.13以上ならば問題ないはず。2021年07月時点最新版の1.0.x系でも動作する。 凡人がTerraformで新規リソースを最速で定義する Terraformで新しいリソースを

                                      Terraformでimportを使う理由とfor_eachをつかったリソース定義に実リソースをimportする方法 - My External Storage
                                    • Terraform0.12 のfor_eachで幸せになれるってよ - Qiita

                                      はじめに Terraform 0.12.6が出ました! このリリースにより、for_eachの幅が広がりました。 具体的にどういった恩恵が授かれるのかをIAM User&Groupの作成で紹介できればと思います。 環境 以下の環境で実施します。 Cloud: AWS Terraform: 0.12.6 ツラミ Terraform を使ってIAM UserやGroupを管理していてツラミにぶち当たった人は少なからずいると思います。 それは、ユーザを追加や削除する時です。 そして見覚えがあると思います。。以下のエラー User with name X already exists. もうツラミでしかない。。 ここからは、いままでのやり方(僕の)やこれからのやり方について書いていきたいと思います。 いままで まずはこのエラーが発生する場面を体験したいと思います。 Terraformコードの作成

                                        Terraform0.12 のfor_eachで幸せになれるってよ - Qiita
                                      • Support each other - Newday’s diary

                                        おはようぅうううぅこんにちわぁあああぁ こんばんわぁあああぁ いらっしゃいませ!いらっしゃいませ! ママちゃんのNewdayにようこそおこし下さり ありがとう!おおきに!どうも有難うございます。 今日はお互いにお手助けでございます。 もしも興味がございましたらママちゃんの所で ごゆっくりとねぇえええぇ。 People helping people makes his word a better place Always be willing to lend a helping hand to others, you may be the only one person who cares enought to help Lean to love with all your heart and accept the unloveable side of others for anyone c

                                          Support each other - Newday’s diary
                                        • Terraform 0.12.6からつかえるようになったresourceのfor_eachを試してみた - Qiita

                                          はじめに 今朝方こんなTweetがあったのを見た方も多いかと思います。 Terraform 0.12.6 is released and includes FOR EACH FOR RESOURCES. 👾 https://t.co/ZVWOzZKDQU Send your 👏 to @pamasaur for implementing this amazing feature! pic.twitter.com/wZbOxCx7zZ — Mitchell Hashimoto (@mitchellh) July 31, 2019 リソースでfor_eachがつかえる のか、なるほど。 これがどういうことなのかを実際に試してみました。 結論 例えばこんな書き方ができます。 variable "keyname_servername" { type = map(string) default

                                            Terraform 0.12.6からつかえるようになったresourceのfor_eachを試してみた - Qiita
                                          • 【Power Automate(MS Flow)の使い方事例】変数とループ(Apply to each)を活用しよう | フォームズのブログ

                                            前回の記事では、弊社で使用している有給休暇自動承認フローについて紹介しました。当記事は前回の記事の続編ですので、詳しくは前回の記事を参照ください。 →【Microsoft Flowの使い方事例】有給申請を自動化しよう! 「そもそもMicrosoft Flowってなに?」という方は、前々回の記事を参照ください。 →【初めてのPower Automate(MS Flow)の使い方】承認フローを作成する 今回はMicrosoft Flowで、「変数」や「ループ (Apply to each) 」を扱う際の注意点や手順について説明します。応用編として、「HTTP要求 (HTTPリクエスト) 」の使い方についても少し触れていきます! ※「Microsoft Flow」は2019年11月に「Microsoft Power Automate」と改称されました。新しい機能(RPA機能)もいくつか追加されて

                                              【Power Automate(MS Flow)の使い方事例】変数とループ(Apply to each)を活用しよう | フォームズのブログ
                                            • "Come together as a nation by staying apart from each other" --アイルランド首相のすばらしい演説について

                                              中途半端な英語使いが英国からのニュースを東京で読み、あちこちふらふらうろうろ。時々嘘。 はてブ = http://b.hatena.ne.jp/nofrills Twitter = http://twitter.com/nofrills Twitterのログ = http://twilog.org/nofrills ◆「なぜ、イスラム教徒は、イスラム過激派のテロを非難しないのか」という問いは、なぜ「差別」なのか。(2014年12月) ◆「陰謀論」と、「陰謀」について。そして人が死傷させられていることへのシニシズムについて。(2014年11月) ◆知らない人に気軽に話しかけることのできる場で、知らない人から話しかけられたときに応答することをやめました。また、知らない人から話しかけられているかもしれない場所をチェックすることもやめました。あなたの主張は、私を巻き込まずに、あなたがやってください

                                                "Come together as a nation by staying apart from each other" --アイルランド首相のすばらしい演説について
                                              • Terraformのfor_eachにmapのlistを渡してループしたい - Qiita

                                                terraform { required_providers { docker = { source = "kreuzwerker/docker" version = "2.15.0" } } } locals { images = [ { name = "foo", image = "alpine" }, { name = "bar", image = "debian" }, ] } resource "docker_container" "this" { # for_each = local.images ここにmapのlistを渡したいがエラーになる for_each = { for i in local.images : i.name => i } # こう書くのが正しい name = each.value.name image = each.value.image } これ te

                                                  Terraformのfor_eachにmapのlistを渡してループしたい - Qiita
                                                • [RFC PATCH v3 0/8] Count rlimits in each user namespace [LWN.net]

                                                  Alexey Gladkov <legion-AT-kernel.org>, Andrew Morton <akpm-AT-linux-foundation.org>, Christian Brauner <christian.brauner-AT-ubuntu.com>, "Eric W . Biederman" <ebiederm-AT-xmission.com>, Jann Horn <jannh-AT-google.com>, Jens Axboe <axboe-AT-kernel.dk>, Kees Cook <keescook-AT-chromium.org>, Linus Torvalds <torvalds-AT-linux-foundation.org>, Oleg Nesterov <oleg-AT-redhat.com> Preface ------- These p

                                                  • Terraform の count と for_each の使い分けと Splat Expressions について - tellme.tokyo

                                                    resource "aws_instance" "server" { count = 4 # create four similar EC2 instances ami = "ami-a1b2c3d4" instance_type = "t2.micro" tags = { Name = "Server ${count.index}" } }

                                                      Terraform の count と for_each の使い分けと Splat Expressions について - tellme.tokyo
                                                    • each exchanged glances other We with | ならべかえ 英語 リスニング

                                                      単語をならべかえて英文を完成させよう(レベル6)「each exchanged glances other We with」「私たちはお互いに顔を見合わせた。」#英語学習 | ならべかえ 英語 リスニング

                                                        each exchanged glances other We with | ならべかえ 英語 リスニング
                                                      • Vector databases (1): What makes each one different?

                                                        Yahoo! JapanThere’s clearly a LOT of activity in the Bay Area, California when it comes to vector databases! Also, there’s a large amount of variation in funding and valuations, and it’s clear that there exists no correlation between the capabilities of a database and the amount it’s funded for. Choice of programming language#Fast, responsive and scalable databases are typically written these days

                                                        • Terraformのコードを改善したい!|DRY原則/for_each編 - Liquid Tech Blog

                                                          こんにちは!Liquidインフラチームの上原です。 この記事では、Terraformのコードリファクタリングについて解説します。 Terraformを使っていて、コードが増えてきて読みにくい…など、同じ悩みを抱えている方の助けになれば幸いです。 導入 Liquidではインフラに AWS を、インフラ管理に Terraform を使用しています。 Terraformは、AWSなどのクラウドインフラサービスの管理ツールです。インフラ構成をコードで記述すると、それに従ってリソースの生成を実行してくれます。 手間のかかる構築作業を自動化できたり、意図しない設定をすぐに検知・修復できたりと、インフラ運用を安全でラクにしてくれる便利ツールです。 実際のコードはこんな感じ。 # AWS VPC内にEC2インスタンスを構築する # `terraform apply` を実行すると、VPC・サブネット・EN

                                                            Terraformのコードを改善したい!|DRY原則/for_each編 - Liquid Tech Blog
                                                          • Power Automate 「Apply to each(コントロール)」アクション | 誰でもできる業務改善講座

                                                            2020年8月31日2024年3月11日 English version. 「Apply to each(コントロール)」はPower Automateでループ処理を行うアクションです。 アレイ(配列)変数に格納されている要素の数だけ同様の処理を行います。 結果をアレイ(配列)の形で動的なコンテンツを受け取るアクションが 多いため条件と並んで多用するコントロールです。 またPower Automate DesktopのFor Eachに似た機能です。 この記事では、その使い方を紹介します。 利用方法 「Apply to each」の利用にはアレイ(配列)変数か動的なコンテンツが必要です。 今回は要素として1,2,3を持つアレイ(配列)変数を用意して利用します。 次に「組み込み」より「Control」(環境によってはコントロール)コネクタを選択します。 「アクション」より「Apply t

                                                              Power Automate 「Apply to each(コントロール)」アクション | 誰でもできる業務改善講座
                                                            • 【Sass】eachループ内でnth()を利用する例|連想配列の値が配列のデータを扱う

                                                              CSSのメタ言語のSassでは、Map(連想配列)のデータを扱うことができます。 Mapでプロパティなどのデータを扱うことでコードを管理しやすくなり、繰り返しデザインする箇所で効率的にデータを利用できます。 今回は、そのMapを使用したコーディングの例となり、Map(連想配列)の要素の値がリスト(配列)となるデータを、eachループ内でnth関数を使い扱い、SNSボタンをコーディングする例となります。 連想配列の値が配列のデータを扱う例|eachループ内でnth関数を利用例では、Twitter・Facebook・Instagram・YouTubeのSNSボタンのコーディングしています。なお、SNSボタンのリンクは貼っていません。 ※SNSのアイコンは、アイコンフォントが使える『Font Awesome』のCDNを参照して使用しています。 See the Pen rdrBpb by yic6

                                                                【Sass】eachループ内でnth()を利用する例|連想配列の値が配列のデータを扱う
                                                              • Do racehorses even know they're 'racing' each other? It's unlikely

                                                                When racing season arrives, everyone becomes an expert on the horses that are the stars of the spectacle. TV personalities, professional pundits and form guides talk confidently about the favourite’s “will to win”. In close races, the equine contestants “battle it out”, demonstrating “heart”, “grit” and “determination”. But do horses even know they are in a race, let alone have a desire to win it?

                                                                  Do racehorses even know they're 'racing' each other? It's unlikely
                                                                • GitHub - felixge/fgtrace: fgtrace is an experimental profiler/tracer that is capturing wallclock timelines for each goroutine. It's very similar to the Chrome profiler.

                                                                  You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                    GitHub - felixge/fgtrace: fgtrace is an experimental profiler/tracer that is capturing wallclock timelines for each goroutine. It's very similar to the Chrome profiler.
                                                                  • We’re Never Lost If We Can Find Each Other …また会えるから、ひとりじゃない❗️Facebookから… - One day One smile

                                                                    “笑う門には福来たる” 1日1回 笑ってそして美味しい物を食べてが モットーのカウンセラーのHappyブログです。

                                                                      We’re Never Lost If We Can Find Each Other …また会えるから、ひとりじゃない❗️Facebookから… - One day One smile
                                                                    • 'They don't know each others' names': How is Victoria's outbreak being spread between strangers?

                                                                      Victoria's health authorities are asserting that the latest outbreak is a bit different from its last— they say very limited contact seems to be behind some transmission of the virus in Melbourne. The state's COVID-19 Commander, Jeroen Weimar, has called it "stranger to stranger" transmission and says they're "concerned". "With previous variants, we are more used to transmission really occurring i

                                                                        'They don't know each others' names': How is Victoria's outbreak being spread between strangers?
                                                                      • eachケアシートは保湿もできる?マイクロニードルの針は痛くない?

                                                                        などを主にご紹介していきます。 今、塗るよりも貼る美容アイテムが増えていますが、その中でも人気があるのが「eachケアシート」。 今回はeachケアシートが保湿できるのか? eachケアシートで使っているマイクロニードルは痛く無いのか調査してみました! eachケアシートの購入を考えて人は私と一緒に見ていきましょう♪ \ 今なら初回限定78%OFF / 公式サイトはこちら eachケアシートの�保湿効果

                                                                        • Ritendra Datta on LinkedIn: Three suggestions during these times of intense tech layoffs, one for each… | 112 comments

                                                                          Three suggestions during these times of intense tech layoffs, one for each of the three key cohorts: 1> Folks not laid off in companies that had layoffs: "While I was not impacted by layoffs, my heart goes out to those ..." -- Why make such posts? Who's benefiting? You are drawing attention away from those actually laid off and posting for help. Sometimes the writing is so convoluted it takes me a

                                                                            Ritendra Datta on LinkedIn: Three suggestions during these times of intense tech layoffs, one for each… | 112 comments
                                                                          • Terraformでmoduleに対してfor_eachを使おうとしたらエラーだった話 - Qiita

                                                                            前提 会社の業務でTerraformでリソースを管理することが多いのですが、CloudWatch AlarmsをTerraformのmoduleで管理し、for_eachを使って似たようなCloudWatch Alarmを作ろうとしたらエラーがでたお話です。 API Gateway + Lambda関数のREST APIの構成に対して、それぞれのLambdaに対して1つのCloudWatch Alarmを作成しようとしました。基本的には同じメトリクス、同じ名前空間で、関数名が違うだけのCloudWatch Alarmをいくつか作ることになります。そこでmodule+for_eachで簡単に作ろうとしたのですが、エラーが出た話です。 また、監視対象のLambda関数は特定のaliasを持っているものとします。例えば、本番用のLambdaだけ監視したいなど。 筆者はTerraform初心者です

                                                                              Terraformでmoduleに対してfor_eachを使おうとしたらエラーだった話 - Qiita
                                                                            • Jest の test.each で Parameterized test を実行する

                                                                              Jest で関数の引数を複数パターンチェックしたい場合、ベタに書く方法のほかに、test.each でテーブルとして記述する方法があります。テストの視認性が良くなるため、オススメの記法です。今回はこちらをご紹介するとともに、いくつかの実践問題も提示します。 Jest の test.each とは Jest で Parameterized test を行うことができるメソッドです。関数の「引数と期待値」を複数個与えることができ、Jest はそれをとりかえながら、すべて実行してくれます; test.each([ [1, 1, 2], [1, 2, 3], [2, 1, 3], ])(".add(%i, %i)", (a, b, expected) => { expect(a + b).toBe(expected); }); 上記のような形で、配列によってパラメータを指定することができるようにな

                                                                                Jest の test.each で Parameterized test を実行する
                                                                              • querySelectorAll()で取得した要素をeachで回す5つの方法 - 動かざることバグの如し

                                                                                例えばhttps://github.com/のような普通のページがあって、そのページ内の全リンクを取得してforeach的な何かで順番に処理していきたいということは全然あると思う。 取得自体は簡単で const links = document.querySelectorAll('a'); で可能。が、流石JS、簡単にはいかなくて、これを回すとなると難しい。document.querySelectorAll()で返ってくるNodeListオブジェクトは単純な配列ではないからである。 ここではNodeListをなんとかしてeachするやり方を残す。 方法1 forのループを使う いつものって感じ var links = document.querySelectorAll('a'); for (var i = 0; i < links.length; i++) { console.log(li

                                                                                  querySelectorAll()で取得した要素をeachで回す5つの方法 - 動かざることバグの如し
                                                                                • Writing Just 3 Sentences Each Day Can Massively Boost Your Productivity and Happiness

                                                                                  Even the most go-getting among us only have so much free time and mental real estate. Which is why I am always on the lookout for advice so simple and compact you can squeeze it in between hungry toddlers, demanding clients, and the fifth Zoom of the day. A recent HBR post by The Happiness Equation author Neil Pasricha delivers just such a nugget of self-improvement gold. The post tells the story

                                                                                    Writing Just 3 Sentences Each Day Can Massively Boost Your Productivity and Happiness

                                                                                  新着記事