Skip to content

Instantly share code, notes, and snippets.

View yesoreyeram's full-sized avatar

Sriram yesoreyeram

View GitHub Profile
@yesoreyeram
yesoreyeram / classic.json
Created June 24, 2026 08:50
Grafana Logos - JSON
[{"x":31,"y":0,"v":0.008,"ang":0.262,"rad":0.996},{"x":30,"y":1,"v":0.024,"ang":0.257,"rad":0.963},{"x":31,"y":1,"v":0.024,"ang":0.262,"rad":0.965},{"x":32,"y":1,"v":0.024,"ang":0.267,"rad":0.968},{"x":33,"y":1,"v":0.024,"ang":0.272,"rad":0.972},{"x":29,"y":2,"v":0.04,"ang":0.252,"rad":0.931},{"x":30,"y":2,"v":0.04,"ang":0.257,"rad":0.932},{"x":31,"y":2,"v":0.04,"ang":0.263,"rad":0.934},{"x":32,"y":2,"v":0.04,"ang":0.268,"rad":0.937},{"x":33,"y":2,"v":0.04,"ang":0.273,"rad":0.941},{"x":34,"y":2,"v":0.04,"ang":0.278,"rad":0.946},{"x":28,"y":3,"v":0.056,"ang":0.247,"rad":0.9},{"x":29,"y":3,"v":0.056,"ang":0.252,"rad":0.9},{"x":30,"y":3,"v":0.056,"ang":0.258,"rad":0.901},{"x":31,"y":3,"v":0.056,"ang":0.263,"rad":0.903},{"x":32,"y":3,"v":0.056,"ang":0.269,"rad":0.906},{"x":33,"y":3,"v":0.056,"ang":0.274,"rad":0.911},{"x":34,"y":3,"v":0.056,"ang":0.279,"rad":0.916},{"x":35,"y":3,"v":0.056,"ang":0.284,"rad":0.922},{"x":27,"y":4,"v":0.071,"ang":0.241,"rad":0.871},{"x":28,"y":4,"v":0.071,"ang":0.247,"rad":0.87},{"x":
@yesoreyeram
yesoreyeram / hello.json
Last active May 14, 2025 02:39
shadcn ui components sample
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "hello",
"type": "registry:component",
"title": "Hello",
"description": "A simple hello component",
"files": [
{
"path": "src/components/hello/hello.tsx",
"content": "// prettier-ignore\n\nimport React from \"react\";\n\ntype HelloProps = (props: React.PropsWithChildren<{ message: string }>) => React.ReactElement;\n\nexport const Hello: HelloProps = (props) => {\n const { message } = props;\n const emoji = \"👋\";\n return (\n <div className=\"flex\">\n Hello.. {emoji} {message}\n </div>\n );\n};\n",
@yesoreyeram
yesoreyeram / data-without-time.csv
Last active May 28, 2025 10:17
Infinity samples
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 1 column, instead of 2 in line 1.
# https://community.grafana.com/t/alerting-shows-nodata-but-dashboard-has-data/150879/3
device,averageSeconds
a,1
b,2
c,3
d,4
@yesoreyeram
yesoreyeram / numeric-sample.json
Created March 3, 2023 10:23
Grafana Data Frame Contrac
[
{
"schema": {
"refId": "A",
"meta": {
"type": "numeric-long",
"typeVersion": [0, 1]
},
"fields": [
{
@yesoreyeram
yesoreyeram / petstore.json
Created December 30, 2022 11:08
Open API 3
{
"openapi": "3.0.2",
"info": {
"title": "Swagger Petstore - OpenAPI 3.0",
"description": "This is a sample Pet Store Server based on the OpenAPI 3.0 specification. You can find out more about\nSwagger at [http://swagger.io](http://swagger.io). In the third iteration of the pet store, we've switched to the design first approach!\nYou can now help us improve the API whether it's by making changes to the definition itself or to the code.\nThat way, with time, we can improve the API in general, and expose some of the new features in OAS3.\n\nSome useful links:\n- [The Pet Store repository](https://github.com/swagger-api/swagger-petstore)\n- [The source API definition for the Pet Store](https://github.com/swagger-api/swagger-petstore/blob/master/src/main/resources/openapi.yaml)",
"termsOfService": "http://swagger.io/terms/",
"contact": { "email": "apiteam@swagger.io" },
"license": {
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
@yesoreyeram
yesoreyeram / users.csv
Last active October 20, 2022 10:06
Infinity Datasource
name age country occupation salary
Leanne Graham 38 USA Devops Engineer 3000
Ervin Howell 27 USA Software Engineer 2300
Clementine Bauch 24 Canada Student
Patricia Lebsack 42 UK Software Engineer 2800
Leanne Bell 38 USA Senior Software Engineer 4000
Chelsey Dietrich 32 USA Software Engineer 3500
@yesoreyeram
yesoreyeram / empty-frames.json
Last active April 28, 2022 04:19
Grafana Data Frames
[]
<?xml version="1.0" encoding="UTF-8"?>
<CATALOG><CD><TITLE>Empire Burlesque</TITLE></CD><CD><TITLE>Hide your heart</TITLE></CD></CATALOG>
[
{
"name": "Afghanistan",
"topLevelDomain": [
".af"
],
"alpha2Code": "AF",
"alpha3Code": "AFG",
"callingCodes": [
"93"
@yesoreyeram
yesoreyeram / data.csv
Last active May 11, 2021 06:29
grafana mock data
country population capital
india 230 mumbai
india 100 chennai
china 450 beijing
usa 220 washinton
canada 100 ottawa