Skip to content

Instantly share code, notes, and snippets.

@awreece
Last active December 30, 2015 01:18
Show Gist options
  • Save awreece/7754845 to your computer and use it in GitHub Desktop.
Save awreece/7754845 to your computer and use it in GitHub Desktop.
__ERROR__ Mon Dec 02 2013 10:45:37 GMT-0800 (PST) { [Error: ENOENT, open '/home/alex/interview/.floo'] errno: 34, code: 'ENOENT', path: '/home/alex/interview/.floo' }
__LOG__ Mon Dec 02 2013 10:45:37 GMT-0800 (PST) Reloading hooks.
__LOG__ Mon Dec 02 2013 10:45:37 GMT-0800 (PST) Didn't find any hooks in .floo.
__LOG__ Mon Dec 02 2013 10:45:37 GMT-0800 (PST) Watching /home/alex/interview/.floo for changes
__LOG__ Mon Dec 02 2013 10:45:37 GMT-0800 (PST) starting syncing
__LOG__ Mon Dec 02 2013 10:45:37 GMT-0800 (PST) all done syncing
# From another terminal, do "touch hello"
__LOG__ Mon Dec 02 2013 10:46:04 GMT-0800 (PST) rename hello
__LOG__ Mon Dec 02 2013 10:46:04 GMT-0800 (PST) created /home/alex/interview/hello
__LOG__ Mon Dec 02 2013 10:46:04 GMT-0800 (PST) buf hello doesn't exist. creating...
__LOG__ Mon Dec 02 2013 10:46:04 GMT-0800 (PST) buf hello doesn't exist. creating...
__LOG__ Mon Dec 02 2013 10:46:04 GMT-0800 (PST) change hello
__LOG__ Mon Dec 02 2013 10:46:04 GMT-0800 (PST) buf hello doesn't exist. creating...
__LOG__ Mon Dec 02 2013 10:46:04 GMT-0800 (PST) Writing hello
__LOG__ Mon Dec 02 2013 10:46:04 GMT-0800 (PST) change hello
__ERROR__ Mon Dec 02 2013 10:46:04 GMT-0800 (PST) { msg: 'create buf failed: Error: Duplicate path. Buffer 3 already has path hello',
flash: false,
name: 'error' }
__ERROR__ Mon Dec 02 2013 10:46:04 GMT-0800 (PST) { msg: 'create buf failed: Error: Duplicate path. Buffer 3 already has path hello',
flash: false,
name: 'error' }
__LOG__ Mon Dec 02 2013 10:46:13 GMT-0800 (PST) awreece joined the room
__LOG__ Mon Dec 02 2013 10:46:14 GMT-0800 (PST) awreece joined the room on darwin
# From the web, create a file named "hello.md"
__LOG__ Mon Dec 02 2013 10:46:24 GMT-0800 (PST) Writing hello.md
__LOG__ Mon Dec 02 2013 10:46:24 GMT-0800 (PST) rename hello.md
__LOG__ Mon Dec 02 2013 10:46:24 GMT-0800 (PST) created /home/alex/interview/hello.md
__LOG__ Mon Dec 02 2013 10:46:24 GMT-0800 (PST) rename hello.md
__LOG__ Mon Dec 02 2013 10:46:24 GMT-0800 (PST) created /home/alex/interview/hello.md
__LOG__ Mon Dec 02 2013 10:46:24 GMT-0800 (PST) Deleted /home/alex/interview/hello.md
# Why floomatic, why? :'(
__LOG__ Mon Dec 02 2013 10:46:31 GMT-0800 (PST) Writing hello.md
__LOG__ Mon Dec 02 2013 10:46:31 GMT-0800 (PST) rename hello.md
__LOG__ Mon Dec 02 2013 10:46:31 GMT-0800 (PST) created /home/alex/interview/hello.md
__LOG__ Mon Dec 02 2013 10:46:31 GMT-0800 (PST) rename hello.md
__LOG__ Mon Dec 02 2013 10:46:31 GMT-0800 (PST) created /home/alex/interview/hello.md
__LOG__ Mon Dec 02 2013 10:46:31 GMT-0800 (PST) Deleted /home/alex/interview/hello.md
# In another terminal, rm hello
__LOG__ Mon Dec 02 2013 10:46:37 GMT-0800 (PST) rename hello
__LOG__ Mon Dec 02 2013 10:46:37 GMT-0800 (PST) created /home/alex/interview/hello
__WARN__ Mon Dec 02 2013 10:46:37 GMT-0800 (PST) Tried to delete /home/alex/interview/hello but I couldn't because { [Error: ENOENT, unlink '/home/alex/interview/hello'] errno: 34, code: 'ENOENT', path: '/home/alex/interview/hello' }
# In another terminal, vim hello.md
__LOG__ Mon Dec 02 2013 10:46:42 GMT-0800 (PST) rename hello.md
__LOG__ Mon Dec 02 2013 10:46:42 GMT-0800 (PST) created /home/alex/interview/hello.md
__LOG__ Mon Dec 02 2013 10:46:43 GMT-0800 (PST) buf hello.md doesn't exist. creating...
__LOG__ Mon Dec 02 2013 10:46:43 GMT-0800 (PST) buf hello.md doesn't exist. creating...
__LOG__ Mon Dec 02 2013 10:46:43 GMT-0800 (PST) change hello.md
__LOG__ Mon Dec 02 2013 10:46:43 GMT-0800 (PST) buf hello.md doesn't exist. creating...
__LOG__ Mon Dec 02 2013 10:46:43 GMT-0800 (PST) Writing hello.md
__LOG__ Mon Dec 02 2013 10:46:43 GMT-0800 (PST) change hello.md
__ERROR__ Mon Dec 02 2013 10:46:43 GMT-0800 (PST) { msg: 'create buf failed: Error: Duplicate path. Buffer 6 already has path hello.md',
flash: false,
name: 'error' }
__ERROR__ Mon Dec 02 2013 10:46:43 GMT-0800 (PST) { msg: 'create buf failed: Error: Duplicate path. Buffer 6 already has path hello.md',
flash: false,
name: 'error' }
__LOG__ Mon Dec 02 2013 10:46:46 GMT-0800 (PST) rename .hello.md.swp
__LOG__ Mon Dec 02 2013 10:46:46 GMT-0800 (PST) created /home/alex/interview/.hello.md.swp
__LOG__ Mon Dec 02 2013 10:46:46 GMT-0800 (PST) buf .hello.md.swp doesn't exist. creating...
__LOG__ Mon Dec 02 2013 10:46:46 GMT-0800 (PST) buf .hello.md.swp doesn't exist. creating...
__LOG__ Mon Dec 02 2013 10:46:46 GMT-0800 (PST) rename .hello.md.swx
__LOG__ Mon Dec 02 2013 10:46:46 GMT-0800 (PST) created /home/alex/interview/.hello.md.swx
__LOG__ Mon Dec 02 2013 10:46:46 GMT-0800 (PST) rename .hello.md.swx
__LOG__ Mon Dec 02 2013 10:46:46 GMT-0800 (PST) created /home/alex/interview/.hello.md.swx
__LOG__ Mon Dec 02 2013 10:46:46 GMT-0800 (PST) rename .hello.md.swp
__LOG__ Mon Dec 02 2013 10:46:46 GMT-0800 (PST) created /home/alex/interview/.hello.md.swp
__LOG__ Mon Dec 02 2013 10:46:46 GMT-0800 (PST) buf .hello.md.swp doesn't exist. creating...
__LOG__ Mon Dec 02 2013 10:46:46 GMT-0800 (PST) buf .hello.md.swp doesn't exist. creating...
__LOG__ Mon Dec 02 2013 10:46:46 GMT-0800 (PST) rename .hello.md.swp
__LOG__ Mon Dec 02 2013 10:46:46 GMT-0800 (PST) created /home/alex/interview/.hello.md.swp
__LOG__ Mon Dec 02 2013 10:46:46 GMT-0800 (PST) buf .hello.md.swp doesn't exist. creating...
__LOG__ Mon Dec 02 2013 10:46:46 GMT-0800 (PST) buf .hello.md.swp doesn't exist. creating...
__LOG__ Mon Dec 02 2013 10:46:46 GMT-0800 (PST) change .hello.md.swp
__LOG__ Mon Dec 02 2013 10:46:46 GMT-0800 (PST) buf .hello.md.swp doesn't exist. creating...
__LOG__ Mon Dec 02 2013 10:46:46 GMT-0800 (PST) change .hello.md.swp
__LOG__ Mon Dec 02 2013 10:46:46 GMT-0800 (PST) buf .hello.md.swp doesn't exist. creating...
__LOG__ Mon Dec 02 2013 10:46:46 GMT-0800 (PST) Writing .hello.md.swp
__LOG__ Mon Dec 02 2013 10:46:46 GMT-0800 (PST) change .hello.md.swp
__ERROR__ Mon Dec 02 2013 10:46:46 GMT-0800 (PST) { msg: 'create buf failed: Error: Duplicate path. Buffer 7 already has path .hello.md.swp',
flash: false,
name: 'error' }
__ERROR__ Mon Dec 02 2013 10:46:47 GMT-0800 (PST) { msg: 'create buf failed: Error: Duplicate path. Buffer 7 already has path .hello.md.swp',
flash: false,
name: 'error' }
__LOG__ Mon Dec 02 2013 10:46:47 GMT-0800 (PST) change .hello.md.swp
__LOG__ Mon Dec 02 2013 10:46:47 GMT-0800 (PST) new md5 is 5b53f1e325e61fcf5b49d7892609cecb
__ERROR__ Mon Dec 02 2013 10:46:47 GMT-0800 (PST) { msg: 'create buf failed: Error: Duplicate path. Buffer 7 already has path .hello.md.swp',
flash: false,
name: 'error' }
__ERROR__ Mon Dec 02 2013 10:46:47 GMT-0800 (PST) { msg: 'create buf failed: Error: Duplicate path. Buffer 7 already has path .hello.md.swp',
flash: false,
name: 'error' }
__ERROR__ Mon Dec 02 2013 10:46:48 GMT-0800 (PST) { msg: 'create buf failed: Error: Duplicate path. Buffer 7 already has path .hello.md.swp',
flash: false,
name: 'error' }
__ERROR__ Mon Dec 02 2013 10:46:48 GMT-0800 (PST) { msg: 'create buf failed: Error: Duplicate path. Buffer 7 already has path .hello.md.swp',
flash: false,
name: 'error' }
__ERROR__ Mon Dec 02 2013 10:46:48 GMT-0800 (PST) { msg: 'create buf failed: Error: Duplicate path. Buffer 7 already has path .hello.md.swp',
flash: false,
name: 'error' }
__LOG__ Mon Dec 02 2013 10:46:48 GMT-0800 (PST) Writing .hello.md.swp
__LOG__ Mon Dec 02 2013 10:46:48 GMT-0800 (PST) change .hello.md.swp
__LOG__ Mon Dec 02 2013 10:46:48 GMT-0800 (PST) rename 4913
__LOG__ Mon Dec 02 2013 10:46:48 GMT-0800 (PST) created /home/alex/interview/4913
__LOG__ Mon Dec 02 2013 10:46:48 GMT-0800 (PST) change 4913
__ERROR__ Mon Dec 02 2013 10:46:48 GMT-0800 (PST) Error statting 4913: Error: ENOENT, no such file or directory '4913'
__LOG__ Mon Dec 02 2013 10:46:48 GMT-0800 (PST) rename 4913
__LOG__ Mon Dec 02 2013 10:46:48 GMT-0800 (PST) created /home/alex/interview/4913
__LOG__ Mon Dec 02 2013 10:46:48 GMT-0800 (PST) rename hello.md
__LOG__ Mon Dec 02 2013 10:46:48 GMT-0800 (PST) created /home/alex/interview/hello.md
__LOG__ Mon Dec 02 2013 10:46:48 GMT-0800 (PST) rename hello.md~
__LOG__ Mon Dec 02 2013 10:46:48 GMT-0800 (PST) created /home/alex/interview/hello.md~
__LOG__ Mon Dec 02 2013 10:46:48 GMT-0800 (PST) buf hello.md~ doesn't exist. creating...
__LOG__ Mon Dec 02 2013 10:46:48 GMT-0800 (PST) buf hello.md~ doesn't exist. creating...
__LOG__ Mon Dec 02 2013 10:46:48 GMT-0800 (PST) rename hello.md
__LOG__ Mon Dec 02 2013 10:46:48 GMT-0800 (PST) created /home/alex/interview/hello.md
__LOG__ Mon Dec 02 2013 10:46:48 GMT-0800 (PST) change hello.md
__LOG__ Mon Dec 02 2013 10:46:48 GMT-0800 (PST) change hello.md
__LOG__ Mon Dec 02 2013 10:46:48 GMT-0800 (PST) change .hello.md.swp
fs.js:427
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT, no such file or directory '/home/alex/interview/.hello.md.swp'
at Object.fs.openSync (fs.js:427:18)
at Object.fs.readFileSync (fs.js:284:15)
at Listener.on_change (/usr/lib/node_modules/floomatic/lib/listener.js:148:16)
at Listener.listener (/usr/lib/node_modules/floomatic/lib/listener.js:83:8)
at FSWatcher.EventEmitter.emit (events.js:98:17)
at FSEvent.FSWatcher._handle.onchange (fs.js:1039:12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment