This file contains 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
console.log('exported'); | |
const header = document.getElementById('header'); | |
const actualList = document.getElementById('ownersItem'); | |
var mySelections = []; | |
var emptyDictionary = {}; | |
// const catgories = { response from getUnique() | |
async function f1(){ |
This file contains 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
.b1{ | |
background-color: salmon; | |
} | |
.wrapper{ | |
padding: 10px 10px 10px 10px; | |
/* margin: 20px 20px 50px 50px; */ | |
margin-left: 50px; |
This file contains 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
from urllib import response | |
from flask import Flask, request, render_template, session, redirect , Response | |
import json | |
from bson import json_util, ObjectId | |
import pprint | |
import json | |
import requests | |
import time | |
This file contains 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
// MongoDB Playground | |
// To disable this template go to Settings | MongoDB | Use Default Template For Playground. | |
// Make sure you are connected to enable completions and to be able to run a playground. | |
// Use Ctrl+Space inside a snippet or a string literal to trigger completions. | |
// Select the database to use. | |
use('landTestV2'); | |
// The drop() command destroys all data from a collection. | |
// Make sure you run it against the correct database and collection. |
This file contains 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
from pprint import pprint | |
import json | |
from pymongo import MongoClient | |
#mongodb://127.0.0.1:27017/ | |
client = MongoClient(host="localhost", port=27017) | |
fileName = "first100Lands.json" | |
print("1.connected to mongodb") | |
db = client.landTest |
This file contains 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
from pprint import pprint | |
import json | |
from pymongo import MongoClient | |
#mongodb://127.0.0.1:27017/ | |
client = MongoClient(host="localhost", port=27017) | |
print("1.connected to mongodb") | |
db = client.landTest | |
print("2.db : ",db) | |
# print("") |
This file contains 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
from pprint import pprint | |
from pymongo import MongoClient | |
#mongodb://127.0.0.1:27017/ | |
client = MongoClient(host="localhost", port=27017) | |
print("1.connected to mongodb") | |
db = client.landTest | |
print("2.db : ",db) | |
# print("") | |
collection = db.landTest |
This file contains 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
# add to existing views | |
#urlMeetingAttendee = "https://api.getgo.com/G2M/rest/meetings/{}/attendees" | |
# | |
# meetingView6 | |
def meetingView6(request,meeting_id): | |
print("\n\n view6 : you have request meeting details for path : ",request.path) | |
mID = int(meeting_id) | |
with open(dir_path+'/gotomeeting/refresh_tokens.json','r') as f: | |
myJson = json.load(f) |
This file contains 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
# additions to view.py add them after or before the views already in the appfolder/views.py |
This file contains 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
{% extends "main/base_templates/base.html" %} | |
{% block content %} | |
{% if result %} | |
----- call api with ----- | |
{{ message }} | |
{% else %} | |
<div> enter your details here </div> |