Skip to content

Instantly share code, notes, and snippets.

@JavierJia
Created September 8, 2016 17:55
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save JavierJia/565cefd9322df35c7abeefbfcfcee9f8 to your computer and use it in GitHub Desktop.
time cat <<'EOF' | curl -XPOST --data-binary @- http://uranium.ics.uci.edu:19002/aql
use dataverse twitter;
drop feed TweetFeed if exists;
drop feed MessageFeed if exists;
create feed TweetFeed using socket_adapter
(
("sockets"="ur_ur:10001"),
("address-type"="nc"),
("type-name"="typeTweet"),
("format"="adm")
);
set wait-for-completion-feed "false";
connect feed TweetFeed to dataset ds_tweet;
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment