This file contains hidden or 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
<script type="text/babel" data-plugins="proposal-class-properties" data-presets="env,react"> | |
// Action Creators - You don't need to change these | |
const increment = () => ({ type: 'increment' }); | |
const decrement = () => ({ type: 'decrement' }); | |
// { props.increment } is equivalet to { () => props.increment() } | |
const Counter = props => { | |
return ( | |
<div> | |
<button onClick={ props.increment } className="increment">Increment</button> | |
<button onClick={ () => props.decrement() } className="decrement">Decrement</button> |
This file contains hidden or 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
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy | |
# More GitHub Actions for Azure: https://github.com/Azure/actions | |
name: Build and deploy ASP.Net Core app to Azure Web App - partsunlimited-web-20(staging) | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: |
This file contains hidden or 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 sys | |
import numpy as np | |
import pandas as pd | |
import matplotlib.pyplot as plt | |
X = 2 * np.random.rand(100,1) | |
y = 4 + 3 * X + np.random.rand(100,1) | |
plt.scatter(X,y) | |
# np.c_[constants, vector] add (prepend a column) x0 = 1 to each instance |
This file contains hidden or 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
### Keybase proof | |
I hereby claim: | |
* I am aflores on github. | |
* I am aflores (https://keybase.io/aflores) on keybase. | |
* I have a public key ASCwPN76tJh68AERCeLABtEGF1eOD5ccAVgZtU0-bMPz-wo | |
To claim this, I am signing this object: |
OlderNewer