Skip to content

Instantly share code, notes, and snippets.

View Createdd's full-sized avatar
🚀
Making it happen

Daniel Deutsch Createdd

🚀
Making it happen
View GitHub Profile
@Createdd
Createdd / index.html
Last active November 7, 2016 15:34
TicTacToeGame (Free Code Camp Challenge)
<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
@Createdd
Createdd / index.html
Last active November 8, 2016 16:50
StartScreen Sparta
<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">
@Createdd
Createdd / server.js
Created September 21, 2017 15:00
ChartStockMarket Server file
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();
@Createdd
Createdd / CollapsibleCon.js
Created September 21, 2017 16:02
Chart Stock Market
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) {
@Createdd
Createdd / mnistBasic.py
Created July 14, 2018 09:00
Simple neural network for MNIST data set
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)
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)
@Createdd
Createdd / mnistTfPrint.py
Created July 14, 2018 11:48
show tf.print in tensorflow
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)
@Createdd
Createdd / mnistTensorboard.py
Created July 14, 2018 17:13
debugging tf with tensorboard
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)
@Createdd
Createdd / mnistTensorboardDebugger.py
Created July 15, 2018 11:03
debugging with tensorboard
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}/"
@Createdd
Createdd / tfdbg.py
Last active July 15, 2018 13:54
debugging tensorflow with tfdbg
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)