並び順

ブックマーク数

期間指定

  • から
  • まで

201 - 240 件 / 284件

新着順 人気順

commandの検索結果201 - 240 件 / 284件

  • (小ネタ)NLBへ疎通確認する時はレイヤ4(トランスポート層)のコマンドを使用してほしい | DevelopersIO

    この状態で再度ping,tracepathコマンドを実行しましたが、結果は変わりませんでした。。 どうやらNLBの仕様として、設定済みのリスナーに一致しないネットワークトラフィックは意図しないトラフィックとしてターゲットに転送せずにドロップするようです。 設定済みのリスナーに送信されるすべてのネットワークトラフィックが、意図されたトラフィックとして分類されます。設定済みのリスナーに一致しないネットワークトラフィックが、意図しないトラフィックとして分類されます。Type 3 以外の ICMP リクエストも、意図しないトラフィックとみなされます。Network Load Balancer は、意図しないトラフィックをターゲットに転送せずにドロップします。 出典:Network Load Balancer のリスナー - Elastic Load Balancing Pingで使われれるのはIC

      (小ネタ)NLBへ疎通確認する時はレイヤ4(トランスポート層)のコマンドを使用してほしい | DevelopersIO
    • macOS 14 SonomaにはMacBookやMagic KeyboardのTouch IDを利用して「sudo」を実行できるテンプレートファイルが追加。

      AppleがmacOS 14 SonomaにMacBookやMagic KeyboardのTouch IDを利用してMacで「sudo」を実行できるようテンプレートファイルを追加しています。詳細は以下から。 Appleは2016年に発表したMacBook ProでOLEDディスプレイ「Touch Bar」と生体(指紋)認証センサー「Touch ID」を導入しましたが、その後、このTouch IDを利用しターミナルでsudoコマンドを実行したさいにユーザー認証をパスワードではなく指紋認証で行えるPAMモジュールが公開され、さらに”/etc/pam.d/sudo”を利用したより簡単な方法が発見されましたが、 Appleが現地時間2023年09月26日にリリースしたmacOS 14 Sonomaでは、”/etc/pam.d/”に新たに“sudo_local.template”というテンプレートフ

        macOS 14 SonomaにはMacBookやMagic KeyboardのTouch IDを利用して「sudo」を実行できるテンプレートファイルが追加。
      • GitHub - h4l/json.bash: Command-line tool and bash library that creates JSON

        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 - h4l/json.bash: Command-line tool and bash library that creates JSON
        • research!rsc: The xz attack shell script

          Posted on Tuesday, April 2, 2024. Updated Wednesday, April 3, 2024. Introduction Andres Freund published the existence of the xz attack on 2024-03-29 to the public oss-security@openwall mailing list. The day before, he alerted Debian security and the (private) distros@openwall list. In his mail, he says that he dug into this after “observing a few odd symptoms around liblzma (part of the xz packag

          • GitHub - jkool702/forkrun: runs multiple inputs through a script/function in parallel using bash coprocs

            forkrun is an extremely fast pure-bash function that leverages bash coprocs to efficiently run several commands simultaniously in parallel (i.e., it's a "loop parallelizer"). forkrun is used in much the same way that xargs or parallel are, but is faster (see the hyperfine_benchmark subdirectory for benchmarks) while still being full-featured and only requires having a fairly recent bash version (4

              GitHub - jkool702/forkrun: runs multiple inputs through a script/function in parallel using bash coprocs
            • Building an interactive shell in Golang

              Go is great for building command-line applications. We built one: Dolt, the world's first version-controlled SQL database. We wrote our own command line parser for handling all of Dolt's subcommands and arguments, but maybe we shouldn't have. There are lots of great ones out there that if we might have used instead if we were starting the project today: spf13/cobra has great support for code gener

                Building an interactive shell in Golang
              • Makefile で環境構築を確実に一瞬で終わらせる話

                はじめに ラブグラフ 開発チーム インターン の こるく です。 私がラブグラフに Join してまず感動したのが、コマンド一発で完了する超お手軽な環境構築でした。 普通プロジェクトに Join するときは面倒な環境構築をする必要がありますが、ラブグラフではそれが全くありませんでした。 ということで今回は、それを実現している Make と Docker を使って、開発、テスト、CI、本番のすべての環境で、ランタイムの環境と環境変数の設定をすべてコードベース ( IaC というやつ? ) でラクに共有して開発体験を爆アゲしようと思います。 この構成が目指すところ ✅ 環境で悩むことをなくして開発体験を爆アゲする ✅ 環境構築をコマンド一発でできるようにする ✅ ついでにテストもコマンド一発でできるようにする ✅ 環境変数をホストマシンのシェルから排除し、コードの一部としてリポジトリ内で管理す

                  Makefile で環境構築を確実に一瞬で終わらせる話
                • パブリックDNSとプロバイダDNSの応答速度を比較してみた - Qiita

                  はじめに たいろーさんのvoicyラジオの中で「パブリックDNSを使うとネットが早くなるよ」という話があり、気になったので調べてみました。 https://voicy.jp/embed/channel/1232/704106 そもそもDNSとは DNS(Domain Name System)とは、IPアドレスとドメイン名を紐づけし、IPネットワーク上で管理するシステムです。 IPアドレス(例:17.253.144.10)とはコンピューターやネットワークを識別するためのものであり、それを文字で名づけたものをドメイン(例:apple.com)と呼んでいます。 発生しうる問題 表示しようとしているサイトのサーバーだけでなくDNSサーバーがダウンしていると通信できないということも発生します。 そしてプロバイダのDNSサーバーとの通信に時間がかかるとサイトの表示や通信が遅く感じるということもあります

                    パブリックDNSとプロバイダDNSの応答速度を比較してみた - Qiita
                  • GitHub - catatsuy/purl: Streamlining Text Processing

                    Purl is a command-line utility designed for text file parsing and manipulation, offering a modern alternative to traditional sed and perl one-liners. It features intuitive options for filtering, transforming, and managing text data. Importantly, Purl accepts both file input and standard input, providing flexibility for various workflows. Moreover, it supports multiple instances of the -filter and

                      GitHub - catatsuy/purl: Streamlining Text Processing
                    • すべてが私になった日 - Qiita

                      はじめに 昔の自分がやらかした過ちをここらへんで懺悔しておきます。 願わくば同じ失敗をしてしまう人が少しでも減りますように。 「いやこんなコマンド打たんだろ…」と思いますよね。なんか流れでやっちゃう時があるんです。ホントに。 【第1章】不穏な依頼・/直下の作業パス もう何年前になるでしょう。IT業界に就職して数年、とあるUNIX系OSで管理系機能はそれなりに理解し、開発にも操作にもすっかり慣れてきて、ちょっとした自信もついてきた頃のことでした。 先輩:「わたし君、明日お客さんセンターに搬送するマシンで最後にちょっとしたテストしたいんだ。やっといてくれないかな。オレ今日はもう用事があって。」 わたし君:「あ、いっすよ。どこに置きました?」 先輩:「作業ディレクトリ消しちゃった後だから、/直下にtest.tmpって作ってftpで入れてあるから実行権限付けて動かしてみて。じゃあ、お先~」 わたし

                        すべてが私になった日 - Qiita
                      • #!/usr/bin/env docker run

                        Dockerfile ��'d1V `qed1V #!/usr/bin/env -S bash -c "docker run -p 8080:8080 -it --rm \$(docker build --progress plain -f \$0 . 2>&1 | tee /dev/stderr | grep -oP 'sha256:[0-9a-f]*')" # syntax = docker/dockerfile:1.4.0 FROM node:20 WORKDIR /root RUN npm install sqlite3 RUN <<EOF cat >/root/schema.sql CREATE TABLE IF NOT EXISTS clicks ( id INTEGER PRIMARY KEY AUTOINCREMENT, time INTEGER NOT NULL ); E

                          #!/usr/bin/env docker run
                        • Home | mise-en-place

                          Dev Toolsmise is a polyglot tool version manager. It replaces tools like asdf, nvm, pyenv, rbenv, etc.

                          • GitHub - guywaldman/magic-cli: Command line utility to make you a magician in the terminal

                            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 - guywaldman/magic-cli: Command line utility to make you a magician in the terminal
                            • macOS 13 Ventura以降では数値計算コマンド「bc」がGNU bcからBSDライセンスのbcへ移行され、パフォーマンスが向上。

                              AppleはmacOS 13 VenturaからbcコマンドをGNU bcからBSDライセンスのbcへ移行したようです。詳細は以下から。 Appleが現地時間2024年03月07日にリリースした「macOS 14.4 Sonoma」では、USBハブが利用できなくなる不具合やJavaプロセスが予期せず終了してしまう不具合、PACE/iLokで保護されたAUプラグインによりLogic ProなどのDAWアプリがクラッシュする不具合など複数の不具合が報告されたため、25日になってHotfixとなる「macOS 14.4.1 Sonoma」がリリースされましたが、

                                macOS 13 Ventura以降では数値計算コマンド「bc」がGNU bcからBSDライセンスのbcへ移行され、パフォーマンスが向上。
                              • かのジョン・ラセターがBSDデーモンのロゴを描いていた! - YAMDAS現更新履歴

                                www.jacobelder.com MIT の蚤の市で、1986年に発行された 4.3 BSD のマニュアルの表紙に描かれている BSD デーモンのマスコットに「初期 Unix システムと現代文化のつながり」を見つけたという話である。 なにかというと、BSD デーモンを描いたのが、ルーカスフィルムの John Lassetter だったことに気づいたんですね。 そう、後にピクサーで『トイ・ストーリー』シリーズをはじめとする数々の CG アニメの名作を手がけた巨匠ジョン・ラセターその人である。 彼が BSD デーモンのログを最初に描いたというわけではないようだが、彼のバージョンがもっともよく知られている。 いやぁ、知らなかったねぇ……いや、いくらなんでもこんなイイ話を知らないというのはおかしい話で、加齢による記憶力の減退が原因で、(当時の同僚が毎号買って職場にもって来ていた)「BSD ma

                                  かのジョン・ラセターがBSDデーモンのロゴを描いていた! - YAMDAS現更新履歴
                                • 「Linux」でデバイスの円滑な動作を維持するために知っておくべきコマンド5選

                                  Jack Wallen (Special to ZDNET.com) 翻訳校正: 編集部 2024-05-02 07:45 「Linux」には、素晴らしい点がたくさんある。非常に強力な機能を常時すぐに使えることも、その1つだ。そうした強力な機能を利用すれば、問題のトラブルシューティングに役立つ有益な情報を得たり、RAMやストレージの使用量を確認したりできる。 Linuxを長年使用してきた筆者は、これらのツールに依存するようになった。ほとんどのツールは、Linuxディストリビューションに標準で搭載されており、かなり使いやすい。 これらのコマンドを解説する前に、知っておいてほしいことがある。読者の皆さんが今後、これらのコマンドを使うことは一度もないかもしれない。実際に、今日のGUIデスクトップは、コマンドラインに頼らなくても使いこなせることを目指しているはずだ。もちろん、サーバーを使用している

                                    「Linux」でデバイスの円滑な動作を維持するために知っておくべきコマンド5選
                                  • The ugrep file pattern searcher

                                    a more powerful, ultra fast, user-friendly, compatible grep (that is also completely free!) ugrep release 5.1 ugrep installs on MacOS: brew install ugrep Windows: winget install Genivia.ugrep Windows: choco install ugrep Windows: scoop install ugrep Alpine: apk add ugrep ugrep-doc Android Termux: pkg install ugrep Arch: pacman -S ugrep CentOS: dnf install ugrep Debian: apt-get install ugrep Fedora

                                    • GitHub - wolandark/bash-dungeon: An educational dungeon crawler in the shell

                                      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 - wolandark/bash-dungeon: An educational dungeon crawler in the shell
                                      • IBM, Red Hat and Free Software: An old maddog’s view

                                        IBM, Red Hat and Free Software: An old maddog’s view Copyright 2023 by Jon “maddog” Hall Licensed under Creative Commons BY-SA-ND Photo: © Santiago Ferreira Litowtschenko Several people have opined on the recent announcement of Red Hat to change their terms of sales for their software.  Here are some thoughts from someone who has been around a long time and been in the midst of a lot of what occur

                                          IBM, Red Hat and Free Software: An old maddog’s view
                                        • Freedom and Portability

                                          The economic advantages of portability are very great. In many segments of the computer industry, the dominant cost is development and maintenance of software. Dennis Ritchie and Stephen Johnson 1978 … many insist that C is the programming language and that it will last forever. Byte Magazine 1983 The August 1983 issue of Byte Magazine devoted its cover, and a large part of its editorial content,

                                            Freedom and Portability
                                          • MakefileをやめてTaskに移行しました - M&Aクラウド開発者ブログ

                                            こんにちは、kubotakです。 弊社では、開発環境の構築にMakefileをタスクランナーとして利用していました。 しかし、予てよりMakefileは「コンパイル、依存関係の管理、インストールなどのルールを記述しておくためのファイル」であるため、タスクランナーとして利用している現状には違和感を感じでいました。 引数の取り回しやhelp(list表示)などひと手間必要で、本来の存在とは異なる利用のためハックな使い方をしていました。 Qiitaの以下の記事を参考にMakefileやめました。 qiita.com Task Taskはタスクランナー・ビルドツールでGNU Makeより使いやすいものを目指したプロダクトだそうです。 Go言語により作られているので利用者側としては1バイナリで済むのでほかの依存はありません。 MacOSであればBrewでインストール可能なので手軽に使うことができそう

                                              MakefileをやめてTaskに移行しました - M&Aクラウド開発者ブログ
                                            • 画像処理の入門 - Qiita

                                              最近、弊社で画像処理の案件が増えているらしく、学生時代に研究でかじっていた私にドンピシャな案件がやってきています。 そこで、画像処理を少しでも知ってもらうように、今回は画像処理の基本であるOpenCVのライブラリを使って簡単な画像処理を実施していきたいと思います。 準備 今回はPythonを使用して、画像処理を行います。Pythonが使用できる環境を用意してください。 ライブラリはOpenCVを使用します。Pythonがインストール出来たら下記のコマンドでライブラリをインストールしてください。

                                                画像処理の入門 - Qiita
                                              • dax - Cross-platform shell tools for Node.js

                                                In July 2022, I released dax for Deno providing a cross-platform shell for JavaScript written in JavaScript: const data = $.path("data.json").readJsonSync(); await $`git add . && git commit -m "Release ${data.version}"`; This is similar and inspired by zx, but because it uses a cross-platform shell with common built-in cross-platform commands, more code is going to work the same way on different o

                                                • Windowsセキュリティ(Defender)をコマンドラインで扱う (1/2)

                                                  Windowsを使っていると、ときどきWindowsセキュリティ(Defender)からの通知を見ることがある。今回は、このWindowsセキュリティの機能をコマンドラインから使う方法を解説する。 Windowsセキュリティの「ウィルスと脅威の防止」が、Microsoft Defender Antivirusのウィンドウになる。すべての履歴を見るには、「フィルター」で「フィルターのクリア」を選択する そもそもDefenderとは? 以前からWindowsを使っているユーザーからすれば、Windowsのセキュリティ機能といえば「Defender」を思い浮かべるだろう。Defenderの名称は、Windows XP時代の2006年(これ以前にベータ版が配布されていた)にスパイウェア対策ソフトに使われた。これは買収した製品(GIANT Company SoftwareのGIANT AntiSpa

                                                    Windowsセキュリティ(Defender)をコマンドラインで扱う (1/2)
                                                  • Grep by example: Interactive guide

                                                    grep is the ultimate text search tool available on virtually all Linux machines. While there are now better alternatives (such as ripgrep), you will still often find yourself on a server where grep is the only search tool available. So it's nice to have a working knowledge of it. That's why is I've created this interactive step-by-step guide to grep operations. You can read it from start to finish

                                                      Grep by example: Interactive guide
                                                    • Release 8.1.0 · google/zx

                                                      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

                                                        Release 8.1.0 · google/zx
                                                      • DotSlash

                                                        SimpleDotSlash enables you to replace a set of platform-specific, heavyweight executables with an equivalent small, easy-to-read text file. No OverheadDotSlash is written in Rust so it can run your executables quickly and transparently.

                                                        • GitHub - branc116/brplot: +256,000,000 points per plot, +60 Fps on shity laptop. Only limit is the size of your RAM.

                                                          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 - branc116/brplot: +256,000,000 points per plot, +60 Fps on shity laptop. Only limit is the size of your RAM.
                                                          • GitHub - Ph0enixKM/Amber: 💎 Amber the programming language compiled to bash

                                                            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 - Ph0enixKM/Amber: 💎 Amber the programming language compiled to bash
                                                            • Reaching the Unix Philosophy's Logical Extreme with Webassembly - Xe Iaso

                                                              Reaching the Unix Philosophy's Logical Extreme with Webassembly YouTube link (please let me know if the iframe doesn't work for you) Good morning Berlin! How're you doing this fine morning? I'm Xe and today I'm gonna talk about something that I'm really excited about: WebAssembly. WebAssembly is a compiler target for an imaginary CPU that your phones, tablets, laptops, gaming towers and even watch

                                                              • AWK As A Major Systems Programming Language — Revisited

                                                                AWK As A Major Systems Programming Language — Revisited Preface I started this paper in 2013, and in 2015 sent it out for review to the people listed later on. After incorporating comments, I sent it to Rik Farrow, the editor of the USENIX magazine ;login: to see if he would publish it. He declined to do so, for reasonably good reasons. The paper languished, forgotten, until early 2018 when I came

                                                                • GitHub - cmang/durdraw: Versatile ASCII and ANSI Art text editor for drawing in the Linux/Unix/macOS terminal, with animation, 256 and 16 colors, Unicode and CP437, and customizable themes

                                                                  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 - cmang/durdraw: Versatile ASCII and ANSI Art text editor for drawing in the Linux/Unix/macOS terminal, with animation, 256 and 16 colors, Unicode and CP437, and customizable themes
                                                                  • Apple、macOS 14.4 Sonomaで「airport」コマンドを非推奨とし、将来のリリースで削除。

                                                                    AppleがmacOS 14.4 Sonomaで「airport」コマンドを非推奨にし、将来のリリースで削除すると発表しています。詳細は以下から。 Appleは現地時間2024年03月07日、英語など一部の言語での文字おこし機能を搭載したポッドキャストアプリなどを含む「macOS 14.4 Sonoma」をリリースしましたが、このmacOS 14.4ではWi-Fiネットワーク用コマンド“airport”が非推奨となり、今後のアップデート(macOS 15.x?)で削除する予定であると記載されています。 WARNING: The airport command line tool is deprecated and will be removed in a future release. For diagnosing Wi-Fi related issues, use the Wireles

                                                                      Apple、macOS 14.4 Sonomaで「airport」コマンドを非推奨とし、将来のリリースで削除。
                                                                    • Fish Shellの設定ファイルを見直して起動時間を 470ms -> 14.7ms に短縮した話

                                                                      はじめに 数日前にこのような記事を見かけました。 この記事ではZshの起動時間を大幅に短縮する方法が紹介されています。 さて、自分はここ数年(というかコードを書き始めてからずっと)、 Fish Shell を使っています。 Fish Scriptがとても書きやすく、補完がとても優秀なのでずっと気に入って使ってます。 しかし、起動時間が遅いなとなんとなく感じていたので、この機会に設定を見直してみました。 自分自身のマシン環境 ➜ neofetch 'c. ryoppippi ,xNMM. ------------------------------------ .OMMMMo OS: macOS 13.5.1 22G90 arm64 OMMM0, Host: Macmini9,1 .;loddo:' loolloddol;. Kernel: 22.6.0 cKMMMMMMMMMMNWMMMM

                                                                        Fish Shellの設定ファイルを見直して起動時間を 470ms -> 14.7ms に短縮した話
                                                                      • Effects Showroom - TerminalTextEffects Docs

                                                                        Intro to TTE ChangeBlog How to install & use TTE Effects Showroom Effects Showroom Library Cookbook Reference Effects Showroom The effects shown below represent the built-in library of effects and their default configuration. Beams Creates beams which travel over the canvas illuminating the characters. Reference Config Beams Command Line Arguments --beam-row-symbols (ASCII/UTF-8 character) [(ASCII

                                                                        • xargs 完全理解マニュアル - xargs は拡張引数 (extended arguments) の略って知っていますか? - Qiita

                                                                          xargs 完全理解マニュアル - xargs は拡張引数 (extended arguments) の略って知っていますか?ShellScriptUNIXシェル芸POSIXUnix哲学 はじめに xargs コマンドは「なにか凄そうだけどよく分からないコマンド」としてよく知られています。使う人は使うけど何をやっているのか全くわからないコマンドです。また、やっていることがわかっても実際に使ってみると、空白やクォーテーション文字でエラーになってしまう使い方がとても難しいコマンドです。この記事はそういうよくわからない xargs はどういうコマンドなのか解説します。この記事を読むと xargs を「完全に理解した」と言えるようになるでしょう。 xargs コマンドが難しい理由は、xargs 自体の設計や実装の問題で古い時代の制限が多いからです。仕様が意味不明で一貫性がなくで他のコマンドと正しく

                                                                            xargs 完全理解マニュアル - xargs は拡張引数 (extended arguments) の略って知っていますか? - Qiita
                                                                          • Advanced Shell Scripting Techniques: Automating Complex Tasks with Bash

                                                                            Advanced Shell Scripting Techniques: Automating Complex Tasks with Bash Bash scripting, a cornerstone of Unix and Linux system administration, offers powerful tools to automate repetitive tasks, streamline workflows, and handle complex operations. For those already comfortable with basic scripting, diving into advanced techniques can unlock new levels of efficiency and capability. This post will e

                                                                              Advanced Shell Scripting Techniques: Automating Complex Tasks with Bash
                                                                            • Python's many command-line utilities

                                                                              Every command-line tool included with Python. These can be run with python -m module_name. Table of contents How -m works General-purpose CLI tools Especially handy on Windows machines Working with Python code Analyzing Python code Just for fun Other Python-related tools Oddly meta tools Less useful tools Every command-line tool in Python How -m works Running Python with the -m command-line argume

                                                                                Python's many command-line utilities
                                                                              • Introduction to Ratatui - Ratatui Book

                                                                                Introduction to Ratatui Ratatui is a Rust library for cooking up delicious text user interfaces (TUIs). It is a lightweight library that provides a set of widgets and utilities to build simple or complex rust TUIs. Ratatui is an immediate mode graphics library. Applications imperatively declare how to render each frame in full by combining widgets and layout. Ratatui then draws the described UI wi

                                                                                • 【WSL2】時間のかかるコマンドが終了したらデスクトップ通知が出るようにした - Qiita

                                                                                  やりたかったこと ビルドやデプロイなど数分単位でかかる処理を待つのが嫌、だけどターミナルに張り付くのは時間の無駄ということで、自動的に通知してくれる仕組みを作りました。 ↓こんな感じ 動作環境 Windows11 Pro 23H2 WSL 2.0.9.0 Ubuntu 22.04.3 LTS Bash 5.1.16 WSLからWindows側にデスクトップ通知を出す PowerShellでデスクトップ通知(トースト通知と言うらしい)を簡単に出せます。 スクリプトを書いて、WSLから呼び出す形が良さそうです。 PowerShellで出せる通知の種類やカスタマイズについてはこちらの記事が参考になりました。 実行ポリシー WSLからPowerShellスクリプトを実行するために実行ポリシーの変更が必要でした。 PowerShellを管理者権限で開き、下記のコマンドを実行します。 param (

                                                                                    【WSL2】時間のかかるコマンドが終了したらデスクトップ通知が出るようにした - Qiita