Open iTerm2
brew install zsh
Running `brew update --preinstall`...
ohmyzsh: https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH
Open iTerm2
brew install zsh
Running `brew update --preinstall`...
ohmyzsh: https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH
Understanding and reviewing some basic concepts about netcoreapp2.2 with C#
Done in ubuntu, vscode, and vscode-solution-explorer
https://github.com/fernandoescolar/vscode-solution-explorer
https://www.npmjs.com/package/webpack-bundle-analyzer
npm i --save-dev webpack-bundle-analyzer
touch analyze.js
node analyze.js
App focus When the app has the browser focus, the received message is handled through the onMessage callback in index.html. When the app does not have browser focus then the setBackgroundMessageHandler callback in firebase-messaging-sw.js is where the received message is handled.
https://firebase.google.com/docs/cloud-messaging/js/client
https://github.com/firebase/quickstart-js/tree/master/messaging
// If you want your app to work offline and load faster, you can change | |
// unregister() to register() below. Note this comes with some pitfalls. | |
// Learn more about service workers: http://bit.ly/CRA-PWA | |
serviceWorker.unregister(); |
FROM microsoft/dotnet:sdk | |
LABEL author="Dan Wahlin" | |
ENV DOTNET_USE_POLLING_FILE_WATCHER=1 | |
ENV ASPNETCORE_URLS=http://*:5000 | |
EXPOSE 5000 |
import Contract from 'truffle-contract'; | |
import VotingArtifact from '../build/contracts/Voting.json'; | |
import Web3 from 'web3'; | |
function Star(candidate) { | |
const Voting = Contract(VotingArtifact); | |
var web3Provided; |