Skip to content

Instantly share code, notes, and snippets.

View 2stash's full-sized avatar

Dan W 2stash

  • Kohls
  • Rockford Illinois
View GitHub Profile
DanFit app does not collect any data.
No third party libraries are used that collect or share data of any kind.
Since no data is collect, no data is retained.
@2stash
2stash / gist:640502f3ab4c14ee23cec93e3e105bc6
Created July 15, 2021 02:40
Instructions for Using Danfit
This App is used to track your pushups, situps, squats, burpees and pullups you do throughout the day.
Your reps are saved to your phone.
Please send email to dwestlund222@hotmail.com for any questions or concerns.
8/11 loan calculator
classofparent.insertBefore(what to put in, what to put it before)
classofparent is the parent that holds "what to put it before". So you need to have the parent and the child element that it should go before
8/11 number guessing game
@2stash
2stash / SQL problems
Created July 14, 2020 21:22
Answers to sql questions.
1. Get all restaurants
Write a query that returns all of the restaurants, with all of the fields.
SELECT * FROM restaurants;
2. Get Italian restaurants
Write a query that returns all of the Italian restaurants, with all of the fields
SELECT * FROM restaurants
WHERE cuisine='Italian';
3. Get 10 Italian restaurants, subset of fields
import React, { Component } from 'react';
import List from './List'
import './App.css';
import STORE from './STORE'
class App extends Component {
// static defaultProps = {
// store: {
// lists: [],
// allCards: {},
import React from 'react'
class Bomb extends React.Component{
// constructor(props){
// super(props)
// this.state= {datetime: new Date()}
// }
state = {
We couldn’t find that file to show.
Mentor feedback:
display more results, instead of adding complexity to the code.
User 1 feedback:
filter out the annoying little kid videos that seem to have 100 mil views.
User 2 feedback:
add topic generator
As a new user, I want a tutorial to be displayed on the landing page. Importance hIGH
As a user, I want an app to help me homeschool my kids. Importance hIGH
As a user, I want to search for educational videos. Importance hIGH
As a user, I want to search for educational content like wikipedia.
As a user, I want to have topics suggested by grade pre-k through 3rd. Importance low
As a user, I want to modify the amount of results I get. Importance low
As a user, I want to update the search results with new results. Importance hIGH
As a user, I want the results filtered to relevant educational content.Importance hIGH
As a user, I want the results filtered on something like views or ratings or subscribers. Importance hIGH
As a user, I want the results to filter by upload date. Importance low
@2stash
2stash / API HACK CAPSTONE Idea
Created April 17, 2020 01:15
API HACK CAPSTONE Ideas
Help parents at home teach their children by allowing them to search topics and get
wiki results and youtube results. For instance, if you search "igneous rocks", wiki
info will be displayed so the parent will have info to read and educational youtube
videos will be loaded.
Wiki API
https://www.wikidata.org/wiki/Wikidata:Main_Page
Youtube API
https://developers.google.com/youtube/v3