Put this to /usr/local/bin/bcdiff
:
/usr/local/bin/bcompare "$6" "$7" -title1="$3" -title2="$5" -readonly
exit 0
Put his to /usr/local/bin/bcmerge
:
/usr/local/bin/bcompare "$2" "$3" "$1" "$4"
#<Rack::Request:0x007f92241da138 | |
@env= | |
{"GATEWAY_INTERFACE"=>"CGI/1.1", | |
"PATH_INFO"=>"", | |
"QUERY_STRING"=>"", | |
"REMOTE_ADDR"=>"127.0.0.1", | |
"REMOTE_HOST"=>"localhost", | |
"REQUEST_METHOD"=>"GET", | |
"REQUEST_URI"=>"http://localhost:9292/sum/1/b", | |
"SCRIPT_NAME"=>"/sum/1/b", |
# Dropzone Action Info | |
# Name: Archive Image | |
# Description: Save imge to specified forder, and rename it to YYYYMMDD format. | |
# Handles: Files | |
# Creator: Alex Musayev | |
# URL: http://yoursite.com | |
# Events: Dragged | |
# KeyModifiers: Command, Option, Control, Shift | |
# SkipConfig: No | |
# RunsSandboxed: Yes |
{ | |
"provider" => "facebook", | |
"uid" => "1234567890", | |
"info" => { | |
"email" => "[email protected]", | |
"name" => "Donna Amibecffjfgc Occhinoson", | |
"first_name" => "Donna", | |
"last_name" => "Occhinoson", | |
"image" => "http://graph.facebook.com/1234567890/picture", | |
"urls" => { |
{ | |
"Version": "2008-10-17", | |
"Id": "__default_policy_ID", | |
"Statement": [ | |
{ | |
"Sid": "__default_statement_ID", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "*" | |
}, |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
The first image version is a normal thread. Second one has redundant user names removed.