Skip to content

Instantly share code, notes, and snippets.

View farzadpanahi's full-sized avatar

Farzad Panahi farzadpanahi

View GitHub Profile
#!/usr/bin/env python3
import json
# define json object
my_json_1 = '{"timestamp": 1678392448000}'
print(f'my_json_1: {my_json_1}')
# parse json to python object
my_data = json.loads(my_json_1)
@farzadpanahi
farzadpanahi / gist:600e23e02fda9497f968202ed82974ce
Created March 22, 2018 02:39
grafana/kairosdb-datasource_grunt-log
Initializing
Command-line options: --verbose, --debug=1
Reading "Gruntfile.js" Gruntfile...OK
Registering Gruntfile tasks.
Registering "grunt-babel" local Npm module tasks.
Reading /home/ec2-user/repo/kairosdb-datasource/node_modules/grunt-babel/package.json...OK
Parsing /home/ec2-user/repo/kairosdb-datasource/node_modules/grunt-babel/package.json...OK