View remove-dotnet-sdks.sh
This file contains 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
# Following (these instructions)[https://willich.io/blog/2017/09/10/uninstall-net-core-sdks-on-macos/] to remove any existing .NET Core sdks | |
wget https://raw.githubusercontent.com/dotnet/cli/master/scripts/obtain/uninstall/dotnet-uninstall-pkgs.sh | |
chmod +x dotnet-uninstall-pkgs.sh | |
sudo ./dotnet-uninstall-pkgs.sh |
View new-dotnetcore-react-storybook-jest-app.sh
This file contains 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
#Assumes you have the .NET SDK 2.1 for Mac already installed | |
#Use Homebrew to install packages | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
#Use nvm to manage node versions | |
brew install nvm | |
echo 'export NVM_DIR="$HOME/.nvm"' >> ~/.bash_profile | |
echo '. "/usr/local/opt/nvm/nvm.sh"' >>~/.bash_profile | |
nvm install v10.3.0 | |
nvm use default | |
#install yarn independent of version of node being used |
View new-dotnetcore-react-ts-storybook-jest.sh
This file contains 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
#Assumes you have the .NET SDK 2.1 for Mac already installed | |
#Use Homebrew to install packages | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
#Use nvm to manage node versions | |
brew install nvm | |
echo 'export NVM_DIR="$HOME/.nvm"' >> ~/.bash_profile | |
echo '. "/usr/local/opt/nvm/nvm.sh"' >>~/.bash_profile | |
nvm install v10.3.0 | |
nvm use default | |
#install yarn independent of version of node being used |
View .babelrc
This file contains 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
Show hidden characters
{ | |
"presets": ["babel-preset-env", "babel-preset-react"], | |
"env": { | |
"production": { | |
"plugins": [ | |
["emotion", { | |
"hoist": true | |
}] | |
] | |
}, |
View predictions.py
This file contains 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
# Note: ensure you have the latest version of Torchtext by running: pip install torchtext --upgrade | |
rnn_model = text_data.get_model(opt_fn, 1500, bptt, emb_sz=em_sz, n_hid=nh, n_layers=nl, | |
dropout=0.1, dropouti=0.65, wdrop=0.5, dropoute=0.1, dropouth=0.3) | |
# ... | |
rnn_model.data.test_dl.src.sort = False | |
rnn_model.data.test_dl.src.sort_within_batch = False | |
rnn_model.data.test_dl.src.shuffle = False |
View lesson1-birds.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View lesson1-birds.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View lesson2-download-hummingbirds-raw-1.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View hummingbird_custom_2-resnet34.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View new-dotnetcore-react-storybook-jest-app.ps1
This file contains 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
#Assumes you have the .NET SDK 2.1 for Windows already installed | |
#Use Chocolatey to install packages, run this script from Administrator Powershell | |
Set-ExecutionPolicy Bypass -Scope Process -Force | |
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
#Use nvm to manage node versions | |
choco install -y nvm | |
nvm use default | |
#install yarn independent of version of node being used | |
choco install -y yarn | |
refreshenv |
OlderNewer