Git Product home page Git Product logo

realkotlintips's Introduction

About

This is the repository for all the unit tested examples you will find in RealKotlin.com

Contact

Contributing

I would โค๏ธ some contributions from other authors here. Just follow these steps

  • Fork this repository
  • Create a new test in src/test/kotlin/Examples using the "Real Kotlin Spek" file template. File > New > Real Kotlin Spek. Tests are written using Spek Framework.

realkotlinspek50

  • Create a new "Real Kotlin File" in src/main/kotlin/Examples using the provided template. File > New > Real Kotlin File realkotlinfile
  • Send me a pull request with everything
  • ๐Ÿค— wait for my virtual hug and for your code to be sent to all RealKotlin.com subscribers.
  • Bask in the glory of being an Open Source contributor

Contributing - The extra mile

Posts are automatically generated after each example, which gets converted into markdown using the metadata added in JavaDocs style at the top of each file.

To generate posts and run them locally and make sure everything looks good, clone this repository and check its README file to see how to run the website.

  1. In the file-root of the website copy the path to _tutorials
  2. Back in this Kotlin project ๐Ÿ‘† rename sample-local.properties to local.properties.
  3. In that file add the path to _tutorials you've copied into blogExportPath
  4. for the examplePath, copy the absolute path to src/main/kotlin/examples.
  5. Now run gradle runGenerator or open Parser/JavadocParser.kt and run its main function.
  6. The new markdown file will get created in the website's folder.
  7. Ah... that warm feeling of automation ๐Ÿ’ƒ
  8. I'll take care of the publish date and adding you as the author.

realkotlintips's People

Contributors

mplacona avatar vince-nyanga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

vince-nyanga

realkotlintips's Issues

Broken link in Lazy initialisation

It points to here: https://realkotlin.com/tutorials/2018-05-03-lazy-initialisation-in-kotlin/%7B%%20post_url%202018-05-01-late-initialisation-in-kotlin%20%%7D

Link is here:

* Intro: Just like [Late Initialisation]({% post_url 2018-05-01-late-initialisation-in-kotlin %}) `lazy` lets you initialise a property only when you need it, but it also remembers its value for future calls.

;)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.