jq is a lightweight and flexible command-line JSON processor. jq is like sed for JSON data - you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text. jq is written in portable C, and it has zero runtime dependencies. You can download a single binary, scp it to a far away machine of the same type, and expect
http://nai.homelinux.net/wireless.html 試したのはArmadillo-300(開発キット) これにdebianを入れたもの。 インストールまず、設定をするのにwlan-toolsをインストール # apt-get install wlan-toolsこれでiwconfig等のコマンドが使用可に。 インターフェイス名確認どんなインターフェースがあるのか確認 $ iwconfig (略)リストの中で[no wireless extensions.]と出らず、いろいろな情報が表示されているものが無線機器のインターフェース名だと思われる。 今回は[ath0]という名前だった. 各種編集[/etc/network/] 内の3つの設定ファイルの編集。 ath0-pre-up/etc/network/ath0-pre-up 多分ないと思われるから作成。 ついでに実行
プログラムを定期的に更新し、出力をフルスクリーンで表示 オプション -n (--interval):実行間隔(秒) -d (--differences):前回と異なっている部分をハイライト -d=cumulative:実行時から異なっている部分をハイライトし続ける --no-tatile:1行目ヘッダーと次空行を表示しない 基本 watch -n [実行間隔] "[実行コマンド]" 用途 ポート80番へ接続中の接続元IPを3秒間隔で表示する watch -n 3 -d "netstat -an |grep :80 |grep ESTABLISHED httpdプロセスの動作状況を監視する watch -n 1 -d "ps axufww |grep httpd eth0ネットワークの通信状況を監視する watch -n 1 -d "/sbin/ifconfig -eth0
macで使う macportsにてstableのパッケージが提供されている。 macportsの使い方はMac#r6ab7864を参照。 sudo install ffmpeg でOK。コーデックなどをいっきにインストールしてくれる。 動画早回し 目標:音声と動画の整合性をとりつつ、任意のcodec、任意の解像度・・・の動画ファイルを処理する。 もちろん、音声のピッチが高くなったりしてはいけない。 画質・音質の劣化には目をつぶる。 処理時間もとりあえず潤沢にあると仮定する。余りに遅いようであれば、ファイル形式の変換だけをかけてQuickTimeで早回し設定で見ればいい。 オーソドックな方法 元動画から動画と音声を生データに分離し、それぞれのレート(フレームレート、サンプリングレート)を同じだけ倍にする。具体的にはffmpegの分析データをgrepで抽出し、それを処理する。 分離 ffmpe
cacaview(1) - Linux man page Name cacaview - ASCII image browser Synopsis cacaview [FILE...] Description cacaview is a lightweight text mode image viewer. It renders images using colour ASCII characters. It is a powerful add-on to famous console programs such as the mutt email client, the slrn newsreader and the links or w3m web browsers. cacaview can load the most widespread image formats: PNG, J
The complete solution for Ruby command-line executables. Commander bridges the gap between other terminal related libraries you know and love (OptionParser, HighLine), while providing many new features, all packed in one simple, elegant API. Features Easier than baking cookies Parses options using OptionParser Auto-populates struct with options ( no more { |v| options[:recursive] = v } ) Auto-gene
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く