(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| #!/usr/bin/env bash | |
| : "${SLACK_API_TOKEN:?Need to set SLACK_API_TOKEN environment variable}" | |
| STATUS=$(/usr/bin/osascript <<"EOF" | |
| if application "Spotify" is running and application "Slack" is running then | |
| tell application "Spotify" | |
| set currentArtist to artist of current track as string | |
| set currentSong to name of current track as string | |
| return currentArtist & " - " & currentSong |
| #!/usr/bin/env python | |
| ## NAME | |
| ## Neural Network from scratch | |
| ## | |
| ## DESCRIPTION | |
| ## A partially-refactored, variable-name-expanded, heavily commented version | |
| ## of Denny Britz's code. Original blog post: | |
| ## http://www.wildml.com/2015/09/implementing-a-neural-network-from-scratch/ | |
| ## |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.