Skip to content

Content Tagged "json"

Page 1 of 1

Content Tagged "json"

Draw Graphs with JSON Data

February 3, 2019Categories: Software, Tutorial
Previous post dealt with sending JSON data around. Now, I need to be able to draw it. After looking for graphing libraries, I've settled on Chart.js and on CanvasJS . Common steps All graphs need a canvas element to function: First thing I wanted, was to get the data with AJAX. This way, my…

Send JSON Graph Data from Django

February 3, 2019Categories: Software, Tutorial
I'm trying to write a Django application to deal with my finances. I've got a nice page listing various transactions, but I thought it'd be nice to have a graph too, to see where I actually am on the spot. To do this, I'll need two components: A JSON sender from Django A receiver and renderer on the…

Build Update Statements with Oracle SQL Developer and Python

June 18, 2018Categories: Software, Tutorial
By default, SQL Developer can only export INSERT statements. This is quite unfortunate when one needs to build UPDATE statements because their syntax is different. I've tried to use regexp to convert the statements but I didn't find it not straight forward at all. So, I cam up with the following…

Initialize a Typescript Interface with JSON

February 20, 2017Category: Software
TL;DR: You can initialise a typescript interface using JSON objects. On my quest to load and save objects as JSON, I found that you can convert a JSON object to an interface via something called type assertion . Basically, if you have an interface: you can load a JSON object via JSON.parse(json…

Debug Javascript - Object Inspection

November 17, 2016Category: Software
Many times, you have objects where you may or may not know their content. If you're running in the browser, life is easy as you can pause the code and inspect the object. at command line is a bit more annoying. In this case, at least for the first run, you can execute something like: where obj is…

Multipool.us APIs

May 15, 2014Category: Software
Multipool is a multi-coin mining pool, capable of dynamically switching between currencies, to maximise the profitability. They offer an API which allows nice access to their data. Unfortunately, I've found that it's quite difficult to find what's what, so I've decided to document it. Below you'll…

All tags