並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 10 件 / 10件

新着順 人気順

OneLinerの検索結果1 - 10 件 / 10件

  • GitHub - onceupon/Bash-Oneliner: A collection of handy Bash One-Liners and terminal tricks for data processing and Linux system maintenance.

    I am glad that you are here! I was working on bioinformatics a few years ago and was amazed by those single-word bash commands which are much faster than my dull scripts, time saved through learning command-line shortcuts and scripting. Recent years I am working on cloud computing and I keep recording those useful commands here. Not all of them is oneliner, but i put effort on making them brief an

      GitHub - onceupon/Bash-Oneliner: A collection of handy Bash One-Liners and terminal tricks for data processing and Linux system maintenance.
    • bpftrace 2020 - 睡分不足

      (この記事はLinux Advent Calendar 2020 - Qiitaの2日目の記事です.前日はmasami256さんのTiny Core LinuxでLinuxのinitプロセスが実行されるあたりを調べるでした.) みなさんこんにちはこんばんは.bpftraceを使っていますか? (e)BPFといえば最近は専らCiliumなどネットワークが話題ですが,bpftraceはBPF*1を利用したトレーシングツールです.私は昨年からぼちぼち使い始めて,機能追加やバグ修正のパッチをいろいろと投げていた(130+)ら気づいたらコミッタになっていました.ということでbpftraceについては比較的よく知っていると思うので,今年にbpftraceに追加された主要な機能や変更点を紹介したいと思います. bpftrace知らないなぁという方はこちら(拙文です)を,bpftrace使ってないなぁとい

        bpftrace 2020 - 睡分不足
      • Node.js — Node v15.4.0 (Current)

        Notable Changes child_processes: add AbortSignal support (Benjamin Gruenbaum) #36308 deps: update ICU to 68.1 (Michaël Zasso) #36187 events: support signal in EventTarget (Benjamin Gruenbaum) #36258 graduate Event, EventTarget, AbortController (James M Snell) #35949 http: enable call chaining with setHeader() (pooja d.p) #35924 module: add isPreloading indicator (James M Snell) #36263 stream: supp

          Node.js — Node v15.4.0 (Current)
        • One-lined Python

          Convert any* Python 2 script into a single line. No newlines allowed. No semicolons, either. No silly file I/O tricks, or eval or exec. Just good, old-fashioned λ. Oh dear God, why? Yeah, I know, I’m a terrible person. Why no semicolons? That would be against the spirit of this exercise. Why pass up a perfectly good excuse to abuse lambda functions, ternary expressions, list comprehensions, and ev

            One-lined Python
          • Docker 環境別 no cache install - Qiita

            docker cache clean clear 基本的には、multi-stage-buildを用いて、build用のimageと成果物のimageを分けることが望ましい。 installされたpackageが多数のディレクトリにまたがっていたり、それが難しいケースはbase imageのパッケージ管理ツールのclean機構をonelinerで書くと良い。 apt

              Docker 環境別 no cache install - Qiita
            • Goでは-race付きでテストするとビルドキャッシュが完全に別になる - $shibayu36->blog;

              gotesplitにAdd -race to list when it is specified for test optionsというPullRequestを投げたのだが、この背景を書いておこうと思う。 まずGoでは-raceオプションについて、以下のような挙動を起こす。 -raceフラグをつけるとruntime/raceがおそらく一番依存の深いところに追加されてコンパイルされるっぽい? https://github.com/golang/go/blob/go1.21.2/src/cmd/go/internal/load/pkg.go#L2573-L2576 あたり? そのため、go testとgo test -raceはビルドキャッシュが全く異なる。つまりgo testのビルドキャッシュはgo test -raceのビルドに全く使われないし、その逆も同じである gotesplitの以前

                Goでは-race付きでテストするとビルドキャッシュが完全に別になる - $shibayu36->blog;
              • 2022年5月10日 Bash-Oneliner ―bashの操作をより便利にするワンライナーコレクション | gihyo.jp

                特定の処理をたった1行のプログラムに詰め込んだいわゆる「ワンライナー(one liner⁠)⁠」には、限られた環境の中で作業効率を上げようとしてきたエンジニアたちのノウハウが詰まっており、なかには非常に高度な処理を実行できるワンライナー⁠”も少なくない。 今回紹介する「Bash-Oneliner」は、Linux/UNIXでもっとも標準的なシェルであるBashを使いこなすための数多くのワンライナーを集めたコレクションで、基本的なターミナル活用から変数、数値計算、grep/sed/awk、さらには作者の専門であるバイオインフォマティクスで必要となるデータ解析や、Linuxシステム管理で使えるワンライナー(まれに1行ではないものもある)が揃っている。 GitHub -onceupon/Bash-Oneliner :A collection of handy Bash One-Liners and

                  2022年5月10日 Bash-Oneliner ―bashの操作をより便利にするワンライナーコレクション | gihyo.jp
                • 最新ITニュース 2022/05/04版発行 - かずきち。の日記

                  個人開発のコストはDB次第 - laiso laiso.hatenablog.com なるべく早く身につけたいエラーとの向き合い方 - Qiita qiita.com Graydon HoareのCompiler講義資料が面白かった話 - Arantium Maestum zehnpaard.hatenablog.com 役所のDXはなぜ難しい?行政にはびこる「絶対間違えられない」の呪縛 diamond.jp iPhoneで撮影した写真を「HEIC」から「JPG」にすばやく変換する方法 | ライフハッカー[日本版] www.lifehacker.jp アンカーの最新製品をチェック、これから発売されるアンカー製品まとめ k-tai.watch.impress.co.jp MFAデバイスが機能しなくなってAWSアカウントにログインできなくなった場合の対処法 - おれさまラボ www.oresa

                    最新ITニュース 2022/05/04版発行 - かずきち。の日記
                  • Linux on A7-A8X

                    How we got Linux on the iPhone, iPad and other iDevicesIntroductionThe story starts back in 2020 with Corellium releasing Project Sandcastle. I was amazed at the sheer thought of running Linux on an iDevice, especially considering their state-of-the-art SoCs, which keep consistently outperforming the competitors' offerings (or.. plainly trashing them, as was the case with M1!). Some time around th

                    • BASH Template Promises Safer Scripts

                      Many bash scripts start out as something quick and dirty but then become so useful that they live for years, indeed sometimes seeing more use than our traditional programs. Now that you can even run bash well under Windows (although, you’ve always been able to run it there if you tried), there are even more opportunities for your five-minute bash script to proliferate. [Maciej] decided he was tire

                        BASH Template Promises Safer Scripts
                      1