In order to start the workshop there are a few things that we will have to install or set up.
If you don't have Rust installed in your machine yet, please follow these instructions.
In order to start the workshop there are a few things that we will have to install or set up.
If you don't have Rust installed in your machine yet, please follow these instructions.
// ==UserScript== | |
// @name Datadog - Error Tracking AI | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author Roberto Huertas | |
// @match https://dd.datad0g.com/apm/error-tracking?* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=datad0g.com | |
// @grant none | |
// ==/UserScript== |
- name: Dump GitHub context | |
id: github_context_step | |
run: echo '${{ toJSON(github.event) }}' |
use pin_project::pin_project; | |
use std::future::Future; | |
use std::pin::Pin; | |
use std::task; | |
use std::time::Duration; | |
use tokio::time::Instant; | |
#[tokio::main(flavor = "multi_thread", worker_threads = 1)] | |
async fn main() { | |
let async_fn = reqwest::get("http://robertohuertas.com"); |
I hereby claim:
To claim this, I am signing this object:
<script> | |
import { signOut as authSignOut } from 'sk-auth/client'; | |
import { session } from '$app/stores'; | |
// getting the user from the session store | |
$: user = $session.user; | |
function signIn() { | |
location.assign('/api/auth/signin/cognito?redirect=/'); | |
} |
import { appAuth } from '$lib/auth'; | |
export const { getSession } = appAuth; |
// we're importing our auth object here | |
import { appAuth } from '$lib/auth'; | |
// and exposing the get and post method handlers | |
export const { get, post } = appAuth; |
VITE_CLIENT_ID=<your_client_id> | |
VITE_CLIENT_SECRET=<your_client_secret> |
import { SvelteKitAuth, Providers } from 'sk-auth'; | |
// this is the domain we set up in our Cognito Pool | |
const DOMAIN = 'sveltekit.auth.eu-west-1.amazoncognito.com'; | |
// these are the configuration seetings for our OAUTH2 provider | |
const config = { | |
accessTokenUrl: `https://${DOMAIN}/oauth2/token`, | |
profileUrl: `https://${DOMAIN}/oauth2/userInfo`, | |
authorizationUrl: `https://${DOMAIN}/oauth2/authorize`, |