From 78e338b5de9e23c531a0df9b3249b55c21a66a86 Mon Sep 17 00:00:00 2001 From: 9fo <71867245+9fo@users.noreply.github.com> Date: Thu, 27 Apr 2023 16:20:34 -0700 Subject: Create readme.md --- cocalc/readme.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 cocalc/readme.md (limited to 'cocalc') diff --git a/cocalc/readme.md b/cocalc/readme.md new file mode 100644 index 00000000..903fac79 --- /dev/null +++ b/cocalc/readme.md @@ -0,0 +1,20 @@ +### Example: `cocalc` + + +```python +# import library +import cocalc + +cocalc.Completion.create(prompt="How are you!", cookieInput="cookieinput") ## Tutorial +``` + +### How to grab cookie input +```js +# input this into ur developer tools console and the exact response u get from this u put into ur cookieInput! +var cookies = document.cookie.split("; "); +var cookieString = ""; +for (var i = 0; i < cookies.length; i++) { + cookieString += cookies[i] + "; "; +} +console.log(cookieString); +``` -- cgit v1.2.3