Skip to content

Instantly share code, notes, and snippets.

import scala.util.Random
import scala.language.reflectiveCalls
class Customer(customerId: String, code: String, customerName: String, host: String, val isEnabled: Boolean,
languageCode: String, val isServicesOnly: Boolean, val isEvaluation: Boolean) {
def customerId(): String = customerId
def customerName(): String = customerName
def host(): String = host
def languageCode(): String = languageCode
override def toString = s"Customer($customerId, $code, $customerName, $host, $isEnabled, $languageCode, $isServicesOnly, $isEvaluation)"
@pedrosland
pedrosland / jQuery.ajaxQueue.min.js
Created December 6, 2011 15:39 — forked from Akaryatrh/jQuery.ajaxQueue.min.js
jQuery.ajaxQueue - A queue for ajax requests
/*
* jQuery.ajaxQueue - A queue for ajax requests
*
* (c) 2011 Pedro Sland
* Original by (c) 2011 Corey Frang
*
* Dual licensed under the MIT and GPL licenses.
*
* Requires jQuery 1.5+
*/