Skip to content

Instantly share code, notes, and snippets.

@killfill
Created February 8, 2016 21:01
Show Gist options
  • Save killfill/7050ad70264c52f57461 to your computer and use it in GitHub Desktop.
Save killfill/7050ad70264c52f57461 to your computer and use it in GitHub Desktop.
FIFO: Change internal database
If you happend to need to change the internal fifo DB, can do it like this:
```
$sniffle attach
Attaching to /tmp/sniffle/erlang.pipe.1 (^D to exit)
^L
sniffle_vm:alias(<<"0aa656d6-4418-49a5-ab96-f722e9323ee8">>, <<"my-new-alias">>).
sniffle_vm:dataset(<<"0aa656d6-4418-49a5-ab96-f722e9323ee8">>, <<"70f1b13e-0f85-11e5-a009-4f90f9a0b7bd">>).
sniffle_vm:get(<<"0aa656d6-4418-49a5-ab96-f722e9323ee8">>).
q().
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment