並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 1080件

新着順 人気順

terminalの検索結果1 - 40 件 / 1080件

  • How terminal works. Part 1: Xterm, user input

    Motivation Introduction User input strace Printing non-printable stty raw -echo -isig UTF-8 Conclusion Motivation This blog series explains how modern terminals and command-line tools work. The primary goal here is to learn by experimenting. I’ll provide Linux tools to debug every component mentioned in the discussion. Our focus is to discover how things work. For the explanation of why things wor

    • Amber Documentation

      Documentation for Amber programming language

        Amber Documentation
      • 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
        • Amber The Programming Language

          Write your scripts in a modern type-safe and runtime-safe programming language that handles many bugs and mistakes during compilation process.

            Amber The Programming Language
          • なぜsortコマンドはuniq機能を含んでいるのか?(Unix哲学はどこ行った!?) - Qiita

            Unix 哲学的に考えれば、行を並び替える sort コマンドと重複行を取り除く uniq コマンドは別のコマンドであるべきなように思えます。しかし sort コマンドには -u オプションとして uniq コマンドに相当する機能が組み込まれています。なぜそうなっている(そうなってしまった)のかを「ソフトウェア作法(さくほう)」を参照しながらこの記事で明らかにしたいと思います。 「誰」がuniq機能をsortコマンドに組み込んだ!? 熱烈的な Unix 哲学の信者は「どうせ Unix 哲学を理解しない GNU が便利だと思ってオプションを追加したのだろう」と考えるかもしれません。しかし uniq 機能が組み込まれたのは Version 7 Unix、つまり Unix の開発者が組み込んだのです。これは 1979 年の Version 7 Unix のドキュメントから明らかです。 sort:

              なぜsortコマンドはuniq機能を含んでいるのか?(Unix哲学はどこ行った!?) - Qiita
            • 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
              • Node.js の進化に伴い不要となったかもしれないパッケージたち

                tl;dr はじめに 2024 年の 4 月 24 日に Node.js 22 がリリースされました。ESM を 条件付きで require する機能や、--run フラグによる npm スクリプトのパフォーマンス改善などが v22 で追加され、2009 年に Ryan Dahl が Node.js をリリースしてから 15 年が経つ今も、Node.js は進化を続けています[1]。 こうして Node.js 自身が強化されていくにつれ、以前はサードパーティーのパッケージを使用して実現することが一般的であった機能が Node.js のみで実現可能となり、当該パッケージが不要となるような場合があります。冒頭に引用した Ben Holmes の動画では、そのように不要となったパッケージとして dotenv node-fetch chalk mocha が挙げられていますが、この記事では「これら

                  Node.js の進化に伴い不要となったかもしれないパッケージたち
                • How to use JSON Path · Bump.sh

                  A few years ago most API designers, developers, and technical writers would have had very little reason to bump into JSONPath, but its starting to get more and more relevant as more tools and standards start relying on it. So what is JSONPath, what is it used for, and how can you get up to speed with using it? JSONPath is a query language that can be used to extract data from JSON documents, which

                    How to use JSON Path · Bump.sh
                  • GitHub - say4n/jf: flatten them 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 - say4n/jf: flatten them json
                    • ショートカットと端末 - SmartHR Tech Blog

                      SmartHR でプロダクトエンジニアをしている tmtms です。読み方がわからない(自分でもわからない)ので社内では tommy と名乗ってます。 2月に開催された社内LT大会第3回で「ショートカットと端末」というネタで発表したのですが、とても5分に収まる量ではなかったのでここにしたためておきます。 キーバインド macOSのテキスト編集のショートカットとEmacsとbashのキーバインドを比較するとこんな感じです。 control macOS Emacs bash A 行頭に移動 行頭に移動 行頭に移動 B 左に移動 左に移動 左に移動 C - prefix 中断 D 右文字削除 右文字削除 右文字削除/入力終了 E 行末に移動 行末に移動 行末に移動 F 右に移動 右に移動 右に移動 G - 中断 中断 H 左文字削除 ヘルプ 左文字削除 I - タブ タブ J - 改行 改行 K

                        ショートカットと端末 - SmartHR Tech Blog
                      • GitHub - MHNightCat/superfile: Pretty fancy and modern terminal file manager

                        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 - MHNightCat/superfile: Pretty fancy and modern terminal file manager
                        • 「パープル・レイン」発売40周年記念!孤高の天才“プリンス”の真実に迫るドキュメンタリー『プリンス ビューティフル・ストレンジ』公開決定! - SCREEN ONLINE(スクリーンオンライン)

                          2016年4月21日、57歳の若さで急死した天才ミュージシャン・プリンス。彼の真実に迫る傑作ドキュメンタリー『Mr. Nelson On The North Side』が、邦題『プリンス ビューティフル・ストレンジ』として、プリンスの誕生日である6月7日(金)より新宿シネマカリテほか全国ロードショーが決定した。 孤高の天才“プリンス”の真実80年代、自伝的映画『パープル・レイン』、同映画サントラのメガヒットで、一躍世界的スーパースターに。公式発売されたアルバムのトータルセールスは1億5千万枚。12枚のプラチナアルバムと30曲のトップ40シングルを生み出し、7度のグラミー賞を受賞。2004年にはロックの殿堂入りを果たすなど、生涯ロック・ポップス界の頂点に君臨し続けた。ポール・マッカートニーが“クリエイティブの巨人”と称し、エリック・クラプトンが“世界で最高のギタリストの一人”と賞賛するなど、

                            「パープル・レイン」発売40周年記念!孤高の天才“プリンス”の真実に迫るドキュメンタリー『プリンス ビューティフル・ストレンジ』公開決定! - SCREEN ONLINE(スクリーンオンライン)
                          • 「PuTTY」に秘密鍵が復元できてしまう深刻な脆弱性 ~「WinSCP」など他ツールにも影響/v0.81への更新と鍵の再生成を

                              「PuTTY」に秘密鍵が復元できてしまう深刻な脆弱性 ~「WinSCP」など他ツールにも影響/v0.81への更新と鍵の再生成を
                            • 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
                              • Shell History Is Your Best Productivity Tool | Martin Heinz | Personal Website & Blog

                                If you work in shell/terminal often enough, then over time the history will become your personal knowledge vault, documentation and command reference. Being able to use this personal documentation efficiently can hugely boost your productivity. So, here are a couple of tips on how to optimize your shell history configuration and usage to get the most out of it. Configuration I use ZSH and Oh My Zs

                                • Rotz

                                  Rust DotfilemanagerRust Dotfile managerRust Dotfile sRust Dot sR ust DotsR otsRot sRotz 👃 Fully cross platform dotfile manager and dev environment bootstrapper written in Rust.

                                  • コードやコマンド出力を画像化するコマンドラインツール「Freeze」の紹介

                                    $ freeze main.js \ --window \ --show-line-numbers \ --border.radius 8 \ --shadow.blur 4 \ --margin 12 こういう画像を作れます。 こういうの この記事では Freeze の基本的な使い方について簡単に紹介します。 インストール 基本的な使い方 コマンドの実行結果を画像化 見た目のカスタマイズ フォント mac のウィンドウっぽくする 枠線 行番号 設定ファイル まとめ インストール Homebrew を使用している場合は brew install でインストールできます。

                                      コードやコマンド出力を画像化するコマンドラインツール「Freeze」の紹介
                                    • 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

                                      • 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
                                        • 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 - ceritium/flatito: Grep for YAML and JSON files

                                            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 - ceritium/flatito: Grep for YAML and JSON files
                                            • 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
                                              • Debug Shell · OrbStack Docs

                                                OrbStack Debug Shell provides useful commands & tools, making it easy to debug any container (even minimal/distroless/read-only containers that have no shell or commands). Compared to docker exec, Debug Shell has: Shell auto-complete and syntax highlightingEditors (nano, vim)Common tools (htop, curl, strace, ip, etc.)Colorful output in ls and other commandsPackage manager with over 80,000 packages

                                                • PowerShellの今を見る 2つあるPowerShellはどっち使えばいい? (1/2)

                                                  PowerShellに関しては、2021年に1回まとめたのだが、あれから3年も経過したので最新情報も含めて、簡単に解説したい。なお、それぞれのこれまでの経緯などは、過去記事に記載しているので参考にしてほしい。 ●あらためて「PowerShell」の現状と登場後の経緯を整理する https://ascii.jp/elem/000/004/052/4052789/ 結論から言えば、PowerShellには、Windowsに同梱されている「Windows PowerShell」と、ユーザーがインストールする必要がある「PowerShell」がある。コマンドラインを使う頻度が高いようならば、最新のPowerShellをインストール、そうでなければWindows PowerShellで十分である。 PowerShellのインストーラーなどに表示される奇妙な人物イラストを見たことがある人もいるだろう。

                                                    PowerShellの今を見る 2つあるPowerShellはどっち使えばいい? (1/2)
                                                  • 初級者でも「PowerShell」がしっかり学べるオンライン基礎コースはこれだ

                                                    関連キーワード Windows | Microsoft(マイクロソフト) | OS MicrosoftのクライアントOS「Windows」が標準搭載するコマンド実行ツール「PowerShell」。システム管理者はこれを使いこなすことで、さまざまな業務の自動化ができる。PowerShellの“プロ”になるには、どうすればいいのか。PowerShellが学べるオンライン学習コースを紹介する。 4.まず基礎から学ぶ「PowerShell 7 Fundamentals」 併せて読みたいお薦め記事 連載:PowerShellを学ぶオンラインコース10選 第1回:「PowerShell」の学習方法とは? 初級から上級向けのオンラインコース 「PowerShell」を活用するには 「Windows」のキオスクモードを「PowerShell」で設定する方法 PowerShell「while」「do whi

                                                      初級者でも「PowerShell」がしっかり学べるオンライン基礎コースはこれだ
                                                    • Node.js — Node v21.7.0 (Current)

                                                      2024-03-06, Version 21.7.0 (Current), @RafaelGSS prepared by @marco-ippolito Text Styling util.styleText(format, text): This function returns a formatted text considering the format passed. A new API has been created to format text based on util.inspect.colors, enabling you to style text in different colors (such as red, blue, ...) and emphasis (italic, bold, ...). const { styleText } = require('n

                                                        Node.js — Node v21.7.0 (Current)
                                                      • WSLからWindowsへのクリップボードコピーを高速化する - ぶていのログでぶログ

                                                        私は普段VSCodeを使っていて、拡張機能としてvscode-nvimを使っていて、そしてこの拡張の設定でnvimはWSL上で実行するようにしている。 この設定にしてほとんど困ることはないのだが、唯一困るのがクリップボードが使えないことである。 理由は簡単でnvimがWSL上で実行されるために、クリップボード操作をしてもWindowsへ反映されないからである。 この問題をGoogle検索するとpowershell.exeを使ってクリップボードをコピーする方法が見つかる。 見つかった方法で解決はするのだが、WSLからexeを実行する関係でものすごく遅い。 これは厳しい…っとなってたが解決する方法を見つけたので備忘として残しておく。 解決策: WSLgを使う 解決方法は至ってシンプルでWSLgを使うことである。 どういうことかというのを簡単に説明すると、WSLgはWaylandというプロトコル

                                                          WSLからWindowsへのクリップボードコピーを高速化する - ぶていのログでぶログ
                                                        • bash debugging

                                                          Here's a preview from my zine, Bite Size Bash!! If you want to see more comics like this, sign up for my saturday comics newsletter or browse more comics!

                                                            bash debugging
                                                          • iTermをやめてVSCodeのターミナルに寄せる - yasuhisa's blog

                                                            背景 担保したいこと 1: ホットキーで一撃で呼び出せる 2: ウィンドウを透過させてターミナルと他のウィンドウを同時に眺められること 調査したこと & 解決方法 ホットキーで呼び出せるか => hammerspoonで割り当てで対応 ターミナルの透過 => 無理そうなので、代替手段で対応 メモ: ターミナル関係のキーバインド tmuxっぽくしたい その他キーバインド 背景 iTermをずいぶん長く使ってきたけど*1、VSCodeのターミナルが急速に進化しているので、乗り換えを検討した。 VSCodeが色々便利になってきた 自分が使っている範囲だと、vimキーバインドも特に問題ない*2 普段のコーディングはVSCode、コマンド操作くらいしかiTermは使っていない 特にCopilot系の進化は目覚ましい、長い物には巻かれろというか長期的にはエコシステムに乗っておきたい エディタだけでなく

                                                              iTermをやめてVSCodeのターミナルに寄せる - yasuhisa's blog
                                                            • In praise of Nushell

                                                              I'm a little old school and spend a ton of time in the terminal; many programmers and data scientists are the same. The magic of pipes Most people will use the default shell that is installed on their system, either bash or zsh.1 Running commands is OK, but the real magic is when commands are designed to do one small thing well, and then you compose them together with pipes: # look for "hello" in

                                                              • シェルの履歴とイクンリメンタル検索を使う

                                                                社内のテックトークで LT したスライドです

                                                                  シェルの履歴とイクンリメンタル検索を使う
                                                                • シェルのバックグラウンド実行って後だしできるって知ってました? - Qiita

                                                                  この前までの私のちょっと時間のかかるバッチ実行の日常 「よっしゃー、今日はバッチ処理やるで!」と気合い入れて、タタタタッターン(bash xxxx.sh + Enter)。 おっと、またやらかしたわ。コマンドの末尾に&つけんの忘れたら、プロセスがフォアグラウンドで動いてまうねん。 これやと、ターミナルがこのタスクに独り占めされてまうわ。 この状況をどうにかするには、Ctrl+Cでプロセスを止めてからやり直すか、それとも別のターミナルウィンドウを開くしかないねん。めっちゃ面倒くさいなあ。 今後の私のちょっと時間のかかるバッチ実行の日常 「さて、本日はバッチ処理の実施日でございますね」と心に留めました。 タッタタタッターン。 あら、不覚にも再び&を添え忘れてしまい、結果としてフォアグラウンドでの実行を余儀なくされました。 しかし、ご心配なく。 まずは、Ctrl+Zを駆使してプロセスを一時停止い

                                                                    シェルのバックグラウンド実行って後だしできるって知ってました? - Qiita
                                                                  • Warp, the modern terminal, is now available for Linux

                                                                    Warp is now available for Linux! You can install Warp on most Linux distributions, including Ubuntu, Fedora, Arch Linux or Red Hat. The initial set of available packages include: .deb (apt).rpm (yum/dnf/zypper).pkg.tar.zst (pacman).AppImage ‍ The Windows version of Warp is in development now and slated to release later this year. You can join the Windows waitlist today and be the first to know whe

                                                                      Warp, the modern terminal, is now available for Linux
                                                                    • GitHub - Textualize/toolong: A terminal application to view, tail, merge, and search log files (plus JSONL).

                                                                      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 - Textualize/toolong: A terminal application to view, tail, merge, and search log files (plus JSONL).
                                                                      • 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

                                                                        • 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 - facebook/dotslash: Simplified executable deployment

                                                                            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 - facebook/dotslash: Simplified executable deployment
                                                                            • 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.

                                                                              • 「Cygwin 3.5」が公開、Windows 7/8、Windows Server 2008 R2/2012への対応を終了/Windows上に擬似的なUNIX環境を構築する互換レイヤー

                                                                                  「Cygwin 3.5」が公開、Windows 7/8、Windows Server 2008 R2/2012への対応を終了/Windows上に擬似的なUNIX環境を構築する互換レイヤー
                                                                                • シェルスクリプトをJavaScript/TypeScriptで記述、どのOSでも実行できる「Bun Shell」、JavaScriptランタイムのBunが発表

                                                                                  JavaScriptランタイムのBunは、新機能としてシェルスクリプトをJavaScriptもしくはTypeScriptで記述し、特定のOSに依存せずに実行できる「Bun Shell」を発表しました。 シェルスクリプトは特定のシェルに依存するもの LinuxやmacOS、WindowsなどのOSは一般に、「シェル」(Shell)と呼ばれる機能を備えています。 シェルはコマンドラインインターフェイスなどのユーザーとの対話機能を備えており、例えばLinuxのコマンドラインで「ls」コマンドを打ち込むとファイルの一覧が返ってくるという動作はシェルが提供しています。 そしてシェルでは一般に、こうしたコマンドを複数つなげた一連の動作をスクリプトとして定義し実行できる「シェルスクリプト」が利用可能です。例えば、次のシェルスクリプトは、「ls」コマンドによるファイルの一覧をファイル「list.txt」に

                                                                                    シェルスクリプトをJavaScript/TypeScriptで記述、どのOSでも実行できる「Bun Shell」、JavaScriptランタイムのBunが発表