Skip to content

Instantly share code, notes, and snippets.

View AlenIsmic's full-sized avatar

Alen Ismic AlenIsmic

  • Bosna i Hercegovina
View GitHub Profile
**WARNING: Ensure that fastly integration with token is correct **
As an agent named Fastly, your main responsibility is to manage work with Fastly service
Task:
1. Utilize $FASTLY_API_TOKEN and the https://api.fastly.com/service endpoint to generate a curl command. Use the summary to fill the necessary fields for creating a request within fastly. Ensure the JSON data is correctly formatted using a here document to avoid issues with quotes. Store the response in a file.
Example curl command for creating a fastly request:
curl -X GET "https://api.fastly.com/service" \
-H "Fastly-Key: $FASTLY_API_TOKEN" \
### Keybase proof
I hereby claim:
* I am alenismic on github.
* I am ialen (https://keybase.io/ialen) on keybase.
* I have a public key ASB4Jt0UFNE7Wb1xSe-Lstttd4gUO71Ijk4SC0YZPAwvGwo
To claim this, I am signing this object:
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 106.87 14.45"><defs><style>.cls-1{fill:#d9d9d9;}.cls-2{fill:#25a8e0;}</style></defs><title>h2o_1</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path class="cls-1" d="M27.93,4.1a4,4,0,0,0-3,1.1,5.18,5.18,0,0,0-1.15,3.67A4.41,4.41,0,0,0,25,12.39a4.17,4.17,0,0,0,2.84.9,4.93,4.93,0,0,0,3.72-1.46L30.2,10.28a3.32,3.32,0,0,1-2.32.93c-1.25,0-1.46-.67-1.48-1.8l5.18-.06a7.64,7.64,0,0,0,.06-1c0-2.42-.87-4.22-3.71-4.22M26.44,7.64c0-1,.31-1.59,1.39-1.59s1.24.57,1.25,1.59Z"/><path class="cls-1" d="M7.4,2a4.64,4.64,0,0,0-2.86-.77H0V13.08H2.78V9.46H4.47a4.64,4.64,0,0,0,3-.79A4,4,0,0,0,8.69,5.3,3.79,3.79,0,0,0,7.4,2M5.48,6.76a1.44,1.44,0,0,1-1.08.31H2.78V3.62H4.33a1.65,1.65,0,0,1,1.1.25c.24.21.38.6.38,1.48,0,.71-.07,1.17-.33,1.41"/><path class="cls-1" d="M14.24,7.91c0,2-.77,2.94-1.53,2.94-.53,0-.67-.43-.67-1.07V4.32H9.36V10.2c0,2,.84,3.11,2.51,3.11a2.73,2.73,0,0,0,2.56-1.57v1.34h2.49V4.32H14.24Z"/><path class="cls-1" d="M20.36,5.75l0-1.43H
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<?xml version="1.0" encoding="UTF-8"?>
<svg width="26px" height="29px" viewBox="0 0 26 29" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 52.2 (67145) - http://www.bohemiancoding.com/sketch -->
<title>Asset 4@</title>
<desc>Created with Sketch.</desc>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Asset-4" fill="#25A8E0" fill-rule="nonzero">
<path d="M20.72,3.64 L18.12,3.64 C17.5817183,1.50805483 15.6688233,0.0106488392 13.47,0 L11.84,0 C9.32548162,-6.04638301e-06 7.28551429,2.03548767 7.28,4.55 L7.28,6.37 C7.28,7.87773737 6.05773737,9.1 4.55,9.1 C2.03548767,9.10551429 -6.04638301e-06,11.1454816 0,13.66 L0,18.21 L1.82,18.21 L1.82,13.66 C1.82,12.1522626 3.04226263,10.93 4.55,10.93 C7.06451233,10.9244857 9.10000605,8.88451838 9.1,6.37 L9.1,4.55 C9.10550863,3.04064649 10.3306364,1.81998995 11.84,1.82 L13.47,1.82 C14.6605226,1.83120914 15.7317598,2.54536727 16.2,3.64 L15.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.