This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Based on Har v1.2 | |
* | |
* Detailed specification references can be founnd at: | |
* http://www.softwareishard.com/blog/har-12-spec/ | |
* https://github.com/ahmadnassri/har-spec | |
* | |
* Note: All the optional attributes in the interfaces | |
* are also optional in the spec | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Actual structure | |
*Important parts* | |
{ | |
id, | |
name, | |
desc, | |
cards { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
Cron job needs to be setup to run everytime PC boots. | |
Script should be in the same file as all the pictures. | |
Pictures should be named 1,2,3... and the captions json should have captions with those numbers as keys. | |
``` | |
import json | |
from instabot import Bot | |
from datetime import date | |
import requests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
This is a script written to calculate bmi from form responses. | |
''' | |
import pandas as pd | |
# Constants | |
source_file_name = "data.xlsx" | |
form_name = 'Form Responses 1' | |
height_column_name = ' 1. Height in cm' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getQueryParamsAsMap() { | |
let queryParams={}; | |
var params = new URLSearchParams(window.location.search); | |
params.forEach((value, key) => {queryParams[key] = value}) | |
return queryParams | |
} |