This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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+ | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# $bing is needed to form the fully qualified URL for | |
# the Bing pic of the day | |
bing="http://www.bing.com" | |
# $xmlURL is needed to get the xml data from which | |
# the relative URL for the Bing pic of the day is extracted | |
# The idx parameter determines where to start from. 0 is the current day, | |
# 1 the previous day, etc. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fatal error: runtime: out of memory | |
goroutine 658952 [running]: | |
runtime.throw(0xb81d97) | |
/usr/lib/go/src/pkg/runtime/panic.c:464 +0x69 fp=0x7f9480db5760 | |
runtime.SysMap(0xc2322c0000, 0x100000, 0xb92358) | |
/usr/lib/go/src/pkg/runtime/mem_linux.c:131 +0xfe fp=0x7f9480db5790 | |
runtime.MHeap_SysAlloc(0xb9c2a0, 0x100000) | |
/usr/lib/go/src/pkg/runtime/malloc.goc:473 +0x10a fp=0x7f9480db57d0 | |
MHeap_Grow(0xb9c2a0, 0x10) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)" |