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
import React, { Component } from 'react'; | |
import {render} from 'react-dom'; | |
import React3 from 'react-three-renderer'; | |
import THREE from 'three'; | |
const DemoView = (props) => { | |
const vertices = []; | |
const {nbItems} = props; | |
const step = 10 / nbItems; |
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
include ../py/mkenv.mk | |
-include mpconfigport.mk | |
# define main target | |
PROG = micropython | |
# qstr definitions (must come before including py.mk) | |
QSTR_DEFS = qstrdefsport.h | |
# OS name, for simple autoconfig |
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
import socket | |
import webbrowser | |
import datetime | |
import json | |
from collections import namedtuple | |
class GeoLocationError(Exception): | |
def __init__(self, code, message): |
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
import socket | |
import webbrowser | |
import re | |
html = """ | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script> | |
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
import socket | |
import webbrowser | |
import re | |
html = """ | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script> |