From 6279e18b00cede0376bb115dda984363ffe8012a Mon Sep 17 00:00:00 2001 From: Katie Anderson Date: Fri, 10 May 2019 10:41:11 -0700 Subject: [PATCH 1/3] Add simple curl script for Windows users --- DistributedChaffinMethod/Debugging/curl.cmd | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 DistributedChaffinMethod/Debugging/curl.cmd diff --git a/DistributedChaffinMethod/Debugging/curl.cmd b/DistributedChaffinMethod/Debugging/curl.cmd new file mode 100644 index 0000000..df7c253 --- /dev/null +++ b/DistributedChaffinMethod/Debugging/curl.cmd @@ -0,0 +1,5 @@ +:: Simple wrapper that works like curl for windows users +:: Note that it is fragile - it assumes the URL is in the third +:: parameter and ignores the rest. This works with how URL_UTILITY +:: is currently designed. +@powershell -Command "(new-object net.webclient).DownloadString(\"%3\"")" \ No newline at end of file From 8361e6dc889e678c4c408685492fa5dc675a7956 Mon Sep 17 00:00:00 2001 From: Katie Anderson Date: Fri, 10 May 2019 10:47:00 -0700 Subject: [PATCH 2/3] typo fix --- DistributedChaffinMethod/Debugging/curl.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DistributedChaffinMethod/Debugging/curl.cmd b/DistributedChaffinMethod/Debugging/curl.cmd index df7c253..c7cdbbc 100644 --- a/DistributedChaffinMethod/Debugging/curl.cmd +++ b/DistributedChaffinMethod/Debugging/curl.cmd @@ -1,5 +1,5 @@ :: Simple wrapper that works like curl for windows users :: Note that it is fragile - it assumes the URL is in the third :: parameter and ignores the rest. This works with how URL_UTILITY -:: is currently designed. +:: is currently defined. @powershell -Command "(new-object net.webclient).DownloadString(\"%3\"")" \ No newline at end of file From 26d0e730a7b8e48172dd1084028ebdb417685ebe Mon Sep 17 00:00:00 2001 From: Katie Anderson Date: Fri, 10 May 2019 10:53:19 -0700 Subject: [PATCH 3/3] Yet another simple typo. Maybe I should look at diffs before the PR. --- DistributedChaffinMethod/Debugging/curl.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DistributedChaffinMethod/Debugging/curl.cmd b/DistributedChaffinMethod/Debugging/curl.cmd index c7cdbbc..19a1d06 100644 --- a/DistributedChaffinMethod/Debugging/curl.cmd +++ b/DistributedChaffinMethod/Debugging/curl.cmd @@ -2,4 +2,4 @@ :: Note that it is fragile - it assumes the URL is in the third :: parameter and ignores the rest. This works with how URL_UTILITY :: is currently defined. -@powershell -Command "(new-object net.webclient).DownloadString(\"%3\"")" \ No newline at end of file +@powershell -Command "(new-object net.webclient).DownloadString(\"%3\"") \ No newline at end of file