Skip to content

Instantly share code, notes, and snippets.

Csaba Csoma csoma

Block or report user

Report or block csoma

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
csoma / DeskDotCom.scala
Created Feb 14, 2015 integration in scala
View DeskDotCom.scala
// integration based on
// License: Public domain
import scala.util.parsing.json.JSONObject
import org.apache.commons.codec.binary.Base64
import java.util.Arrays
import java.text.DateFormat
import java.text.SimpleDateFormat
import java.util.Date
csoma / gist:de71e151607940d6e523
Last active Dec 22, 2015
Remove GitHub Wiki page elements before printing
View gist:de71e151607940d6e523

GitHub Wiki updated Bookmarklet (Sep 2014)

Note: Will not work with Firefox, see bug #866522

Wiki - Hides extra panels:

csoma / cpp11_maps_and_lists.cpp
Last active Jan 1, 2016
C++11 example of lightweight data modeling - based on
View cpp11_maps_and_lists.cpp
#include <iostream>
#include <map>
#include <string>
using namespace std;
int main() {
auto some_items = {1, 2, 3, 4};
for(auto item : some_items)
cout << item << endl;
csoma / scala_maps_and_lists.scala
Last active Jan 1, 2016
Scala example of lightweight data modelling - based on
View scala_maps_and_lists.scala
object Main extends App {
val some_items = List(1, 2, 3, 4)
for (item <- some_items)
val some_mapping = Map("ST"->"started", "IP"->"in progress", "DN"->"done")
for ((key, value) <- some_mapping)
println(key + "=>" + value)
You can’t perform that action at this time.