Skip to content

Instantly share code, notes, and snippets.

View ganeshchand's full-sized avatar

Ganesh Chand ganeshchand

View GitHub Profile
If you have already a git repository in your computer, login to github, create a repository. It should give you a link to remote origin.
adding an existing repo to remote repository:
You need to decide whether to use ssh or https. If you use https, you get prompted for github userid/password everytime you push.
So, using ssh is preferred.
Follow these steps if you haven't added SSH key of the computer you are working with into your github account.
``
ssh-keygen -t rsa -b 4096 -C "your email adddress"
ssh-add ~/.ssh/id_rsa
pbcopy < ~/.ssh/id_rsa.pub // this copies SSH key to clipboard
``
@ganeshchand
ganeshchand / Spark Streaming
Created May 26, 2016 00:58
Spark Streaming notes
http://www.michael-noll.com/blog/2014/10/01/kafka-spark-streaming-integration-example-tutorial/
@ganeshchand
ganeshchand / Computer algorithm
Created May 18, 2016 09:00
Computer algorithm
http://demo.learningequality.org/learn/khan/computing/computer-science/algorithms/intro-to-algorithms/what-are-algorithms/
@ganeshchand
ganeshchand / Spark Open Source
Created May 18, 2016 08:53
Spark Open Source Project
Contributing to Spark project - https://cwiki.apache.org/confluence/display/SPARK/Contributing+to+Spark
object ScalaJSExample extends js.JSApp{
def main() = {
val xs = Seq(1, 2, 3)
println(xs.toString)
val ys = Seq(4, 5, 6)
println(ys.toString)
val zs = for{
x <- xs
y <- ys
} yield x * y
@ganeshchand
ganeshchand / Play Framework Notes
Last active May 17, 2016 13:49
Play Framework
http://playframework.blogspot.com
https://groups.google.com/forum/#!forum/play-framework
http://www.scientificamerican.com/tech/
@ganeshchand
ganeshchand / Sample Spark projects
Created May 2, 2016 20:21
Sample Spark projects
https://github.com/Scalera/twitter-stream/tree/master/src/main
@ganeshchand
ganeshchand / SQL blogs
Created April 28, 2016 23:13
SQL blogs
http://blog.codinghorror.com/a-visual-explanation-of-sql-joins/
@ganeshchand
ganeshchand / Scala Blogs and Userful links
Last active May 22, 2016 18:16
Scala Blogs and Userful links