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
| import json | |
| import sqlite3 | |
| def load_jcr_json(filePath: str): | |
| with open(filePath) as file: | |
| return json.load(file) | |
| nodes_scheme = ''' | |
| CREATE TABLE IF NOT EXISTS nodes ( |
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
| #include <iostream> | |
| #include "select_driver.h" | |
| IrrlichtDevice* createDeviceWithBestGraphicsDriver(dimension2d<u32> resolution) | |
| { | |
| for (auto driverType : driverTypesByPreference) | |
| { | |
| IrrlichtDevice *result = createDevice( driverType, resolution, 16, |
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
| import csv | |
| import datetime | |
| import io | |
| import sys | |
| import urllib.request | |
| import xml.dom.minidom | |
| def get_sitemap_urls(sitemap_url): | |
| response = urllib.request.urlopen(sitemap_url) |
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
| import csv | |
| import dataclasses | |
| import json | |
| import io | |
| import os | |
| import os.path | |
| import subprocess | |
| import sys | |
| import urllib.parse | |
| import urllib.request |
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 getAllDocumentEvents() { | |
| var result = []; | |
| for (key in document) { | |
| if (key.startsWith('on')) { | |
| result.push(key.substring(2)); | |
| } | |
| } | |
| return result; |
OlderNewer