並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 30 件 / 30件

新着順 人気順

findの検索結果1 - 30 件 / 30件

  • OpenInterpreter / ついにAIがガチのアシスタントに!これは凄い、というか凄すぎる|shi3z

    凄いものが出てきてしまった。 ChatGPTの「Code Interpreter」が話題になったが、あれはあくまでクラウド上で動いているだけ。それを模してローカルで動作するようになった「Open Interpreter」は、衝撃的な成果である。 Open Interpreterのインストールは簡単。コマンド一発だ $ pip install open-interpreter起動も簡単 $ interpreter -yこれだけでOK。 あとはなんでもやってくれる。 たとえばどんなことができるのかというと、「AppleとMetaの株価の推移をグラフ化してくれ」と言うとネットから自動的に情報をとってきてPythonコード書いてグラフをプロットしてくれる。 凄いのは、ローカルで動くのでたとえばApplescriptを使ってmacOSで動いているアプリを直接起動したり操作したりできる。「Keynot

      OpenInterpreter / ついにAIがガチのアシスタントに!これは凄い、というか凄すぎる|shi3z
    • findコマンドの使い方を簡単に理解するための7つのルール+実践的な知識 - Qiita

      はじめに find コマンドの使い方は、ざっくり調べただけではよくわからんとなりますが、見逃しがちなルールを知れば簡単に理解できます。find コマンドに限りませんが使い方を調べるのが面倒だからと曖昧な理解で使うと逆にもっと分からなくなって時間がかかります。急がば回れ、理解して正しく使ったほうがシンプルで楽で簡単です。この記事では find コマンドの使い方を理解するために必要なルールと使い方の実践的な知識をまとめました。 Q&A(?): -type や -perm の説明はしないの? ⇒ それらはドキュメントを読むか検索すればすぐにわかることで難しいポイントではありません。重要なのは基本のルールを理解することです。 関連記事 POSIX 準拠のシェルスクリプトでは find | xargs よりも find -exec {} + を使うべき! 移植性の話はこちら ⇒ findコマンドのオ

        findコマンドの使い方を簡単に理解するための7つのルール+実践的な知識 - Qiita
      • POSIX 準拠のシェルスクリプトでは find | xargs よりも find -exec {} + を使うべき! - Qiita

        POSIX 準拠のシェルスクリプトでは find | xargs よりも find -exec {} + を使うべき!ShellScriptBashshellPOSIX はじめに find の出力を xargs にパイプで渡すというのはよく見かける使い方ですが、find -print0 | xargs -0 が使えない POSIX 準拠のシェルスクリプトでは find -exec {} + を使った方が良いです。安全かつ十分に速いからです。よく見かける -exec {} ; ではなく -exec {} + ですので間違えないようにしてください。多くのケースでは + の方が優れているのですが ; ばっかり使われているのを見ると、意外と知られてない気がします。 少しだけ予備知識として、-exec {} ; は -exec {} \; と ; をバックスラッシュでエスケープするのがよく見る使い方

          POSIX 準拠のシェルスクリプトでは find | xargs よりも find -exec {} + を使うべき! - Qiita
        • ハローワークの求人情報をスクレイピング(Python + Selenium + BeautifulSoup) - ai_makerの日記

          この記事は、以下のハローワークインターネットサービスから求人情報を自動で取得する試みを記録したものです: www.hellowork.mhlw.go.jp まずは、ソースコードと実行結果をお見せし、後ほどこの記事を書いた経緯などを話します。 ソースコード:HelloWork_Scraping_ST.py from selenium import webdriver from selenium.webdriver.support.ui import Select import time from bs4 import BeautifulSoup import re # ハローワークインターネットサービスのURL url = "https://www.hellowork.mhlw.go.jp/" # 以下からご自分で使用しているChromeのバージョンに合ったChromeDriverをダウンロ

            ハローワークの求人情報をスクレイピング(Python + Selenium + BeautifulSoup) - ai_makerの日記
          • 【Linux】100万ファイルくらいあるディレクトリのファイルのリストを高速に表示したい - 地方エンジニアの学習日記

            概要 ファイル名のリストだけ高速に欲しいみたいな場合に大量にファイルがあるディレクトリでlsを打って返ってこないみたいなのが地味にストレスになったりするので高速に済ませる手段が無いかを調べてみた。 1ディレクトリに100万ファイル程度 計測前にecho 3 > /proc/sys/vm/drop_cachesを都度実行し10回程度計測 計測 ls -l めっちゃ遅い real 0m24.052s user 0m5.668s sys 0m8.071s straceをしてみるとこんな感じ。-lをつけるとメタデータを取りに行くのでこれが遅いらしい。sysが長い % time seconds usecs/call calls errors syscall ------ ----------- ----------- --------- --------- ---------------- 44.6

              【Linux】100万ファイルくらいあるディレクトリのファイルのリストを高速に表示したい - 地方エンジニアの学習日記
            • VSCodeのFindで今マッチしている場所にボーダーを引いて見やすくする - $shibayu36->blog;

              VSCodeでFindしている時に、マッチしているwordは背景色が変わって分かるのだけど、今どこにフォーカスしているかが分かりづらかった。これが特に問題が起こるのがReplaceをしようとしている時で、Replaceするたびに今どこ?とマッチ箇所を探していた。これだと時間がかかって困る。 調べてみるとTheme Color | Visual Studio Code Extension APIに書かれているように、自分のsettings.json内で自分用に色を調整し、見やすくカスタマイズ出来ることが分かった。これでFindの現在のマッチ箇所を見やすくしてみる。 Findの色のカスタマイズは editor.findMatchBackground: Color of the current search match. editor.findMatchHighlightBackground:

                VSCodeのFindで今マッチしている場所にボーダーを引いて見やすくする - $shibayu36->blog;
              • Learn CSS  |  web.dev

                Stay organized with collections Save and categorize content based on your preferences.

                • BEM Naming Cheat Sheet by 9elements

                  When it comes to finding the right class name, it can quickly drive you to despair. Even the most experienced CSS developers don't always find the right class name right away. This tool aims to help you to not get lost in the BEM cosmos by giving you naming-suggestions for some of the most common web components. If you still have no idea what BEM means, we have added some helpful links below. For

                    BEM Naming Cheat Sheet by 9elements
                  • シェルスクリプトの変数はダブルクォートしなければいけない!という話 - Qiita

                    TL; DR 変数をダブルクォートしない使い方は上級者向けの危険な機能です! $@ と $*(または配列の全要素)をダブルクォートしない使い方は知る必要すらありません! ShellCheck を導入すれば誰でも簡単に正しい書き方がわかります!! 2021-08-21 補足 この記事は dash や bash などの POSIX シェルの一般的な動作を解説しており zsh のデフォルトとは異なります。記事の中でも説明していますが zsh の場合はシェルのオプションを変更することで POSIX 準拠の動作に変更することができます。zsh に関しては後半の「zsh に関する注意点」も参照してください。 はじめに プログラミング言語は、言語によって記号の意味が異なることがよくあります。クォーテーションマークはその一つです。C 言語ではシングルクォートは文字リテラル(一文字)を意味し文字列はダブルク

                      シェルスクリプトの変数はダブルクォートしなければいけない!という話 - Qiita
                    • Icons - Lordicon

                      © 2018 - 2023 All Rights Reserved | Lordicon Sp. z o.o (Ltd) | Made in Poland

                        Icons - Lordicon
                      • An Opinionated Guide to xargs

                        Preliminaries What Is xargs? It's an adapter between text streams and argv arrays, two essential concepts in shell. You pass it flags that specify how to split stdin. Then it generates arguments and invokes processes. Example: $ echo 'alice bob' | xargs -n 1 -- echo hi hi alice hi bob What's happening here? xargs splits the input stream on whitespace, producing 2 arguments, alice and bob. We passe

                        • Engadget | Technology News & Reviews

                          Parrots in captivity seem to enjoy video-chatting with their friends on Messenger

                            Engadget | Technology News & Reviews
                          • Coding Font by Typogram – Find Your True Love of Coding Fonts

                            Coding Font Blog As software engineers, we spend a lot of time skimming, reading, making changes to code. The coding font that we spend 8 hours a day staring at has a lot to do with our productivity and comfort. That is why I created this gamified experience to help you find your true love of coding fonts! Coding Font is built with NoCode / LowCode tools! I share the process of building apps on my

                            • GitHub - seemoo-lab/openhaystack: Build your own 'AirTags' 🏷 today! Framework for tracking personal Bluetooth devices via Apple's massive Find My network.

                              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 - seemoo-lab/openhaystack: Build your own 'AirTags' 🏷 today! Framework for tracking personal Bluetooth devices via Apple's massive Find My network.
                              • GitHub - irevenko/what-anime-cli: ❓🖼 Find the anime scene by image using your 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 - irevenko/what-anime-cli: ❓🖼 Find the anime scene by image using your terminal
                                • あるファイルがn日以上更新されてないか調べる方法 - (ひ)メモ

                                  find -mtime を使う # 最終更新から 24 時間以上経過しているか if [[ "$(find /path/to/file -mtime +0)" != "" ]]; then echo 'OLD!' else echo 'NEW!' fi -mtime +0 がなぜ「24時間以上前」になるのか?について: http://linuxjm.osdn.jp/html/GNU_findutils/man1/find.1.html より -mtime n ファイルの最終内容更新日時が、基点となる時刻から計算して n 日前に当たれば、真を返す (訳注: 基点となる時刻は、デフォルトでは find を実行している今現在である)。 (snip) なお、デフォルトの動作のように、現在時刻から数えて 24 時間前から 48 時間前までを 1 日前とする つまり、 1日前 = 24時間前から48時

                                    あるファイルがn日以上更新されてないか調べる方法 - (ひ)メモ
                                  • kmdr - コマンドの実行内容を教えてくれるCLI

                                    MOONGIFTはオープンソース・ソフトウェアを紹介するブログです。2021年07月16日で更新停止しました 開発者であれば、ターミナルを使って各種コマンドを入力するかと思います。コマンドを探す際に、Webで検索する人も多いでしょう。そんな時、各種オプションがすでに付いており、それぞれの説明がないために何となく実行してしまったりしていないでしょうか。 きちんと把握していないコマンドを打つ際に使ってみて欲しいのがkmdrです。実行内容を解析し、その説明を行ってくれます。 kmdrの使い方 kmdr explainを使ってコマンドを調べます。 $ kmdr explain ? Enter your command: ls -al ls -al EXPLANATION ls List directory contents -a, --all Include hidden files and di

                                      kmdr - コマンドの実行内容を教えてくれるCLI
                                    • Big Sky :: C++ な WebServer 実装 crow と TensorFlow Lite を使って Object Detection の API サーバを書いた。

                                      自宅で動かしている物体認識サーバは TensorFlow を使って Go で書かれていたのだけど、CPU 負荷が高いので以前 go-tflite で書き換えた。その後 Raspberry Pi Zero W でそのまま使えるだろうと思っていたら結構リソースが厳しかったので C++ なウェブサーバの実装である crow と TensorFlow Lite を使って書き換える事にした。 GitHub - ipkn/crow: Crow is very fast and easy to use C++ micro web framework (inspired by Python Flask) How to Build If you just want to use crow, copy amalgamate/crow_all.h and include it. Requirements C..

                                        Big Sky :: C++ な WebServer 実装 crow と TensorFlow Lite を使って Object Detection の API サーバを書いた。
                                      • Common Rendering Mistakes: How to Find Them and How to Fix Them

                                        Hear from Developer Relations Engineer Trevor Dasch, as he provides an overview of tips and tricks to find and fix geometry aliasing, texture aliasing and more.

                                          Common Rendering Mistakes: How to Find Them and How to Fix Them
                                        • GitHub - positive-security/send-my: Upload arbitrary data via Apple's Find My network.

                                          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 - positive-security/send-my: Upload arbitrary data via Apple's Find My network.
                                          • From Built-in to URP

                                            Unity’s Scriptable Render Pipeline represents a great advance on the way that unity deals with graphics, giving more power to the users to customize the pipeline the way they want. I have started to use the Universal Render Pipeline (URP) recently and, despite all its advantages over the built-in pipeline, it still suffers of lack of documentation. I mean, you can find information of every functio

                                            • mac で高速にファイル検索 / 全文検索するコマンドmdfind - Qiita

                                              ファイル名検索の使い方 ~/(ホームディレクトリ)から、ファイル名に "yamazon"を含むファイルを検索 -name にファイル名を指定します # コマンド mdfind -onlyin ~/ -name yamazon # 結果(ファイル名に"yamazon"を含むファイルを抽出) /Users/t-yamamoto/yamazon /Users/t-yamamoto/Downloads/old/yamazon_work-20181001T081335Z-001.zip # コマンド mdfind -onlyin ~/ "yamazon" # 結果(ファイルの中身に"yamazon"を含むファイルが出る) /Users/t-yamamoto/yamazon /Users/t-yamamoto/Library/Mobile Documents/com~apple~Keynote/Doc

                                                mac で高速にファイル検索 / 全文検索するコマンドmdfind - Qiita
                                              • 「PATHを通す」とは何か、改めてまとめてみた

                                                使われ方 例えばgitというコマンドを入力したとき、 /usr/local/bin/gitという実行ファイルがあるか確認し、あれば実行する なかった場合、/usr/local/sbin/gitという実行ファイルがあるか確認し、あれば実行する なかった場合、/usr/bin/gitという実行ファイルがあるか確認し、あれば実行する (環境変数PATHに書かれているディレクトリの数だけくり返す) という流れで、実行するプログラムが決定される。 実行するプログラムが見つからなかった場合command not found: gitというエラーが出力される。 「環境変数PATHに書かれている場所を探してみたけど、gitなんてプログラムはなかったよ!」 という意味。この状態を「(gitコマンドに)PATHが通っていない」と呼ぶ。 PATHを通す方法 実行ファイルは存在するのにcommand not fo

                                                  「PATHを通す」とは何か、改めてまとめてみた
                                                • Twitodon - Find your Twitter friends on Mastodon

                                                  How Twitodon Works Click the buttons below to give Twitodon access to your Twitter and Mastodon accounts. Don't worry, we won't be able to see your passwords - we use a secure, open standard called OAuth that provides a safe way for 3rd parties like Twitodon access to website information without divulging user passwords. Twitodon will scan your Twitter "following" list, checking to see if any of t

                                                  • お手軽Gitリポジトリ分析 | 株式会社ヌーラボ(Nulab inc.)

                                                    みなさんこんにちは。Backlog課のGitチームに所属するテリーです。Gitを触ってるとたまにちょっとした集計をしたくなります。その度に検索したり考えたりするのも少しめんどくさいので、業務上ではあまり必要ではないがたまに確認したくなるようなコマンドを集めてみました。どのコマンドも書き換えることなくコピーアンドペーストで動くようになっているのでぜひ興味を持った方は自分の環境で試してもらえると嬉しいです。 リポジトリの傾向を知るコマンド 一定期間毎のコミット数を知る 「このリポジトリっていつ頃が一番盛んにコミットされていたのかなー?」 GitHubなどが提供しているこの機能実はBacklogでは提供されていません。(今後の機能開発頑張ります)そのためちょっと気になった時にコマンドで探れると大変嬉しいです。 年別・月別を知る git logの出力結果をAuthor dateだけにして--dat

                                                      お手軽Gitリポジトリ分析 | 株式会社ヌーラボ(Nulab inc.)
                                                    • findで特定パスを除外してファイル名を検索する方法

                                                      findコマンドで特定のパスやディレクトリを検索対象から除外する方法について説明します。 find + grep -v findで検索してgrepで必要ないパスを除外する (-v オプションを使う) 方法が一番シンプルです。 find /path/to/dir/ -type f | grep -E -v "^/path/to/dir/(backup|error)/" find -not -path findには -path で検索対象に特定のパスを指定することができます(ワイルドカード * の指定が必要です)。 これを、-not と組み合わせることで、特定のパスを除外することができます。 find /path/to/dir/ -type f -not -path '/path/to/dir/backup/*' 対象のパスが複数存在する場合は、-o (OR演算子) でつなげて指定することもで

                                                        findで特定パスを除外してファイル名を検索する方法
                                                      • findコマンドの使い方 - Qiita

                                                        Help us understand the problem. What are the problem?

                                                          findコマンドの使い方 - Qiita
                                                        • ReAct (Reason+Act) prompting in LLMs

                                                          Currently a lot of tools accelerated by LLMs – such as, Auto-GPT, ChatGPT plugins, Copilot, etc – automate a variety of tasks with reasoning, which splits complex tasks into simpler subtasks. To give you a hint for building such autonomous agents, I’ll show you Reasoning+Acting prompting – shortly ReAct – by introducing “What is ReAct ?”, “How it works ?”, and “How to build ?” ReAct is essential a

                                                            ReAct (Reason+Act) prompting in LLMs
                                                          • xargs が Linux と Mac 両方できちんと動くためには -i ではなく -I オプションを使う - blog.ayakumo.net

                                                            Linux と Mac で xargs の挙動が違うのは以前から認識していたが、詳細までは調べていなかった。今回、プライベートの git レポジトリをコミットして Mac で xargs を実行した際に illegail option -- i と怒られてしまったので、これを機会に xargs が Linux と Mac 両方できちんと動作するように修正した。 Linux では動く、Mac では動かない # da = dot apply alias da="ls -A ~/git/$repo/t/dot/ | xargs -i cp {} $HOME && pushd $HOME && source $HOME/.bash_profile && popd" Mac 版の xargs (BSD) では -i オプションがサポートされていないのが問題だった。 $ da xargs: illeg

                                                              xargs が Linux と Mac 両方できちんと動くためには -i ではなく -I オプションを使う - blog.ayakumo.net
                                                            • Bashのfor文をワンライナーへ書き換える方法 - Qiita

                                                              xargsコマンドを用いて、Bashのfor文をワンライナーへ書き換える方法についてまとめてみます。 xargsコマンドとは 標準入力からリストを読み込み、それをコマンドの引数として展開・実行するコマンドです。 改行区切りのリストを処理する場合 基本的な書き換え 以下のような処理があったとします。

                                                                Bashのfor文をワンライナーへ書き換える方法 - Qiita
                                                              1