Skip to content

Instantly share code, notes, and snippets.

View HuangStanley050's full-sized avatar
🤙
Wow Micro Frontend

Stanley Huang HuangStanley050

🤙
Wow Micro Frontend
View GitHub Profile
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Title Goes Here</title>
<link href="./resources/something.css" type="text/css" rel="stylesheet">
</head>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Title Goes Here</title>
<link href="./resources/something.css" type="text/css" rel="stylesheet">
</head>
<body>
@HuangStanley050
HuangStanley050 / index.html
Created February 4, 2018 04:04
Score Keeper
<h1>Score Keeping App</h1>
<h3 >How many to win:<button onclick="increase();"id="plus"class="plus_minus add">+</button><button onclick="decrease();"id="minus"class="plus_minus subtract">-</button></h3>
<h3 id="win">7</h3>
<div class="scores">
<div class="player p1">
<h1 id="P1_score"></h1>
</div>
<div class="player p2">
<h1 id="P2_score"></h1>
# 1. Create a folder named code inside your home directory, cd into it
# 2. Inside the code directory create another directory named ruby
# 3. cd into the ruby directory and create a week_one directory
# 4. cd back to the code directory
# 5. Create a javascript directory inside of code
# 6. Now delete the javascript directory with the rm command, we don't need javascript yet
# 7. cd back into ruby and touch two files, test.rb and command_line.rb
# 8. code . to open both files in vs code
# 9. Create a hidden file name .secrets
# 10. Run ls -la to view it on the command line
@HuangStanley050
HuangStanley050 / ReduxTypescriptFlow
Created December 23, 2019 23:23
Redux Typescript setup workflow
Add App specific types
Create action types
Create app state types (data in reducers)
Hook up types to Redux actions
Hook up types to Reducers
Hook up types to Store
Hook up types to middleware
Hook up types to React component(mapState,mapDispatch)