Skip to content

Instantly share code, notes, and snippets.

Created October 4, 2013 18:05
Show Gist options
  • Save anonymous/471c563d34450949610e to your computer and use it in GitHub Desktop.
Save anonymous/471c563d34450949610e to your computer and use it in GitHub Desktop.
rylai@lilac:~/code/filegrapher$ vim in1
rylai@lilac:~/code/filegrapher$ vim in2
rylai@lilac:~/code/filegrapher$ diff in1 in2
1c1
< #<INotify::Event:0x00000000869278 @native=#<INotify::Native::Event:0x00000000869200>, @related=[], @cookie
---
> #<INotify::Event:0x000000008694d0 @native=#<INotify::Native::Event:0x00000000869480>, @related=[], @cookie
#################
rylai@lilac:~/code/filegrapher$ cat in1
#<INotify::Event:0x00000000869278 @native=#<INotify::Native::Event:0x00000000869200>, @related=[], @cookie
=0, @name="", @notifier=#<INotify::Notifier:0x0000000086a470 @fd=7, @watchers={1=>#<INotify::Watcher:0x000
0000086a150 @notifier=#<INotify::Notifier:0x0000000086a470 ...>, @callback=#<Proc:0x0000000086a178@./fileg
rapher.rb:16>, @path="filegrapher.rb", @flags=[:modify, :create, :delete, :delete_self], @id=1>, 2=>#<INot
ify::Watcher:0x00000000869d40 @notifier=#<INotify::Notifier:0x0000000086a470 ...>, @callback=#<Proc:0x0000
0000869d68@./filegrapher.rb:16>, @path="test", @flags=[:modify, :create, :delete, :delete_self], @id=2>, 3
=>#<INotify::Watcher:0x00000000869930 @notifier=#<INotify::Notifier:0x0000000086a470 ...>, @callback=#<Pro
c:0x00000000869958@./filegrapher.rb:16>, @path="hi", @flags=[:modify, :create, :delete, :delete_self], @id
=3>}, @stop=false, @io=#<IO:fd 7>>, @watcher_id=1, @watcher=#<INotify::Watcher:0x0000000086a150 @notifier=
#<INotify::Notifier:0x0000000086a470 @fd=7, @watchers={1=>#<INotify::Watcher:0x0000000086a150 ...>, 2=>#<I
Notify::Watcher:0x00000000869d40 @notifier=#<INotify::Notifier:0x0000000086a470 ...>, @callback=#<Proc:0x0
0000000869d68@./filegrapher.rb:16>, @path="test", @flags=[:modify, :create, :delete, :delete_self], @id=2>
, 3=>#<INotify::Watcher:0x00000000869930 @notifier=#<INotify::Notifier:0x0000000086a470 ...>, @callback=#<
Proc:0x00000000869958@./filegrapher.rb:16>, @path="hi", @flags=[:modify, :create, :delete, :delete_self],
@id=3>}, @stop=false, @io=#<IO:fd 7>>, @callback=#<Proc:0x0000000086a178@./filegrapher.rb:16>, @path="file
grapher.rb", @flags=[:modify, :create, :delete, :delete_self], @id=1>>
rylai@lilac:~/code/filegrapher$ cat in2
#<INotify::Event:0x000000008694d0 @native=#<INotify::Native::Event:0x00000000869480>, @related=[], @cookie
=0, @name="", @notifier=#<INotify::Notifier:0x0000000086a470 @fd=7, @watchers={1=>#<INotify::Watcher:0x000
0000086a150 @notifier=#<INotify::Notifier:0x0000000086a470 ...>, @callback=#<Proc:0x0000000086a178@./fileg
rapher.rb:16>, @path="filegrapher.rb", @flags=[:modify, :create, :delete, :delete_self], @id=1>, 2=>#<INot
ify::Watcher:0x00000000869d40 @notifier=#<INotify::Notifier:0x0000000086a470 ...>, @callback=#<Proc:0x0000
0000869d68@./filegrapher.rb:16>, @path="test", @flags=[:modify, :create, :delete, :delete_self], @id=2>, 3
=>#<INotify::Watcher:0x00000000869930 @notifier=#<INotify::Notifier:0x0000000086a470 ...>, @callback=#<Pro
c:0x00000000869958@./filegrapher.rb:16>, @path="hi", @flags=[:modify, :create, :delete, :delete_self], @id
=3>}, @stop=false, @io=#<IO:fd 7>>, @watcher_id=1, @watcher=#<INotify::Watcher:0x0000000086a150 @notifier=
#<INotify::Notifier:0x0000000086a470 @fd=7, @watchers={1=>#<INotify::Watcher:0x0000000086a150 ...>, 2=>#<I
Notify::Watcher:0x00000000869d40 @notifier=#<INotify::Notifier:0x0000000086a470 ...>, @callback=#<Proc:0x0
0000000869d68@./filegrapher.rb:16>, @path="test", @flags=[:modify, :create, :delete, :delete_self], @id=2>
, 3=>#<INotify::Watcher:0x00000000869930 @notifier=#<INotify::Notifier:0x0000000086a470 ...>, @callback=#<
Proc:0x00000000869958@./filegrapher.rb:16>, @path="hi", @flags=[:modify, :create, :delete, :delete_self],
@id=3>}, @stop=false, @io=#<IO:fd 7>>, @callback=#<Proc:0x0000000086a178@./filegrapher.rb:16>, @path="file
grapher.rb", @flags=[:modify, :create, :delete, :delete_self], @id=1>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment