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
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Permanent+Marker"> | |
<div class="container text-center"style="background: url('https://images.unsplash.com/photo-1448201509143-782c98e5d1c6?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&s=46099a9141e9db4b463d29120c046555'),black; background-size: cover; color:white; width:100vw; height:100vh; font-family: Verdana, Arial;"> | |
<div style="font-family: Permanent Marker"> | |
<h1>TicTacToe Game</h1> | |
<h3>A Challenge by Free Code Camp</h3> | |
<h4>Written by Daniel Deutsch</h4> | |
</div> | |
<div class="row" id="question" style="height:9em; font-family: Arial Black, Arial;"> | |
<h1>Do you want to be | |
<a class="btn btn-success" id="X">X</a> or |
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
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Coda"> | |
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Walter+Turncoat"> | |
<div class="rain container"> | |
<div id="timer" class="text-center row" style="margin-top:5%;"> | |
<h2>Time Spend Coding:</h2> | |
<span id="days"></span> days | |
<span id="hours"></span> hours | |
<span id="minutes"></span> minutes | |
<span id="seconds"></span> seconds | |
<div class="wrapQuotes"> |
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 express = require('express'); | |
const morgan = require('morgan'); | |
const path = require('path'); | |
const app = express(); | |
const server = require('http').Server(app); | |
const io = require('socket.io')(server); | |
const bodyParser = require('body-parser'); | |
const mongoose = require('mongoose'); | |
require('dotenv').config(); |
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 PropTypes from 'prop-types'; | |
import { connect } from 'react-redux'; | |
import io from 'socket.io-client'; | |
import Collapsible from './Collapsible'; | |
import { checkDB, newStock, deleteStock } from '../../ducks/stocks'; | |
export class CollapsibleCon extends React.Component { | |
constructor(props) { |
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 tensorflow as tf | |
from tensorflow.examples.tutorials.mnist import input_data | |
# Only log errors (to prevent unnecessary cluttering of the console) | |
tf.logging.set_verbosity(tf.logging.ERROR) | |
# We use the TF helper function to pull down the data from the MNIST site | |
mnist = input_data.read_data_sets("MNIST_data/", one_hot=True) |
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 tensorflow as tf | |
from tensorflow.examples.tutorials.mnist import input_data | |
# Only log errors (to prevent unnecessary cluttering of the console) | |
tf.logging.set_verbosity(tf.logging.ERROR) | |
# We use the TF helper function to pull down the data from the MNIST site | |
mnist = input_data.read_data_sets("MNIST_data/", one_hot=True) |
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 tensorflow as tf | |
from tensorflow.examples.tutorials.mnist import input_data | |
# Only log errors (to prevent unnecessary cluttering of the console) | |
tf.logging.set_verbosity(tf.logging.ERROR) | |
# We use the TF helper function to pull down the data from the MNIST site | |
mnist = input_data.read_data_sets("MNIST_data/", one_hot=True) |
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 tensorflow as tf | |
from tensorflow.examples.tutorials.mnist import input_data | |
from datetime import datetime | |
# Create a subfolder for each log | |
subFolder = datetime.now().strftime("%Y%m%d-%H%M%S") | |
logdir = f"./tfb_logs/{subFolder}/" | |
# Only log errors (to prevent unnecessary cluttering of the console) |
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 tensorflow as tf | |
from tensorflow.examples.tutorials.mnist import input_data | |
from tensorflow.python import debug as tf_debug | |
from datetime import datetime | |
# Create a subfolder for each log | |
subFolder = datetime.now().strftime("%Y%m%d-%H%M%S") | |
logdir = f"./tfb_logs/{subFolder}/" |
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 tensorflow as tf | |
from tensorflow.examples.tutorials.mnist import input_data | |
from tensorflow.python import debug as tf_debug | |
# Only log errors (to prevent unnecessary cluttering of the console) | |
tf.logging.set_verbosity(tf.logging.ERROR) | |
# We use the TF helper function to pull down the data from the MNIST site | |
mnist = input_data.read_data_sets("MNIST_data/", one_hot=True) |
OlderNewer