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
sqldefのリポジトリ github.com これは何か Ridgepoleというツールをご存じでしょうか。 これはRubyのDSLでcreate_tableやadd_index等を書いてスキーマ定義をしておくとそれと実際のスキーマの差異を埋めるために必要なDDLを自動で生成・適用できる便利なツールです。一方、 で言われているように、Ridgepoleを動作させるためにはRubyやActiveRecordといった依存をインストールする必要があり、Railsアプリケーション以外で使う場合には少々面倒なことになります。*1 *2 そこで、Pure Goで書くことでワンバイナリにし、また別言語圏の人でも使いやすいよう、RubyのDSLのかわりに、誰でも知ってるSQLでCREATE TABLEやALTER TABLEを書いて同じことができるようにしたのがsqldefです。 使用例 現時点ではMy
JSON を整形してから diff をとる tool、diff-with-json を作った。 github.com JSON を jq command に通して整形し、colordiff が在れば其れを、無ければ diff を使って差分を表示する。 次の a1.json と a2.json が在ったとしやう。 // a1.json { "m": 42, "n": 57 } // a2.json { "m": 42, "n": "parrot" } .n を 57 から"parrot"に変へたものだ。此れを diff で diff -u -L a1.json -L a2.json a1.json a2.json として差分を出すと斯う成って了ふ。 --- a1.json +++ a2.json @@ -1 +1 @@ -{"m":42,"n":57} +{"m":42,"n":"parro
Pure Javascript / HTML5 Written in pure Javascript, Mergely compares documents directly in the browser. Markup and merging are done in real-time with no calls to a server. Track your document changes online Track and merge your documents online. Mergely shows you changes to documents side-by-side so you can clearly see what changed from one version to the next. Mergely helps you take control Take
Githubで画像の差分を見られるモードが話題を呼びましたが、このように2枚の画像の差分を調べたいときって時々ありますよね。 そんなときImageMagickのコマンドラインツールを使えば、たった1行で実現できます。 $ composite -compose difference A.jpg B.jpg diff.jpg とすれば、A.jpg と B.jpg の差分画像 diff.jpg が作られます。この差分画像は以下のようになります。 さらにこの差分画像(diff.jpg)が「真っ黒な画像」かどうかも、コマンドラインで調べることができます。 # 差分がなかった場合(=diff.jpgは黒一色の画像) $ identify -format "%[mean]" diff.jpg 0 # 差分があった場合 $ identify -format "%[mean]" diff.jpg 960.8
UNIXの基本的なコマンドの1つであるdiff。 これに実装されているアルゴリズムは実に興味深い世界が広がっています。 本稿では、筆者が開発した独自ライブラリ「dtl」をもとに「diffのしくみ」を解説します。 はじめに diffは2つのファイルやディレクトリの差分を取るのに使用するプログラムです。 ソフトウェア開発を行っている方であれば、SubversionやGitなどのバージョン管理システムを通して利用していることが多いかと思います。本稿ではそのdiffの動作原理について解説します。 差分の計算の際に重要な3つの要素 差分を計算するというのは次の3つを計算することに帰結します。 編集距離 2つの要素列の違いを数値化したもの LCS(Longest Common Subsequence) 2つの要素列の最長共通部分列 SES(Shortest Edit Script) ある要素列を別の要
Get Diffuse today... discover why Diffuse is the best solution for you Diffuse is a small and simple text merge tool written in Python. With Diffuse, you can easily merge, edit, and review changes to your code. Diffuse is free software. Quick Start Compare a Set of Files $ diffuse file1 file2 file3 Review Local Changes or Fix Merge Conflicts $ diffuse -m Compare Specific Revisions $ diffuse -r rev
Summary 概要 DocDiff compares two text files and shows the difference. It can compare files by word, character, or line. It has several output formats such as HTML, tty, Manued, or user-defined markup. DocDiffは2つのテキストファイルを比較してその違いを表示します。単語ごと、文字ごと、そして行ごとにファイルを比較できます。結果を出力する形式は、HTML, tty(文字 端末向けのエスケープシーケンス), Manued(真鵺道という校正用のマークアップ形式)などが用意されており、ユーザ定義のタグを使うこともできます。 It supports several encodings and end
Introduction Why? I use Windows explorer as my main file manager. From time to time I need to see what is the difference between two files. There are many graphical diff programs available. Like kdiff3, tkdiff, WinMerge, csdiff, Araxis merge etc. Unfortunately these tools do not give one ability to compare files from Explorer or (in case of Araxis) do not allow to compare files from different dire
TextDiff Version: 4.5 Last updated: 2 June 2008 Copyright © 2001-2008 Angus Johnson Main features: freeware customizable color highlighting of differences drag and drop enabled accepts commandline parameters for file and folder comparisons Folder compares: double click modified (green) files to view file differences File compares: a very fast compare algorithm space characters and case can be igno
Firediff is a Firebug extension that tracks changes to a pages DOM and CSS. Change Tracking Firediff implements a change monitor that records all of the changes made by firebug and the application itself to CSS and the DOM. This provides insight into the functionality of the application as well as provide a record of the changes that were required to debug and tweak the page’s display. In addition
Paste some JSON in each of the text fields. Click "Compare" to see the diff. Changed portions are displayed in yellow. Additions are displayed in green. Deletions are displayed in red. It also works as a JSON viewer. Click the disclosure triangles to display/hide portions of the JSON. Invalid JSON is indicated by the text fields turning red. Swap the contents of the text areas by clicking "Swap".
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く