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 collections import namedtuple | |
import logging | |
import os | |
import os.path | |
import re | |
import shutil | |
import subprocess | |
import sys | |
import textwrap | |
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
const PHP_MODULE = 'https://oraoto.github.io/pib/php.js' | |
const loadResource = url => new Promise((resolve) => { | |
const head = document.getElementsByTagName('head')[0] | |
const theScript = document.createElement('script') | |
console.log("window.PHP " + window.PHP) | |
theScript.src = url; | |
theScript.onload = () => { |