並び順

ブックマーク数

期間指定

  • から
  • まで

401 - 440 件 / 735件

新着順 人気順

cuiの検索結果401 - 440 件 / 735件

  • Piro🎉"シス管系女子"シリーズ累計5万部突破!!🎉 on Twitter: "大量ファイルの消失事故事例。シェルスクリプト製の重いタスクが走ってる最中に、そのスクリプトを更新した結果、(bashの「実行中のスクリプトが書き換わった場合、書き換え後の内容で処理が継続される」仕様… https://t.co/6T7WSX7f8H"

    大量ファイルの消失事故事例。シェルスクリプト製の重いタスクが走ってる最中に、そのスクリプトを更新した結果、(bashの「実行中のスクリプトが書き換わった場合、書き換え後の内容で処理が継続される」仕様… https://t.co/6T7WSX7f8H

      Piro🎉"シス管系女子"シリーズ累計5万部突破!!🎉 on Twitter: "大量ファイルの消失事故事例。シェルスクリプト製の重いタスクが走ってる最中に、そのスクリプトを更新した結果、(bashの「実行中のスクリプトが書き換わった場合、書き換え後の内容で処理が継続される」仕様… https://t.co/6T7WSX7f8H"
    • Start all of your commands with a comma

      Like many Unix users, I long ago created a ~/bin/ directory in my home directory and added it to my PATH so that I could supplement the wonderfully rich set of basic Unix commands with some conveniences and shell scripts of my own devising. The problem, of course, was the chance of collision. Because my shell script names tended to be short and pithy collections of lowercase characters, just like

      • Terminal colours are tricky

        Yesterday I was thinking about how long it took me to get a colorscheme in my terminal that I was mostly happy with (SO MANY YEARS), and it made me wonder what about terminal colours made it so hard. So I asked people on Mastodon what problems they’ve run into with colours in the terminal, and I got a ton of interesting responses! Let’s talk about some of the problems and a few possible ways to fi

        • ECS Fargate でshell を起動する - y-ohgi's blog

          TL;DR ついに kubectl exec 的な機能がECS にもきた https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html 既存のコンテナに新しくなにかをインストールする必要はなく、SSM 経由でつかえる やる チュートリアルのとおりにやる。 https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html タスク用IAMロール作成 SSM 経由でECS へコマンドを実行するため、その権限用のIAM ロールを作成。 名前は ecsTaskRole にし、Principalは "Service": "ecs-tasks.amazonaws.com" 。 インラインポリシーで以下を定義。 { "Version": "

            ECS Fargate でshell を起動する - y-ohgi's blog
          • PowerShellでも手軽にコマンド天気予報が可能になった「wttr.in」

            wttr.inは2016年から開発を続けてきた天気情報を取得できるサーバーだ。Linuxであればcurlやwget、PowerShellはInvoke-RestMethodを用いることで、現在地の天気情報を端末などに表示できる。 Windows 10であればWindows PowerShellもしくはPowerShellを起動し、「Invoke-RestMethod wttr.in」と実行する 既定では現在地の天気を示し出すが、「curl wttr.in/London」なら英国のロンドン、「curl wttr.in/Salt+Lake+City」なら米国ユタ州のソルトレイクシティーの天気が示される。 多言語に対応しており、コマンドラインに「?lang=ja」を追加すれば、日本語表示も行われる 出力形式は前述のANSIに加えて、プレーンテキストやHTML、JSON、PNGに対応。既存の画像フ

              PowerShellでも手軽にコマンド天気予報が可能になった「wttr.in」
            • perl for shell, awk and sed programmers

              YAPC::Hakodate 2024 Track A 12:25〜

                perl for shell, awk and sed programmers
              • 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

                • Customizing your shell

                  Table of Contents Which terminal should I use? What font should I use? What shell should I use? Configuring your shell Configuring your prompt Shell configuration frameworks Summary Going further Customizing your shell It is very common for programmers to tweak and customize their terminal and shell for hours, add or write new plug-ins, all in pursuit of the “perfect environment” and an increase o

                    Customizing your shell
                  • PowerShell のスクリプトが実行できない場合の対処方法 - Qiita

                    概要 PowerShell でスクリプトを書いて実行したとき、以下のエラーが表示されてスクリプトが実行できない場合があります。 c:\work>PowerShell .\test.ps1 .\test.ps1 : このシステムではスクリプトの実行が無効になっているため、ファイル C:\work\test.ps1 を読み込むことができませ ん。詳細については、「about_Execution_Policies」(https://go.microsoft.com/fwlink/?LinkID=135170) を参照してください。 発生場所 行:1 文字:1 + .\test.ps1 + ~~~~~~~~~~ + CategoryInfo : セキュリティ エラー: (: ) []、PSSecurityException + FullyQualifiedErrorId : Unauthorize

                      PowerShell のスクリプトが実行できない場合の対処方法 - Qiita
                    • [おすすめ]ターミナルでの作業効率が爆上げするTUIツール5選 - Qiita

                      こんにちわ、ゴリラです。 普段、筆者は主にターミナルで仕事をしています。そこで作業効率化のためいくつかTUIツールを使っています。 今日は、個人的におすすめのTUIツールを5つ紹介していきます。 これらを導入することで、ターミナルでの作業効率が上がると思いますので、ぜひ導入して試してみてください。 また、こんな便利なツールがあるよって方いましたら、ぜひコメントをくださいー 2019/11/28 追記 ffのブックマーク機能 2-19/11/29 追記 ffの入力補完を追記 Git lazygitというTUIツールを使っています。 lazygit機能が豊富なので紹介しようとすると長くになってしまうため、筆者が普段使っていて便利だなと思う機能を紹介します。 詳しく知りたい方はREADMEもしくは作者本人によるおすすめの15機能をまとめた動画を見てください。 未コミットファイルの差分 lazyg

                        [おすすめ]ターミナルでの作業効率が爆上げするTUIツール5選 - Qiita
                      • 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
                        • Blocking Visual Studio Code embedded reverse shell before it's too late

                          Visual studio code tunnel Introduction Since July 2023, Microsoft is offering the perfect reverse shell, embedded inside Visual Studio Code, a widely used development tool. With just a few clicks, any user with a github account can share their visual studio desktop on the web. VS code tunnel is almost considered a lolbin (Living Of the Land Binary). I am so glad that my users now have the ability

                            Blocking Visual Studio Code embedded reverse shell before it's too late
                          • GitHub - chebykinn/sedmario: NES Super Mario Bros level 1 written in pure sed!

                            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 - chebykinn/sedmario: NES Super Mario Bros level 1 written in pure sed!
                            • AWS CloudShellで「rm -rf /*」を実行してみた | DevelopersIO

                              よい子(大人を含む)はマネしないでね。CloudShellを再起動すればホームディレクトリ以外の領域は元に戻るのでちょっと安心。 CloudShellで実行するとまた違った面白い動作するらしい こんにちは、OS破壊おじさんの のんピ(@non____97)です。 皆さんはOSを破壊したことはありますか? 以下記事の通り、私はあります。 そんな私にTwitterでとある方から「CloudShellで『rm -rf /*』をやると、また違った面白い動作をする」と情報をいただきました。 CloudShellはシェルプロンプトの環境でありOSではないですが、これは試さずにはいられません。 いきなりまとめ rm -rf /*を実行すると、やっぱり/binなどディレクトリが削除され、ビルトインコマンド以外のコマンドは実行できなくなる CloudShellを再起動すれば環境が再作成され、再度CloudS

                                AWS CloudShellで「rm -rf /*」を実行してみた | DevelopersIO
                              • 【Ubuntu日和】 【第11回】拡張機能でGNOME Shellを派手にしたり便利にしたり

                                  【Ubuntu日和】 【第11回】拡張機能でGNOME Shellを派手にしたり便利にしたり
                                • ジョークコマンド "dont" を作った

                                  (ビルド済みのバイナリや各種ディストリビューション向けのパッケージは現時点では存在しません。貢献を歓迎します!) これは何? 名前の通り、指定した処理を実行しないコマンドです。たとえば、 はfooを作成しません。 dontコマンドは必ずしも「何もしない」とは限りません。特定のパターンに対しては、ユーザーの意図を汲んで特別な処理が行われます。いくつかの例をreadmeに書いてあります。全てのパターンを知りたい人はソースコードを参照してください。 なぜこのタイミングで公開したのか エイプリルフールのネタにしようかなと思ったのですが、他のジョークの話題と食い合うのもな…… と思ったので早めに公開することにしました。 実装上の工夫 基本的には出落ちで終わってしまう話ですが、実装上の工夫がいくつかあるので紹介していきます。 -- の処理 本コマンドはコマンドラインパーサーclapを使っており、オプシ

                                    ジョークコマンド "dont" を作った
                                  • GitHub - concrete-utopia/utopia: Design ❤️ Code

                                    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 - concrete-utopia/utopia: Design ❤️ Code
                                    • CVE-2021-3156: Heap-Based Buffer Overflow in Sudo (Baron Samedit) | Qualys Security Blog

                                        CVE-2021-3156: Heap-Based Buffer Overflow in Sudo (Baron Samedit) | Qualys Security Blog
                                      • GitHub - noperator/sol: A de-minifier (formatter, exploder, beautifier) for shell one-liners

                                        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 - noperator/sol: A de-minifier (formatter, exploder, beautifier) for shell one-liners
                                        • GitHub - yorukot/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 - yorukot/superfile: Pretty fancy and modern terminal file manager
                                          • AWS CloudShell – Command-Line Access to AWS Resources | Amazon Web Services

                                            AWS News Blog AWS CloudShell – Command-Line Access to AWS Resources No matter how much automation you have built, no matter how great you are at practicing Infrastructure as Code (IAC), and no matter how successfully you have transitioned from pets to cattle, you sometimes need to interact with your AWS resources at the command line. You might need to check or adjust a configuration file, make a q

                                              AWS CloudShell – Command-Line Access to AWS Resources | Amazon Web Services
                                            • GitHub - Genivia/ugrep: NEW ugrep 6.5: a more powerful, ultra fast, user-friendly, compatible grep. Includes a TUI, Google-like Boolean search with AND/OR/NOT, fuzzy search, hexdumps, searches (nested) archives (zip, 7z, tar, pax, cpio), compressed 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 - Genivia/ugrep: NEW ugrep 6.5: a more powerful, ultra fast, user-friendly, compatible grep. Includes a TUI, Google-like Boolean search with AND/OR/NOT, fuzzy search, hexdumps, searches (nested) archives (zip, 7z, tar, pax, cpio), compressed files
                                              • GitHub - JFryy/qq: jq inspired (and gojq dependent) interoperable config format transcoder with interactive querying.

                                                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 - JFryy/qq: jq inspired (and gojq dependent) interoperable config format transcoder with interactive querying.
                                                • 使用頻度とコマンド (エイリアス) の文字数を合わせたい - id:onk のはてなブログ

                                                  1 文字エイリアスのすゝめ 1 文字エイリアスが好きで、例えば alias s="git status -sb" している。 入社してからの 4 年半で溜めた 53 万行の .zsh_history から集計すると、 $ history 1 | awk '{ print $2 }' | sort | uniq -c | sort -nr | head 121714 g 114128 s 57124 v 34210 cd 26095 tig 23281 rg 11382 plenv 10837 t 9647 :q 6867 ll となった。ちなみに以下の略です。 alias g="git" alias s="git status -sb" function v() {vi -p ${${=*/:/ +}/:*}} alias t="tig" alias :q="exit" alias ll=

                                                    使用頻度とコマンド (エイリアス) の文字数を合わせたい - id:onk のはてなブログ
                                                  • GitHub - curusarn/resh: RESH ❯❯ Contextual shell history for zsh and 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 - curusarn/resh: RESH ❯❯ Contextual shell history for zsh and bash
                                                    • Spring4Shellを悪用したサイバー攻撃が全世界で拡大中 迅速な対処を

                                                      セキュリティベンダーのCheck Point Software Technologiesのリサーチ部門であるCheck Point Researchは2022年4月5日(現地時間)、同社のブログで、先日明らかになったJavaアプリケーションフレームワーク「Spring Framework」(Spring)に関するリモートコード実行の脆弱(ぜいじゃく)性(CVE-2022-22965)を悪用したサイバー攻撃が全世界で拡大していると報じた。 Check Point ResearchはSpringの脆弱性を悪用したサイバー攻撃が全世界で拡大していると報じた。今後もサイバー攻撃に使われる危険性が高く、迅速に対策を取ることが望まれる。(出典:Check Point Software TechnologiesのWebサイト)

                                                        Spring4Shellを悪用したサイバー攻撃が全世界で拡大中 迅速な対処を
                                                      • AWSが、AWSリソースと対話するためのブラウザベースのシェル、Cloudshellを発表

                                                        Spring BootによるAPIバックエンド構築実践ガイド 第2版 何千人もの開発者が、InfoQのミニブック「Practical Guide to Building an API Back End with Spring Boot」から、Spring Bootを使ったREST API構築の基礎を学んだ。この本では、出版時に新しくリリースされたバージョンである Spring Boot 2 を使用している。しかし、Spring Boot3が最近リリースされ、重要な変...

                                                          AWSが、AWSリソースと対話するためのブラウザベースのシェル、Cloudshellを発表
                                                        • シェルを作っている - ぶていのログでぶログ

                                                          シェルスクリプトじゃなくてシェル。 前回の記事でGNU bison/flexのことを書いたのはこれの副産物だったのであった。 なぜ作っているかというと面白そうだからという理由以外ないのだけど、きっかけはxonshというPython-powerdなシェルがあることを知って「PythonがあるならRubyもほしい」と思ったのであった。 reddish-shell シェルの名前は reddish-shell としている。 reddishは赤みを帯びたという意味らしく、Rubyも赤っぽいし、shで終わっているし*1でこれにした。 もしかしたら、そのうち変えるかもしれないし変えないかもしれない。 コンセプト ただ普通にシェルを実装しても面白くないし実用性もないので、ある程度コンセプトを考えている。 まず、大前提として前述したとおりRuby-powerdにしたい。 Rubyの構文が使えるようにしたいと

                                                            シェルを作っている - ぶていのログでぶログ
                                                          • 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).
                                                            • WezTermをはじめてWezTermをやめようかと思うまで - Gentoo metalog

                                                              ターミナルでほとんどを過ごす都合がある。しばらく前まではkittyを使っていたのが、このところはWezTermを使っていた。 WezTermは最近はやりのGPU-acceleratedなターミナルエミュレータで機能が豊富である。 wezfurlong.org たとえば、タブを作れたり、リーダーキー(screenとかのCtrl-a的な感じで他のショートカットのprefixになる)を設定できたり、workspaceを複数作れたり、builtinなsshでリモート接続したり、multiplexできたりする。 wezfurlong.org これらリッチな機能のおかげで、端末+tmux的な機能と操作感をWezTermだけでできて大変にべんり…という感じだった。…が、いまはやめようかなと思っている。 やめようかなとなっている理由 環境が悪いというとそれまでなのだが、nvidiaのGPU(+Linux)

                                                                WezTermをはじめてWezTermをやめようかと思うまで - Gentoo metalog
                                                              • Memzoom

                                                                Memzoom lets you view/monitor the raw memory of processes/files in your UTF-8 terminal. Memzoom is like the less command except designed for binary data with live updates. It represents non-ASCII characters using IBM Code Page 437 as a base-256 binary alphabet. It implements zooming via CTRL+MOUSEWHEEL which uses an image scaling algorithm (better than Lanczos!) that enables you to monitor large a

                                                                • GitHub - nuta/nsh: A command-line shell like fish, but POSIX compatible.

                                                                  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 - nuta/nsh: A command-line shell like fish, but POSIX compatible.
                                                                  • GitHub - lucidrains/deep-daze: Simple command line tool for text to image generation using OpenAI's CLIP and Siren (Implicit neural representation network). Technique was originally created by https://twitter.com/advadnoun

                                                                    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 - lucidrains/deep-daze: Simple command line tool for text to image generation using OpenAI's CLIP and Siren (Implicit neural representation network). Technique was originally created by https://twitter.com/advadnoun
                                                                    • GitHub - shqld/tish: A replacement of shell script with TypeScript, for those who love TypeScript and tired of writing shell script, aiming to emulate shell script in TypeScript.

                                                                      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 - shqld/tish: A replacement of shell script with TypeScript, for those who love TypeScript and tired of writing shell script, aiming to emulate shell script in TypeScript.
                                                                      • GitHub - bobbyiliev/introduction-to-bash-scripting: Free Introduction to Bash Scripting eBook

                                                                        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 - bobbyiliev/introduction-to-bash-scripting: Free Introduction to Bash Scripting eBook
                                                                        • 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
                                                                          • Replit — CLUI: Building a Graphical Command Line

                                                                            “Command line interfaces. Once that was all we had. Then they disappeared, replaced by what we thought was a great advance: GUIs. GUIs were - and still are - valuable, but they fail to scale to the demands of today's systems. So now command line interfaces are back again, hiding under the name of search. Now you see them, now you don't. Now you see them again. And they will get better and better w

                                                                              Replit — CLUI: Building a Graphical Command Line
                                                                            • Inside the code: How the Log4Shell exploit works

                                                                              Products & ServicesSecurity OperationsThreat ResearchAI ResearchNaked SecuritySophos Life The critical vulnerability in Apache’s  Log4j Java-based logging utility (CVE-2021-44228) has been called the “most critical vulnerability of the last decade.”  Also known as Log4Shell, the flaw  has forced the developers of many software products to push out updates or mitigations to customers. And Log4j’s m

                                                                                Inside the code: How the Log4Shell exploit works
                                                                              • 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

                                                                                • bashスクリプトのエラー処理のベストプラクティス – marketechlabo

                                                                                  データ処理バッチでシェルスクリプトは便利 データ処理などでバッチプログラムを書くことは多い。Pythonなどのプログラム言語を使って全部記述する方法もあるし、最近ではGUIのワークフローを描けるツールも出てきている。 ただシェルスクリプトは依然として強い。シェルスクリプトは概して動作が高速で、イレギュラー処理に対しても柔軟に対応できる。gcloudやawscliなどのコマンドを使って記述できるので、できないことはない。機能がなければコマンドをインストールすることも可能。困ったときにも確実にゴールにたどり着くメリットがある。プログラム言語だとライブラリの出来に依存するし、ワークフロー系のツールは機能が実装されていないと詰む。イレギュラー処理を扱えない場合がある。 便利なツールが出てきている時代ではあるが、シェルスクリプトを覚えておくのはおすすめである。バッチ処理ではエラーハンドリングが必須だ

                                                                                  新着記事