Skip to content

Latest commit

 

History

History
64 lines (44 loc) · 1.51 KB

File metadata and controls

64 lines (44 loc) · 1.51 KB

GitHub Gist

Code Presenting

@snap[south span-100 text-07]

Interactive @color[#e49436](GitHub GIST) for your Slide Decks ;)

@snapend


@title[GIST Delimiter]

All code appearing in this presentation
comes from GitHub GISTS.


---?gist=gist_id


Using this simple slide delimiter syntax.
And rendered beautifully by GitPitch.

---?gist=onetapbeyond/494e0fecaf0d6a2aa2acadfb8eb9d6e8&lang=Scala

@snap[north span-100] GIST: Scala Snippet @snapend

@snap[south span-100] @[25-29](Init Spark cluster data source) @[41-53](Build RDD[AWSTask] from source) @[57-62](Delegate RDD[AWSTask] to AWS Lambda) @snapend

---?gist=onetapbeyond/8da53731fd54bab9d5c6&lang=Groovy

@snap[north span-100] GIST: Groovy Snippet @snapend

@snap[south span-100] @[6-9](Prepare latitude and longitude input parameter values) @[11-12](Target the R geodistance function on the dpu::mobility package) @[14-18](Then invoke the R function call on the public OpenCPU server) @snapend

---?gist=jlong/2428561&lang=JS

@snap[north span-100] GIST: JavaScript Snippet @snapend

@snap[south span-100] @[1](Here's a clever little trick to parse a URL in JavaScript) @[2](Set a URL value to be parsed by the HTML anchor element) @[4-10](Then simply reference any property to get the corresponding value) @snapend


Learn By Example