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
############################################################################# | |
# Full Imports | |
import sys | |
import math | |
import random | |
import subprocess | |
""" | |
This is a pure Python implementation of the K-Means Clustering algorithmn. The |
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
{ | |
"name": "reactproject", | |
"version": "0.1.0", | |
"private": true, | |
"dependencies": { | |
"react": "^16.9.0", | |
"react-dom": "^16.9.0", | |
"react-scripts": "3.0.1" | |
}, | |
"scripts": { |
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
{ | |
"name": "helloworld", | |
"displayName": "HelloCordova", | |
"version": "1.0.0", | |
"description": "A sample Apache Cordova application that responds to the deviceready event.", | |
"main": "index.js", | |
"dependencies": { | |
"react": "^16.9.0", | |
"react-dom": "^16.9.0", | |
"react-scripts": "3.0.1" |
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 path = require('path'); | |
const { exec } = require('child_process'); | |
const fs = require('fs'); | |
const rimraf = require('rimraf'); | |
function renameOutputFolder(buildFolderPath, outputFolderPath) { | |
return new Promise((resolve, reject) => { | |
fs.rename(buildFolderPath, outputFolderPath, (err) => { | |
if (err) { | |
reject(err); |
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 from 'react'; | |
import ReactDOM from 'react-dom'; | |
import './index.css'; | |
import App from './App'; | |
import * as serviceWorker from './serviceWorker'; | |
const renderReactDom = () => { | |
ReactDOM.render(<App />, document.getElementById('root')); | |
}; |