Skip to content

Instantly share code, notes, and snippets.

@juaoose
juaoose / b.geojson
Last active January 18, 2022 03:00
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.
@juaoose
juaoose / Dockerfile
Created January 25, 2022 21:59
devcontainer config for flutter development, based on https://gitlab.com/IvanTurgenev/flutter_vscode_remote
#-------------------------------------------------------------------------------------------------------------
# Flutter Dev Container - Lucas Hilleshein dos Santos.
# Licensed under the MIT License.
# See https://github.com/lucashilles/flutter-dev-container/blob/master/LICENSE for license information.
#-------------------------------------------------------------------------------------------------------------
FROM ubuntu:focal
#Locale
ENV LANG C.UTF-8
@juaoose
juaoose / a
Last active April 18, 2022 19:54
"{\"openapi\":\"3.0.3\",\"info\":{\"title\":\"Swagger\",\"description\":\"This is a sample server Petstore server. You can find out more about Swagger at [http:\/\/swagger.io](http:\/\/swagger.io) or on [irc.freenode.net, #swagger](http:\/\/swagger.io\/irc\/). For this sample, you can use the api key `special-key` to test the authorization filters.\",\"termsOfService\":\"http:\/\/swagger.io\/terms\/\",\"contact\":{\"email\":\"[email protected]\"},\"license\":{\"name\":\"Apache 2.0\",\"url\":\"http:\/\/www.apache.org\/licenses\/LICENSE-2.0.html\"},\"version\":\"1.0.0\"},\"externalDocs\":{\"description\":\"Find out more about Swagger\",\"url\":\"http:\/\/swagger.io\"},\"servers\":[{\"url\":\"https:\/\/petstore.swagger.io\/v2\"},{\"url\":\"http:\/\/petstore.swagger.io\/v2\"}],\"tags\":[{\"name\":\"pet\",\"description\":\"Everything about your Pets\",\"externalDocs\":{\"description\":\"Find out more\",\"url\":\"http:\/\/swagger.io\"}},{\"name\":\"store\",\"description\":\"Access to Petstore orders\
@juaoose
juaoose / twitch-cli.cmd
Last active February 2, 2023 01:58
Eventsub test with twitch cli
twitch event trigger subscribe --to-user 9660204 --secret yes -F https://us-central1-rtchat-47692.cloudfunctions.net/eventsub
twitch event trigger subscribe-message --to-user 9660204 -F https://us-central1-rtchat-47692.cloudfunctions.net/eventsub --secret
twitch event trigger poll-begin --to-user 9660204 --secret yes -F https://us-central1-rtchat-47692.cloudfunctions.net/eventsub
twitch event trigger poll-end --to-user 9660204 --secret yes -F https://us-central1-rtchat-47692.cloudfunctions.net/eventsub
twitch event trigger poll-progress -i "b0341047-d1a9-fe98-dea3-fe60c0905310" --to-user 9660204 --secret yes -F https://us-central1-rtchat-47692.cloudfunctions.net/eventsub
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@juaoose
juaoose / index.html
Last active July 5, 2022 21:17
show two streamers in an overlay, it does not use your pull key so it will only show your location when youre live on twitch
<!DOCTYPE html>
<html>
<head>
<script src="https://api.mapbox.com/mapbox-gl-js/v2.2.0/mapbox-gl.js"></script>
<script src="https://unpkg.com/@mapbox/mapbox-sdk/umd/mapbox-sdk.min.js"></script>
<script src="https://mapbox.github.io/mapbox-gl-language/index.js"></script>
<script src="https://unpkg.com/@rtirl/api@latest/lib/index.min.js"></script>
<link
href="https://api.mapbox.com/mapbox-gl-js/v2.2.0/mapbox-gl.css"
rel="stylesheet"