並び順

ブックマーク数

期間指定

  • から
  • まで

241 - 268 件 / 268件

新着順 人気順

bashの検索結果241 - 268 件 / 268件

  • GitHub - izabera/pseudo3d: a raycaster in bash

    bash is slow. this is by far the biggest issue. it's so slow that you cannot possibly achieve an acceptable frame rate if you have to execute even a single command per pixel. this implies that you also cannot keep the state of the screen in memory, neither as an array of colours (did you know that accessing a random element in an array takes linear time?) nor as a single long string (did you know

      GitHub - izabera/pseudo3d: a raycaster in bash
    • Claude Code is My Computer | Peter Steinberger

      TL;DR: I run Claude Code in no-prompt mode; it saves me an hour a day and hasn’t broken my Mac in two months. The $200/month Max plan pays for itself. For the past two months, I’ve been living dangerously. I launch Claude Code (released in late February) with --dangerously-skip-permissions, the flag that bypasses all permission prompts. According to Anthropic’s docs, this is meant “only for Docker

        Claude Code is My Computer | Peter Steinberger
      • GitHub - gdm85/lc: List files in categories (and columns) - from Coherent UNIX

        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 - gdm85/lc: List files in categories (and columns) - from Coherent UNIX
        • Contagious Interviewが使用する新たなマルウェアOtterCookieについて | NTTセキュリティテクニカルブログ

          By Masaya Motoda, Rintaro Koike Published December 25, 2024  |  Japanese 本記事はSOCアナリスト元田匡哉、小池倫太郎が執筆したものです。 はじめにContagious Interviewは北朝鮮に関連する攻撃キャンペーンであると言われており、2023年11月にPalo Alto Networks社からレポートが公開されました。Contagious Interviewは一般的な国家支援型の標的型攻撃とは違い、比較的広範囲に対して金銭的なモチベーションで攻撃を行っているとされています。SOCでは時折Contagious Interviewによるインシデントを観測しており、日本の組織も注意が必要です。 SOCでは2024年11月頃から、Contagious InterviewキャンペーンにおいてBeaverTailやInv

            Contagious Interviewが使用する新たなマルウェアOtterCookieについて | NTTセキュリティテクニカルブログ
          • macOSのbashでエスケープシーケンスをechoするときは気をつける - すぎゃーんメモ

            普段使っているzshで echo '\e[0;31;47m CAUTION!! \e[0m' みたいに書くと、色付き表示される。 これでヨシッ! と思ってうっかり #!/bin/bash echo '\e[0;31;47m CAUTION!! \e[0m' とshell scriptを書いてしまうと、これは意図した表示にならない。 macOSのbash echoにはバグがあるらしい bash+windows terminalではこういう問題起きていない、ということだったので調べたところ、特にmacOSの標準のbashに問題があるようだった。 unix.stackexchange.com 新しめのbashだったら -e オプションをつけると問題なく表示されるっぽい。 printf, 8進/16進数で回避する こういった環境の差異にハマることないよう、そもそも echo を使わずに print

              macOSのbashでエスケープシーケンスをechoするときは気をつける - すぎゃーんメモ
            • 【セキュリティ ニュース】施工現場のNASに設定ミス、情報が外部流出 - 大和ハウス工業(1ページ目 / 全2ページ):Security NEXT

              大和ハウス工業は、ネットワーク対応ストレージ(NAS)の設定不備により、一部顧客情報がインターネットからアクセスでき、流出したことを明らかにした。 同社によれば、同社が施工する物件の仮設現場事務所内で使用していた「NAS」に設定不備があったもの。顧客情報を含むプロジェクト情報の一部が外部からアクセス可能だった。 具体的には、集合住宅事業部門の一部工事現場に関する情報で、図面や工事概要書、工程表、施工計画書、竣工検査報告書、発注先リストなどとしている。 個人情報としては、物件名称に含まれる施主の氏名約5500件、取引先担当者の氏名や作業員に関する情報など約8300件が含まれる。 そのほか、近隣住民説明会の参加者の氏名約50件、物件に関係する施主の氏名、工事関係資料など36件なども対象としている。

              • Mac で Claude Code の通知音を設定して作業効率を向上させる方法 | DevelopersIO

                どうも、こんにちは kaz です。 はじめに みなさんは Claude Code を使って長時間の処理を行うことが多いのではないでしょうか? 長時間の処理を実行している際にいつ処理が完了したかわからず、定期的に画面を確認する必要があったりしませんか? そんな時に便利なのが通知音です。 今回は、Mac で Claude Code の処理完了時に通知音を鳴らして、作業効率を向上させる方法をご紹介します。 結論 Mac で Claude Code の通知音を設定するには以下の手順を行います。 SoX(Sound eXchange)をインストール Claude Code の permissions 設定で Bash コマンドの実行を許可 CLAUDE.md に通知音コマンドの実行を追加 これにより、Claude Code が応答を返すたびに通知音が鳴るようになります。 前提条件 macOS が動作

                  Mac で Claude Code の通知音を設定して作業効率を向上させる方法 | DevelopersIO
                • Creator of Ghostty talks Zig over Go

                  Thanks to the sponsor for today's video - Graphite! Check out stacked PRs, code review tools and more: http://gt.dev/topshelf 0:00 - Intro 0:52 - CTO to Open Source 7:00 - Graphite Ad 8:10 - Future Of Ghostty 21:30 - How It Started 25:29 - Zig vs Rust 29:53 - Go’s Place In The Stack 34:28 - Managing Open Source 42:42 - Motivation 45:49 - AI 52:21 - Live Q&A Twitch https://twitch.tv/ThePrimeag

                    Creator of Ghostty talks Zig over Go
                  • GitHub - willswire/teemoji: like tee but with emojis 🍵

                    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 - willswire/teemoji: like tee but with emojis 🍵
                    • Let's Build Snake with Rust

                      Since 2016, Rust has been voted the “most loved programming language” every year in the Stack Overflow Developer Survey by what appears to be a growing margin, and after checking it out for myself, it’s pretty clear why. Rust offers a plethora of features you’d expect from a modern language and addresses pain points that are present in many others. It competes in the same kind of space occupied by

                        Let's Build Snake with Rust
                      • Reasons I still love the fish shell

                        September 12, 2024 I wrote about how much I love fish in this blog post from 2017 and, 7 years of using it every day later, I’ve found even more reasons to love it. So I thought I’d write a new post with both the old reasons I loved it and some reasons. This came up today because I was trying to figure out why my terminal doesn’t break anymore when I cat a binary to my terminal, the answer was “fi

                        • GitHub - cosmos72/schemesh: A Unix shell and Lisp REPL, fused together

                          Schemesh is an interactive shell scriptable in Lisp. It is primarily intended as a user-friendly Unix login shell, replacing bash, zsh, pdksh etc. As such, it supports interactive line editing, autocompletion, history and the familiar Unix shell syntax: it can start commands, including redirections, pipelines, job concatenation with ; && ||, groups surrounded by { }, subshells surrounded by [ ], a

                            GitHub - cosmos72/schemesh: A Unix shell and Lisp REPL, fused together
                          • [TUHS] 1972 UNIX V2 "Beta" Resurrected

                            Yufeng Gao via TUHS tuhs at tuhs.org Tue Feb 18 19:31:55 AEST 2025 Previous message (by thread): [TUHS] Unix page at the Multicians web site. Next message (by thread): [TUHS] 1972 UNIX V2 "Beta" Resurrected Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Hi everyone, First-time poster here. Near the end of last year, I did some forensic analysis on the DMR tapes (https://www.tuhs.or

                            • GitHub - tdewolff/argp: GNU command line argument parser

                              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 - tdewolff/argp: GNU command line argument parser
                              • 19歳から愛用していたイームズサイドシェルチェアのベースが壊れた話 - ダイナミック気晴らし

                                19歳の頃から長らく愛用していた、サイドシェルチェアの脚が壊れました。脚のみ新たに購入して交換することで、新生したという話です。 突然の破壊音 脚の交換を試みる ヴィンテージ正規品アームシェルチェアの脚をはめてみたが、ダメだった レプリカエッフェルベースの寸法を問い合わせる 購入する 届きました 無事入りました 突然の破壊音 毎日毎日、ここに座っている。自室もあるけれど、リビングやキッチンに近いこの場所がお気に入り。床暖房は暖かいし、猫がいるし。この写真にあるように、ゲームをしたり、PC作業をしたり。 ところが、ある日いつものように座っていたら、バキッと大きい音がして、自分が床に沈んだ。何の予兆もなく、あまりにも唐突で、一瞬何が起こったのか理解できなかった。 なんと、シェルとベースを繋ぐ金属が金属疲労で割れたらしい。脚の接点が4点あるうち2点が割れたので、もう座るのが危なそうだ。 ちなみに

                                  19歳から愛用していたイームズサイドシェルチェアのベースが壊れた話 - ダイナミック気晴らし
                                • GitHub - izabera/bitwise-challenge-2048: 2048 with only 64 bits of state

                                  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 - izabera/bitwise-challenge-2048: 2048 with only 64 bits of state
                                  • Bash++

                                    @class Bashpp { @public author="Andrew S. Rightenburg" @public source="https://github.com/rail5/bashpp" @public license="GNU GPL v3" @public @method printInfo { echo "Bash++ is a superset of Bash that adds support for classes and objects." echo "It's meant to be a simple way to add object-orientation to Bash scripts." echo "Author: @this.author" echo "Source: @this.source" echo "License: @this.lic

                                    • 実は盛りだくさんだった2024年7月のWindows新機能・改善を振り返り ~IT管理者向けも/共有ダイアログ、エクスプローラー、タスクバー、スタート画面などが強化

                                        実は盛りだくさんだった2024年7月のWindows新機能・改善を振り返り ~IT管理者向けも/共有ダイアログ、エクスプローラー、タスクバー、スタート画面などが強化
                                      • Sound Horizon、20年の軌跡の物語ライブは楽園のパラダイス 会場が異世界に包みこまれた3時間

                                        ホーム(ORICON NEWS) ORICON MUSIC TOP Sound Horizon、20年の軌跡の物語ライブは楽園のパラダイス 会場が異世界に包みこまれた3時間 音楽クリエイター・Revoが創造した“物語音楽”を舞台上で再現するコンセプトの音楽ユニットであり、幻想楽団をうたうSound Horizon。物語性を有した独特な世界観の楽曲群でファンを魅了し続けてきたなか、メジャーデビュー20周年記念公演『Revo‘s Halloween Party 2024』を11月23日、24日に神奈川・ぴあアリーナMMで開催した。その初日は、2025年3月5日にリリースを予定している『ハロウィンと朝の物語』の世界からつながる、ユニットの20年の軌跡をひとつの壮大な物語として封じ込めた特別な夜に観客を誘った。 会場中が一緒に踊った「Halloween ジャパネスク ’24」 Sound Hori

                                          Sound Horizon、20年の軌跡の物語ライブは楽園のパラダイス 会場が異世界に包みこまれた3時間
                                        • "Doors" in Solaris: Lightweight RPC using File Descriptors

                                          "Doors" in SolarisTM: Lightweight RPC using File Descriptors Jim Voll Senior Staff Engineer Solaris Products Group This new lightweight RPC mechanism, adapted from Sun's Spring O/S project, will be inforporated into a future release of the SolarisTM operating environment. Developers can refer to Solaris documentation for additional library and SPI information. An Overview of Doors A door is a "fil

                                          • GitHub - mikaku/Fiwix: A UNIX-like kernel for the i386 architecture

                                            Fiwix is an operating system kernel written from scratch, based on the UNIX architecture and fully focused on being POSIX compatible. It is designed and developed mainly as a hobby OS and, since it serves also for educational purposes, the kernel code is kept as simple as possible for the benefit of students and OS enthusiasts. It is small in size (less than 50K lines of code), runs on the i386 ha

                                              GitHub - mikaku/Fiwix: A UNIX-like kernel for the i386 architecture
                                            • Today I learned that bash has hashmaps

                                              Today I learned that bash has hashmaps Published on 01/15/2024, 283 words, 2 minutes to read Hashmaps (associative arrays) are a great way to store a bag of key-value data. At work I was writing something that needed me to spawn a bunch of GPU instances, GPU availability is spread out by region and GPU type. I wanted to store a mapping of GPU kind to region name and for some reason I thought it wo

                                              • GitHub - WeeJeWel/node-google-backup: A Command-Line Utility to automatically backup Google Mail, Calendar & Contacts to local 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 - WeeJeWel/node-google-backup: A Command-Line Utility to automatically backup Google Mail, Calendar & Contacts to local files.
                                                • ワンタイムパスワードを実装してみた

                                                  背景 2要素認証を有効にした状態でログインするとき、ワンタイムパスワード(6桁の数字)の入力を求められることがあるかと思います。 これはどうやって実装しているんだろうと気になったので、仕様を読んで実装してみました。 今回実装したのは、 TOTP(Time-Based One-Time Password) と呼ばれるもので、 Google Authenticator などのアプリを入れると、簡単にワンタイムパスワードを生成できます。 コード 本記事のコードはこちらに記載しています。 Docker を起動して、一連の流れを試すこともできます。 仕様 TOTP TOTP は RFC6238 で、以下のように定義されています。 HOTP(HMAC-Based One-Time Password) に関しては後述します。 TOTP = HOTP(K, T) T = (Current Unix tim

                                                    ワンタイムパスワードを実装してみた
                                                  • Windowsが固まった!電源を切る「裏ワザ」的な方法あります【今日のワークハック】 | ライフハッカー・ジャパン

                                                    アイリスオーヤマの10インチタブレットが1万円台に!大画面・軽量・保護フィルム付き #Amazonセール

                                                      Windowsが固まった!電源を切る「裏ワザ」的な方法あります【今日のワークハック】 | ライフハッカー・ジャパン
                                                    • Aerc: a Well-Crafted Tui for Email

                                                      Aerc is a TUI email client. It had its first release ~4 years ago. This makes it a “baby” compared to most of its “competitors” (Pine was released in 1992, Mutt in 1995). I heard about this program shortly after its first release but ignored it at the time, because I was still reasonably happy with Thunderbird and it seemed quite bare-bones in comparison. I recently decided to revisit this piece o

                                                      • process-bookを令和最新版に更新した - 猫型の蓄音機は 1 分間に 45 回にゃあと鳴く

                                                        昔書いて結構ご好評を得た「process-book」なんだけど、サンプルコードが古かったりbuild環境が古かったりしたので、令和最新版にリバイスした。 https://github.com/Shinpeim/process-book リバイスした内容としては…… docker containerでの実行環境を同梱した GitHub Actionsで pages のbuildとreleases(pdf版)をビルド,publishするようにした サンプルコードをRubyに統一 ClaudeCodeと一緒に、説明が薄いところなどを加筆修正した 基本的な内容は変わっていないです。正直ずっと「価値のある文章のはずなんだけど、いろいろと古くなってて手をいれないとな……」「けどめんどくさいな……」が戦っていたんだけど、Claude Codeとの生活を始めたことで「まあパッとやっちゃうか」になることがで

                                                          process-bookを令和最新版に更新した - 猫型の蓄音機は 1 分間に 45 回にゃあと鳴く
                                                        • Claude Codeの特定コマンド実行をエイリアスで回避してみる | DevelopersIO

                                                          Claude Codeがコマンドを実行する際、 permissionsなどの設定を書くことでコマンド実行前の確認などをある程度コントロールできます。 ただ、このコントロールはプログラム的に制御されているというより、 AIがこの制限も解釈した上で総合的に判断しているように見受けられます。 もう少しプログラム的に強めの制約をかける方法はないかと思って、 まずは簡易的にaliasを設定することで制御できるか試してみました。 具体的には、Claude Codeの中では重要なコマンドはaliasで潰してしまおうという発想です。 zshrcに設定を書く 私はmacOS上でClaude Codeを使っており、 Claude Codeがコマンドを実行するときにはzshが使われています。 なので.zshrcに設定を書きます。 またClaude Codeが使われているかどうかはCLAUDECODE=1と言う環

                                                            Claude Codeの特定コマンド実行をエイリアスで回避してみる | DevelopersIO