Skip to content

Instantly share code, notes, and snippets.

View name2.json
{"outputdata2":"a2"}
{"outputdata2":"b2"}
{"outputdata2":"c2"}
View outputdata.json
{"outputdata":"aa"}
{"outputdata":"bb"}
{"outputdata":"cc"}
View names.json
{"foo":"name1"}
{"foo":"name2"}
{"foo":"name3"}
View gist:561149ef0b1cde27fa1e414947e0b839
curl -X POST -H "Content-Type: application/vnd.precog.destination; version=1" -d "{\"name\": \"sqlserver precogtest schema foo create\", \"type\": {\"name\": \"sql-server\", \"version\": 1}, \"config\": {\"schema\": \"foo\", \"writeMode\": \"create\", \"connection\": {\"jdbcUrl\":\"jdbc:sqlserver://localhost:1433;user=SA;password=%3CYourStrong%40Passw0rd%3E;database=precogtest\"}}}" "http://localhost:55932/api/destination/"
curl -X POST -H "Content-Type: application/vnd.precog.destination; version=1" -d "{\"name\": \"sqlserver precogtest schema foo create\", \"type\": {\"name\": \"sql-server\", \"version\": 1}, \"config\": {\"schema\": \"foo\", \"writeMode\": \"create\", \"connection\": {\"jdbcUrl\":\"jdbc:sqlserver://localhost:1433;user=SA;password=<YourStrong@Passw0rd>;database=precogtest\"}}}" "http://localhost:55932/api/destination/"
curl -X POST -H "Content-Type: application/vnd.precog.destination; version=1" -d "{\"name\": \"sqlserver precogtest schema foo create\", \"type\": {\"name\": \"sql-server\"
View gist:d91335fe55ecc62d24a7c3ea01e22925
[{"fairings":null,"links":{"patch":{"small":"https://images2.imgbox.com/fc/58/9UErD3ut_o.png","large":"https://images2.imgbox.com/12/47/6uim8L1a_o.png"},"reddit":{"campaign":"https://new.reddit.com/r/spacex/comments/bd2l28/crs17_launch_campaign_thread/","launch":"https://www.reddit.com/r/spacex/comments/bjsn0v/rspacex_crs17_official_launch_discussion_updates","media":"https://www.reddit.com/r/spacex/comments/bkc4d5/rspacex_crs17_media_thread_videos_images_gifs","recovery":"https://www.reddit.com/r/spacex/comments/bjy7p5/rspacex_crs17_recovery_discussion_updates_thread"},"flickr":{"small":[],"original":["https://live.staticflickr.com/65535/46856594435_206c773b5a_o.jpg","https://live.staticflickr.com/65535/47720639872_284e49381d_o.jpg","https://live.staticflickr.com/65535/46856594755_88f1b22e50_o.jpg","https://live.staticflickr.com/65535/47720639542_1b7c1a71b0_o.jpg","https://live.staticflickr.com/65535/47720639732_e04b2a9ed7_o.jpg","https://live.staticflickr.com/65535/32829382467_087d024428_o.jpg"]},"presskit"