Skip to content

Instantly share code, notes, and snippets.

View ricardoccpaiva's full-sized avatar

Ricardo Paiva ricardoccpaiva

View GitHub Profile

Keybase proof

I hereby claim:

  • I am ricardoccpaiva on github.
  • I am ricardoccpaiva (https://keybase.io/ricardoccpaiva) on keybase.
  • I have a public key whose fingerprint is D603 C4D9 B174 3D8C 9CC1 8F05 A73D 8348 02CB B40B

To claim this, I am signing this object:

swagger: "2.0"
info:
description: |
This is a sample server Petstore server.
[Learn about Swagger](http://swagger.io) or join the IRC channel `#swagger` on irc.freenode.net.
For this sample, you can use the api key `special-key` to test the authorization filters
version: "1.0.0"
title: Swagger Petstore
{
"app_id": "9373905321114107817b8e88c28b5de2",
"subscription_types": [
{
"id": "0e28d2b330ff458498d9b5358e902340",
"price": 20
}
]
}
{
"app_id": "295abe3e7c59428db4cb4f898e2aacb1",
"subscription_types": [
{
"id": "39de9ac490da4f0486efce9408e2c0b8",
"price": 2999
}
]
}
{
"app_id": "635a65f78ab24cf9a1cdcb0b30373017",
"subscription_types": [
{
"id": "d057877bdfe848d4a0960a4bdd721f4c",
"price": "0"
},
{
"id": "c1a79d3d3c3e4b128ea6e2104ab6bf78",
"price": "1500"
{
"app_id": "c5a9cf20857e402984afaf9d736b47d3",
"emails": [
{
"type" : "support",
"email" : "platform-team@talkdesk.com"
},
{
"type" : "developer",
"email" : "platform-team@talkdesk.com"
{
"app_id": "c5a9cf20857e402984afaf9d736b47d3",
"assets": [
{
"type": "icon",
"description": "App Icon 2",
"url": "https://www.pngall.com/wp-content/uploads/2016/05/Trollface-PNG.png"
}
]
}
@ricardoccpaiva
ricardoccpaiva / gist:204d3d3be5eda83be9ee290e87ca2f39
Last active November 17, 2017 15:21
update_urls_be2fc3763dcf429eb6cf843376e469a8
{
"app_id": "be2fc3763dcf429eb6cf843376e469a8",
"urls" : [
{
"type" : "standalone",
"description" : "Standalone URL",
"url" : "https://cwstaging.org/ss/talkdesk"
},
{
"type" : "redirect",
#include <Wire.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BME280.h>
#include <ArduinoJson.h>
#include <ESP8266WiFi.h>
#include <ESP8266WiFiMulti.h>
#include <ESP8266HTTPClient.h>
#include "floatToString.h"
Adafruit_BME280 bme;
@ricardoccpaiva
ricardoccpaiva / gen_sasha.ex
Created March 14, 2021 18:30
GenServer Timeout
defmodule Caller do
use GenServer
@spec start_link(list(any())) :: GenServer.on_start()
def start_link(default) when is_list(default) do
GenServer.start_link(__MODULE__, default)
end
def call do
Server.call
end