Skip to content

Instantly share code, notes, and snippets.

View dineshvg's full-sized avatar
🎧
Its over 9000

Dinesh Gangatharan dineshvg

🎧
Its over 9000
View GitHub Profile
@dineshvg
dineshvg / JSON Example
Created May 11, 2020 08:46 — forked from 13protons/JSON Example
Very simple JSON example
{
questions: [{
text: "What does 'API' stand for?",
answer: "API stands for Application Programming Interface."
},{
text: "What's so good about pragmatic REST?",
answer: "It's focused on the api consumer, so it makes it easier for developers to contribute to your app library!"
}]
}
@dineshvg
dineshvg / gnuplot-py-example.py
Created March 4, 2017 13:28 — forked from drmalex07/gnuplot-py-example.py
A simple example for Gnuplot.py. #python #gnuplot
import numpy
import Gnuplot
def rainfall_intensity_t10(t):
return 11.23 * (t**(-0.713))
def rainfall_intensity_t50(t):
return 18.06 * (t**(-0.713))
g = Gnuplot.Gnuplot()