並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 35 件 / 35件

新着順 人気順

onelinerの検索結果1 - 35 件 / 35件

  • 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.
    • Bash-Oneliner

      Skip to the content. Bash-Oneliner 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

      • Perlスクリプトをワンライナー化するモジュールAcme::OneLinerを作ってみた - すぎゃーんメモ

        GitHubにおいてます。 GitHub - sugyan/Acme-OneLiner: ワンライナー生成モジュール たとえばhello.plというスクリプトを用意して #!/usr/bin/perl use strict; use warnings; print 'Hello world!', "\n"; Acme::OneLinerをuseして実行すると、ワンライナーに変換してくれます。 $ perl -MAcme::OneLiner hello.pl perl -e 'use warnings; use strict q/refs/; print q/Hello world!/, "\n";'出力結果をそのままコピペしてコマンド実行すればスクリプトの実行と同じ結果が得られる…はず。 作成の経緯 スクリプトをワンライナーに変換できないかなー ↓ 基本的に行末はセミコロンで区切ってあるし

          Perlスクリプトをワンライナー化するモジュールAcme::OneLinerを作ってみた - すぎゃーんメモ
        • Firefox5のアドレスバーとタブを同じ高さにできるアドオン「OneLiner」 | ライフハッカー・ジャパン

          デスク配線がスッキリ。Ankerの全部入り12 in 1モニタースタンドが突然8,250円OFFされてた #Amazonセール

            Firefox5のアドレスバーとタブを同じ高さにできるアドオン「OneLiner」 | ライフハッカー・ジャパン
          • Mozilla Labs、「Firefox」のアドレスバーとタブバーを一列にする「OneLiner」

            • oneliner.txt~ - awk-users-jp - Google Code

              Code Archive Skip to content Google About Google Privacy Terms

              • GitHub - hitode909/auto-oneliner-music

                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 - hitode909/auto-oneliner-music
                • コンピュータの操作が音楽を紡ぎだす·Auto oneliner music MOONGIFT

                  Auto oneliner musicはマウスやキーボードの入力から音楽を生み出していくソフトウェアです。 音楽は一つ一つの音符に意味を持たしてじっくり作っていくのも良いですが、何となく即興で奏でてみるのも面白いものです。Auto oneliner musicはマウスの動きやキーボードの入力に合わせて音楽が作られるソフトウェアです。 マウスを動かしたりすると音が流れます。 表示はリアルタイムで更新されます。 ブログを書いたり、ドキュメントを作っているのに合わせてリアルタイムに次々とJavaScriptの式が作られていきます。その結果を評価して音楽が奏でられる仕組みです。良い曲ができるかどうかは、その時の気分次第かも知れません。 Auto oneliner musicはnode.js/Ruby製のソフトウェア(ソースコードは公開されていますがライセンスは明記されていません)です。 MOONG

                    コンピュータの操作が音楽を紡ぎだす·Auto oneliner music MOONGIFT
                  • Brainf*ck を Python-oneliner にコンパイルする Python-oneliner - 宇宙行きたい

                    わけのかわらないタイトルですが,そのままです. import sys;from itertools import ifilterfalse, count;[globals().__setitem__('compile',lambda bf_src : '[globals().__setitem__("dx",0), globals().__setitem__("dseg",[0] * 32768)] '+bf_src.replace('[',' and [ifilterfalse(bool$( dseg#__getitem__(dx) != 0 and [ True ').replace(']',' ] for i in count()))#next() ] ').replace('.',' and [sys#stdout#write(chr(dseg[dx]))] ').replace(

                      Brainf*ck を Python-oneliner にコンパイルする Python-oneliner - 宇宙行きたい
                    • Firefox、タブとアドレスバーを1行にまとめる「OneLiner」を試験公開 | エンタープライズ | マイコミジャーナル

                      Firefox web browser - Faster, more secure & customizable 主要ブラウザのデザインは、いかにコンテンツ表示領域を広げ、それ以外のボタンやメニュー、ツールバーなどを小さくするか、あるいはコンテキストに応じて表示させることで、常時は表示しないようにするといった方向へ進んでいる。 Firefoxもコンパクトデザインを模索しており、5月20日(米国時間)には実験的な取り組みとして、アドレスバーを非表示にするエクステンションLessChrome HDを発表した。Mozilla Labsはその後も取り組みを継続。別のアプローチとして「OneLiner」と呼ばれるエクステンションを公開した。OneLinerはLessChrome HDとは異なり、アドレスバーは表示したままにする。代わりにほかのUIがコンパクト化され、タブを含め1行にまとめられている。

                      • Mozilla Re-Mix: Firefoxのナビゲーションツールバーをタブバーと一体化するMozilla Labs製アドオン「OneLiner」

                        Firefoxのナビゲーションツールバーには、検索バーやロケーションバーの他、ユーザーが任意で設置したボタンなど様々なアイテムを置くことができます。 このように多くのアイテムを置くことができるのは非常に便利ですが、スペースをもっと確保したい方にとっては、このナビゲーションツールバーのアイテムを移設したいという要望もあるでしょう。 しかし、このナビゲーションツールバーにあるアイテムの異動先はメニューバー程度しかなく、結局1段バーのスペースを節約するということにはなりません。 このようなアイテムをタブバーにでも移設できれば、利便性を保ちつつスペースを稼ぐことができるかもしれませんね。 そんな希望を叶えてくれるFirefoxアドオンが「OneLiner」です。 「OneLiner」は、Firefoxのナビゲーションツールバーとタブバーを統合し、操作性を損なうことなくスペースを節約することができる

                        • Oneliner Official Website

                          Project Summary Page (sourceforge) Onelinerとは? Onelinerはフリーソフトウェアです。 GNU General Public License (GPL2)のもとで配布されています。 Onelinerは、Emacs標準shell-modeへのフック集です。 シェルでワンライナをキメるUNIXユーザーのための便利な拡張を集めました。 Document README info CREDITS TODO.ja Download プロジェクトサマリーページからダウンロードしてください。 Oneliner-elがDebian sarge入りました。Debian sargeユーザーの方は、apt-get install oneliner-elでインストールできます。 Mailing list Oneliner の質問や議論、開発に関することは oneli

                          • Mozilla Labs » Prospector » Blog Archive » OneLiner moves navigation to the tabs toolbar

                            The OneLiner experimental add-on takes a different approach from LessChrome HD to achieve the same goal of giving as much space to the web page. The Firefox interface now takes up less space by moving what used to be on two lines into just one line. In order to combine the navigation and tabs toolbars, the location bar is given a small fixed size while the search bar is collapsed to a single butto

                            • 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
                              • Mozilla Labs » Prospector » Blog Archive » OneLiner moves navigation to the tabs toolbar

                                The OneLiner experimental add-on takes a different approach from LessChrome HD to achieve the same goal of giving as much space to the web page. The Firefox interface now takes up less space by moving what used to be on two lines into just one line. In order to combine the navigation and tabs toolbars, the location bar is given a small fixed size while the search bar is collapsed to a single butto

                                • ワンライナー化モジュールAcme::OneLinerを更新 - すぎゃーんメモ

                                  Perlスクリプトをワンライナー化するモジュールAcme::OneLinerを作ってみた - すぎゃーんメモで作成した、Acme::OneLinerを、アップデートしました。 GitHub - sugyan/Acme-OneLiner: ワンライナー生成モジュール 今回の変更は、モジュールのuse宣言をコマンドラインオプションに出すようにしたこと。 例えば、以下のようなスクリプトをワンライナー化すると、 #!/usr/bin/perl use List::Util qw(min max); my @arr = (1, 2, 3); print min(@arr), max(@arr), "\n"; 以前のものでは以下のような出力になっていた。 perl -e 'use List::Util (q/min/, q/max/); my(@arr) = (1, 2, 3); print min(

                                    ワンライナー化モジュールAcme::OneLinerを更新 - すぎゃーんメモ
                                  • GitHub - Songmu/p5-L: perl module loader for oneliner

                                    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 - Songmu/p5-L: perl module loader for oneliner
                                    • OneLiner - 徒委記

                                      OneLiner コマンド1行でいろいろと。 *duの結果を容量の小さい順にソートする du | perl -lpe 's/^(\d+)/sprintf("%10d", $1)/e;' | sort du | sort -n *カレントディレクトリ以下のHTMLファイルの改行コードを変更する find . -name '*.html' | xargs perl -i.bak -pe s/\x0d\x0a$/\x0a/;' *ホスト名のリストをソート www.akatsukinishisu.net というホスト名を net.akatsukinishisu.www のように逆に並べ替え、それらをソートするもの。重複或いは似たホスト名がないかを調べるために使ってます(host.txtがリストファイル)。 perl -lne 'print join ".", reverse split /\./;

                                      • 西尾泰和のブログ: How to make oneliner in Python?

                                        One day I fought on a boxing ring using my Thinkpad. It is a festival for nerds who loves lightweight language. (See Boxing in the LLRing?) My session was "Janken2.0", to make program to connect a server and play "Paper-Scissors-Rock". This entry is a FAQ, notFrequently Asked Question to make Python oneliner. Is it difficult to make oneliners in Python? You should learn Python more. Python use an

                                        • Bash-Oneliner - 短くても便利なBashワンライナー | ソフトアンテナ

                                          MacやLinuxなど、UNIX系システムを使用している人にとってbashはなくてはならない存在です。zshやfishといったより多機能なシェルを使用しているユーザーも、実質的な標準シェルのbashを無視することはできないといって良いでしょう。 本日紹介する「Bash-Oneliner」はそのbashをより便利に使いこなすためのワンライナー(1行だけのプログラム)を集めたコレクションサイトです。 bashの便利なショートカットやエイリアス、シェルスクリプトの構文から、各種基本的なUNIXコマンドの便利な使い方の紹介まで、普段bashを使用している方にとって必見のサイトとなっています。 Bashをより便利に使いこなすために Bash-Onelinerには以下のようなコンテンツが含まれています。 ターミナルを便利に使用するための各種テクニックを紹介する「Terminal Tricks」や、変数

                                            Bash-Oneliner - 短くても便利なBashワンライナー | ソフトアンテナ
                                          • Bash-oneliner: A collection of handy Bash one-liners and terminal tricks | Hacker News

                                            I was surprised to see `$()` missing from this (otherwise quite extensive) list. There are a few commands listed which employ it, but it absolutely deserves its own entry.That and `readlink -f` to get the absolute path of a file. (Doesn't work on MacOS; the only substitute I've found is to install `greadlink`.) And `cp -a`, which is like `cp -r`, but it leaves permissions intact - meaning that you

                                            • Mozilla Labs、「Firefox」のアドレスバーとタブバーを一列にする「OneLiner」 (Impress Watch) - Yahoo!ニュース

                                              Mozilla Labs、「Firefox」のアドレスバーとタブバーを一列にする「OneLiner」 Impress Watch 8月1日(月)17時0分配信 Mozilla Labsは7月28日、「Firefox」のナビゲーションツールバーとタブバーを一列に表示可能にする「Mozilla Labs: Prospector - OneLiner」(以下、「OneLiner」)を公開した。「Firefox」v4.0以降に対応するフリーソフトで、編集部にてWindows 7上の「Firefox」v5.0.1で動作を確認した。現在ライブラリサイト“Firefox Add-ons”からダウンロードできる。 「OneLiner」を利用すると、IE9と同じようにナビゲーションツールバーとタブバーを一列に並べて、Webページの表示画面をさらに広くとることが可能。Microsoftの調査によると、97%

                                              • yuka on Twitter: "インフラ勉強会で知ったんだけど、bashをより便利に使いこなすためのワンライナー(1行だけのプログラム)を集めたコレクションサイト「Bash-Oneliner」というのがあるらしい💡面白いこれʕ•ӫ̫͡•ʔ https://t.co/rm8fVJUUSI"

                                                インフラ勉強会で知ったんだけど、bashをより便利に使いこなすためのワンライナー(1行だけのプログラム)を集めたコレクションサイト「Bash-Oneliner」というのがあるらしい💡面白いこれʕ•ӫ̫͡•ʔ https://t.co/rm8fVJUUSI

                                                  yuka on Twitter: "インフラ勉強会で知ったんだけど、bashをより便利に使いこなすためのワンライナー(1行だけのプログラム)を集めたコレクションサイト「Bash-Oneliner」というのがあるらしい💡面白いこれʕ•ӫ̫͡•ʔ https://t.co/rm8fVJUUSI"
                                                • GitHub - peewpw/Invoke-PSImage: Encodes a PowerShell script in the pixels of a PNG file and generates a oneliner to execute

                                                  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.

                                                    GitHub - peewpw/Invoke-PSImage: Encodes a PowerShell script in the pixels of a PNG file and generates a oneliner to execute
                                                  • Mozilla Labs、「Firefox」のアドレスバーとタブバーを一列にする「OneLiner」 - 窓の杜

                                                    • Android AOSPの group一覧のための oneliner - Qiita

                                                      perl -ne 'if (m,groups="([^"]+)",) { $a = $1; $a =~ s/,/\n/g; print $a, "\n"}' |sort|uniq Groupは以下のために使います: http://qiita.com/monamour555/items/804cc47110a0a7031117 ちなみに、いま syncした repositoryに対してやったところ、以下の groupができました。意味は類推してください: arm broadcom_wlan cts darwin device eclipse exynos5 flo grouper hammerhead invensense libyuv linux mako manta mips motodev notdefault omap4 pdk pdk-java qcom qcom_msm8960

                                                        Android AOSPの group一覧のための oneliner - Qiita
                                                      • InDesign oneLiner (JP) | CS5

                                                        2020年02月29日2022年12月29日 Click here for English version 概要 InDesignでもIllustratorのようなポイント文字(ポイントテキスト)を使いたい! 1行入力したいだけなのにテキストフレームを作って、大きさを調整するのは面倒だ。クリックするだけで文字が入力できたらどんなに楽だろう。 そんな思いを持ちながら十数年、ようやくポイントテキストらしきものをスクリプトで実現しました。 横組みパスツールもしくは縦組みパスツールでドキュメントの任意の場所をクリックすると、そのまま文字が入力できます。 ただし、Illustratorのポイントテキストを期待している人には申し訳ないのですが、InDesignのパス上文字機能を使用しているので、1行しか作れません。 そのため「インデザイン ワンライナー」と名付けました。 動作環境 InDesign

                                                        • oneliner - ghiden’s diary

                                                          rubyでのonelinerのやり方。 $ ruby -e "(0x20..0x7e).each {|i| print i.chr, ' '}" ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~

                                                            oneliner - ghiden’s diary
                                                          • コマンドプロンプトでワンライナー(OneLiner)を利用する

                                                            コマンドプロンプトでは複数のWindowsコマンドを一括で実行できる。 コマンドとコマンドの間にアンパサンドを2 つ(&&)指定すればよい。 アンパサンドを2つ指定すると1行のコマンドで複数のコマンドを実行(OneLiner)できるようになる。

                                                              コマンドプロンプトでワンライナー(OneLiner)を利用する
                                                            • Bashでワンライナー(OneLiner)を利用する

                                                              ワンライナー(OneLiner)、つまり一行でbashのスクリプトを記述する。 基本的なこと基本的にBashのスクリプトと同様。 ポイントは、以下の2点。 コマンドの出力結果は、パイプ(|)を使うと、次のコマンドに渡すことができる。別のコマンドを実行する場合は、セミコロン(;)でコマンドを区切る。 定期的に処理を実行以下の例は、1秒間隔で5回、dateコマンドを実行する。 最初に、ループ用の変数iを初期化。 ‘do’の後から、whileループ内で実行するコマンドを記述。 「dateコマンドの実行」「sleepコマンドの実行」「変数iのインクリメント」の3つを実行。

                                                                Bashでワンライナー(OneLiner)を利用する
                                                              • Firefox、タブとアドレスバーを1行にまとめる「OneLiner」を試験公開 | エンタープライズ | マイコミジャーナル - WEB開発日記

                                                                Firefox、タブとアドレスバーを1行にまとめる「OneLiner」を試験公開 | エンタープラ...続きはこちら

                                                                  Firefox、タブとアドレスバーを1行にまとめる「OneLiner」を試験公開 | エンタープライズ | マイコミジャーナル - WEB開発日記
                                                                • onelinerの人気記事 3件 - はてなブックマーク

                                                                  A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? bash linux github あとで読む shell シェルスクリプト terminal cli ワンライナー ターミナル Skip to the content. Bash-Oneliner I am glad that you are here! I was working on bioinformatics a few years ago and was amazed by t

                                                                  • python : oneliner : 空行を削る

                                                                    #cat hoge.txt | python -c "import re,sys; print ”.join([ x for x in sys.stdin.readlines() if re.match(‘^\s*$’,x) == None ]);"

                                                                      python : oneliner : 空行を削る
                                                                    • D言語LispでBase64デコーダを書いた(Oneliner Base64 decoder in Dlang) (通常の実装&解説も一応...) - Qiita

                                                                      以前書いたBase64エンコーダ D言語で書く "イケメンなコード" ~ Base64エンコーダをワンライナーで書く ~ のバグを直した時に、「あっ、まだデコーダを書いてないや」と思ったので書きました。 例によって型推論が効いているので引数の型は省略しました。 今回は記事の末尾にこれのもととなった、ヒューマンリーダブル(?)な通常の実装も載せておきます。 import std.algorithm, std.string, std.ascii, std.range, std.conv; R delegate(Args) Z(R, Args...)(R delegate(R delegate(Args), Args) f){ return (Args args) => f(Z(f), args); } ubyte[] decode(string data) { return (convb =>

                                                                        D言語LispでBase64デコーダを書いた(Oneliner Base64 decoder in Dlang) (通常の実装&解説も一応...) - Qiita
                                                                      • onelinerへの道 - Djangoへの片思い日記

                                                                        pit を oneliner にしてみよう!! 代入は lambda では出来ないので とりあえずすべてグローバルに入れてみる。 global の使いかた >>> g = globals() >>> g.__setitem__('x',1) >>> print x 1 おぉ!! 変数への代入はすべてグローバルへ g = globals() g.__setitem__("setitem", g.__setitem__) . . . setitem('set_if_t', tempfile.NamedTemporaryFile()) テストを実行して壊れてない事を確認 テストの大事さを実感!! 複数処理を oneliner 化 複数の処理を一つの式にする os.mkdir(DIRECTORY) os.chmod(DIRECTORY, 0700) を一つの処理にするためには両方実行されれば良い

                                                                          onelinerへの道 - Djangoへの片思い日記
                                                                        1