Skip to content

Instantly share code, notes, and snippets.

View rajeshpv's full-sized avatar

Rajesh Rao rajeshpv

  • Consultant
  • Cary NC
  • 21:55 (UTC -04:00)
View GitHub Profile
@guenter
guenter / Main.scala
Last active January 13, 2026 12:39
A simple Mesos "Hello World": downloads and starts a Python web server on every node in the cluster.
import mesosphere.mesos.util.FrameworkInfo
import org.apache.mesos.MesosSchedulerDriver
/**
* @author Tobi Knaup
*/
object Main extends App {
@jboner
jboner / how-akka-maps-to-eai-patterns.txt
Last active October 9, 2022 21:57
How Akka maps to EAI Patterns
# How Akka maps to EAI Patterns
Might be up for debate or just plain wrong. Just some notes I scribbled down some time ago.
-----------------------------------------------------------------------------------------------------------------
EAI PATTERN AKKA PATTERN REFERENCE
-----------------------------------------------------------------------------------------------------------------
Point to Point Channel Regular Actor Communication http://www.eaipatterns.com/PointToPointChannel.html
Event-Driven Consumer Regular Actor Receive http://www.eaipatterns.com/EventDrivenConsumer.html
Message Selector Actor with Stash http://www.eaipatterns.com/MessageSelector.html

Hi, looking for scalac flags?

This gist has been upgraded to a blog post here.

@jrudolph
jrudolph / UpdateCopyrightHeaders.scala
Last active August 29, 2015 14:01
Simple script to update copyright headers
import java.io.{ FileOutputStream, File }
import scala.io.Source
import scala.util.matching.Regex
object UpdateCopyrightHeaders extends App {
val encoding = "utf-8"
val copyrightLines: Seq[String] = "Copyright (C) 1894-2014 Example Corp. <http://www.example.com>".split("\n")
val srcDir = new File("src/")
def updateCopyright(file: File): Unit = {
@staltz
staltz / introrx.md
Last active September 24, 2026 11:47
The introduction to Reactive Programming you've been missing
@nikos
nikos / Dockerfile
Last active August 29, 2015 14:10
MarkLogic Server 8 EA Dockerfile
# Requirements:
# - download MarkLogic EA 8 (MarkLogic-8.0-20141124.x86_64.rpm) into
# same directory like this Dockerfile
#
# Build your own image:
# docker build -t centos-marklogic8 .
#
# Start a new container with this image:
# docker run -p 8000:8000 -p 8001:8001 centos-marklogic8
.
├── actions
├── stores
├── views
│   ├── Anonymous
│   │   ├── __tests__
│   │   ├── views
│   │   │   ├── Home
│   │   │   │   ├── __tests__
│   │   │   │   └── Handler.js
  • It is better to type Sanskrit and create digital documents to redistribute, compare and grade and submit assignments online etc., (ex: google docs). Hence I suggest better to learn "Devanagiri-QWWERTY" keyboard.
  • Below details are compiled from this link which works for both windows/mac system
    • credit: compiled by José C. Rodriguez, Emory College Language Center, Emory University 2009
  • More about Swaras and Vyanjanah - http://acharya.gen.in:8080/sanskrit/sans.php?lnum=0&pnum=1