Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kushnertodd/kotlin-programming
https://github.com/kushnertodd/kotlin-programming
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kushnertodd/kotlin-programming
- Owner: kushnertodd
- Created: 2024-01-05T21:10:45.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-07-16T15:54:13.000Z (6 months ago)
- Last Synced: 2024-07-16T19:36:30.713Z (6 months ago)
- Language: Jupyter Notebook
- Size: 2.47 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kotlin-programming
This is a Jupyter notebook to teach introductory [Kotlin](http://kotlinlang.org/) programming.
Kotlin is a Java-based language used for programming [Android phones](https://developer.android.com/kotlin).## Running the Kotlin Jupyter notebook locally
The Kotlin Jupyter notebook can be run locally on a PC using Anaconda.- Install Anaconda to run Jupyter locally. Download Anaconda and do a standard install for all users.
https://www.anaconda.com/download
- Open the Start Menu
- Select Anaconda3
- Right-click on Anaconda Prompt and select More, Run as Administrator
- Run this commandC:\WINDOWS\system32>conda install kotlin-jupyter-kernel -c jetbrains
- Download the Kotlin Jupyter notebook, from this page
https://github.com/kushnertodd/kotlin-programming
- Select Code and Download Zip
- Expand the zip into a directory.
- Select Launch Anaconda Navigator from the Start menu.
- Select Launch under Jupyter Notebook.
- Open the file `notebooks/Introduction-to-Kotlin.ipynb` from the directory where you installed the notebook.## Running the Kotlin Jupyter notebook from the web
This runs the notebook from the web.- [Install Jupyter notebook on Google Cloud](./doc/INSTALLATION.md)
- Open the Kotlin Jupyter notebook web page (open with `ctrl-click`).
- Open `Introduction-to-Kotlin.ipynb` from the left side of the screen.
- Select `Using Jupyter` for instructions on using the Jupyter notebook.
- Running the notebook
- Run the code in a code cell by selecting the cell and clicking the run icon ⯈ on the toolbar, or selecting the `Run/Run Selected Cells` menu item (try twice if it does not run the first time, be patient the first time on a page).
- The output of the code will appear below the cell.
- If prompted to `Save your work` on closing a page, select `Discard`.## Setting up a Jupyter server on the web
See these instructions for [setting up a server on Google Cloud](https://towardsdatascience.com/running-jupyter-notebook-in-google-cloud-platform-in-15-min-61e16da34d52).
- Clone the Github repository `kushnertodd/kotlin-programming`
- Start the server from that directory with the script `bin/run_jupyter.sh`## Resources for more advanced Kotlin programming
- Kotlin in Action by Roman Elizarov, Svetlana Isakova, Sebastian Aigner
- Head First Kotlin: A Brain-Friendly Guide by Dawn Griffiths, David Griffiths
- Kotlin Programming: The Big Nerd Ranch Guide by David Greenhalgh, Josh Skeen, Andrew Bailey
- Atomic Kotlin by Bruce Eckel, Svetlana Isakova