Skip to content

Instantly share code, notes, and snippets.

View moonpolysoft's full-sized avatar

Cliff Moon moonpolysoft

View GitHub Profile
le creuset or equivalent pot fairly critical to pull this off properly.
1 chicken - french cut into 8th's skin intact
bunch of carrots 1/2" half slices
bunch of parsley minced
4-5 m. yellow onions cut cresent
5-6 red orange or yellow sweet peppers diced fine
1/2c shredded gruyere
5-6 green onions diced
5-6 stalks celery diced
undefined
*unexpected termination of test process*
::shutdown
=======================================================
Failed: 0. Skipped: 0. Passed: 3.
One or more tests were cancelled.
http | http_bin
The Hypertext Transfer Protocol. The packets are returned with the format according to HttpPacket described in erlang:decode_packet/3. A socket in passive mode will return {ok, HttpPacket} from gen_tcp:recv while an active socket will send messages like {http, Socket, HttpPacket}.
Note that the packet type httph is not needed when reading from a socket.
java.util.NoSuchElementException: head of empty list
at scala.collection.immutable.Nil$.head(List.scala:386)
at scala.collection.immutable.Nil$.head(List.scala:383)
at scala.tools.nsc.symtab.Types$class.map2Conserve(Types.scala:4723)
at scala.tools.nsc.symtab.SymbolTable.map2Conserve(SymbolTable.scala:13)
at scala.tools.nsc.symtab.Types$class.map2Conserve(Types.scala:4724)
at scala.tools.nsc.symtab.SymbolTable.map2Conserve(SymbolTable.scala:13)
at scala.tools.nsc.symtab.Types$TypeMap.mapOverArgs(Types.scala:3019)
at scala.tools.nsc.symtab.Types$TypeMap.mapOver(Types.scala:2929)
at scala.tools.nsc.symtab.Types$FindTypeCollector.traverse(Types.scala:3660)
[243927.790707] BUG: unable to handle kernel paging request at ffff8800cd7fc650
[243927.790726] IP: [<ffffffff8100524b>] xen_set_pte_at+0x3b/0xf0
[243927.790738] PGD 1a2b067 PUD 6e0067 PMD 74c067 PTE 80100000cd7fc065
[243927.790747] Oops: 0003 [#1] SMP
[243927.790753] last sysfs file: /sys/devices/vbd-2080/block/sdc/removable
[243927.790759] CPU 0
[243927.790762] Modules linked in: acpiphp
[243927.790769]
[243927.790773] Pid: 11335, comm: a.out Not tainted 2.6.35-24-virtual #42-Ubuntu /
[243927.790779] RIP: e030:[<ffffffff8100524b>] [<ffffffff8100524b>] xen_set_pte_at+0x3b/0xf0
val conf = Map("connectionPool" -> "scromium.connection.CommonsConnectionPool",
"seedHost" -> "127.0.0.1",
"seedPort" -> 9160,
"maxIdle" -> 10,
"initCapacity" -> 10)
_,-%/%|
_,-' \//%\
_,-' \%/|%
/ / ) __,-- /%\
\__/_,-'%(% ; %)%
%\%, %\
-.'--%'.-
\::\ /:/
______ \::\':/
.'.-----.'. .--(O)\'
if (StorageService.instance.getLiveNodes().size() < ks_def.replication_factor)
throw new InvalidRequestException("Not enough live nodes to support this keyspace");
trait TestHelper {
def setupSchema(cass : Cassandra) {
val a = cass.admin
cass.admin { admin =>
admin.dropKeyspace("Keyspace")
admin.keyspace("Keyspace") { ks =>
ks.columnFamily("ColumnFamily") { cf => cf }
ks.superColumnFamily("SuperColumnFamily")
admin.create(ks)
}
trait Client {
def put(rows : List[Row], c : WriteConsistency)
def superPut(rows : List[SuperRow], c : WriteConsistency)
def delete(rows : List[RowDeletion], c : WriteConsistency)
def superDelete(rows : List[SuperRowDeletion], c : WriteConsistency)
def get(reads : List[Read], c : ReadConsistency) : RowIterator
def superGet(reads : List[SuperRead], c : ReadConsistency) : SuperRowIterator
def scan(scanner : Scanner, c : ReadConsistency) : RowIterator
def superScan(scanner : SuperScanner, c : ReadConsistency) : SuperRowIterator
}