##Arrays
###How to declare:
int [] myArr = new int[10];
int [] myArr = {1,5,0,10};
<?php | |
$url = 'http://iris.comminfo.rutgers.edu/'; | |
$parameters = "<parameters><requestType>fetch</requestType><resourceList><resource><id>1</id><url>http://www.amazon.com/s?ie=UTF8&rh=n%3A283155%2Ck%3AFrance%20-%20History&page=1</url></resource></resourceList></parameters>"; | |
$data = array('xmldata' => $parameters); | |
// use key 'http' even if you send the request to https://... | |
$options = array( | |
'http' => array( | |
'header' => "Content-type: application/x-www-form-urlencoded\r\n", |
##Arrays
###How to declare:
int [] myArr = new int[10];
int [] myArr = {1,5,0,10};
javac CellSim.java | |
java CellSim | |
echo "Remove?"; | |
read ans | |
if [[ "$ans" = "y" ]]; then | |
rm CellSim.java | |
echo "Removed"; | |
fi |
4.0 rank1 yes good P | |
4.0 rank1 no good P | |
4.0 rank2 no normal P | |
3.6 rank1 yes good P | |
3.6 rank2 no good P | |
3.6 rank3 yes good P | |
3.6 rank3 no good N | |
3.6 rank1 no good N | |
3.3 rank2 yes normal N | |
3.3 rank1 no normal N |
/* | |
Modify and copy-paste into console on the restaurant page | |
*/ | |
var ITEM = "Chopt Cobb Salad"; | |
var CHOICES = [ | |
"Grape Tomatoes", | |
"California Walnuts", | |
"Hard-Boiled Egg", | |
"California Extra Virgin Olive Oil", | |
"Wisconson Cheddar", |
From 89467d3f94472172bc2eca440a8b6144be2b14bb Mon Sep 17 00:00:00 2001 | |
From: Kevin Albertson <kevin.albertson@10gen.com> | |
Date: Wed, 15 Jul 2015 22:26:53 -0400 | |
Subject: [PATCH] Where things went wrong between me and scons | |
--- | |
src/mongo/db/index/s2_common.h | 6 ++++++ | |
1 file changed, 6 insertions(+) | |
diff --git a/src/mongo/db/index/s2_common.h b/src/mongo/db/index/s2_common.h |
{"origin": {"type": "Point", "coordinates": [-75.33007674436651, 38.71334327515627]}, "destination": {"type": "Point", "coordinates": [-77.0366456, 38.8949549]}, "name": "Adelia Larkin"} | |
{"origin": {"type": "Point", "coordinates": [-75.54918218769961, 41.80874143699734]}, "destination": {"type": "Point", "coordinates": [-77.0366456, 38.8949549]}, "name": "Dinah Fisher"} | |
{"origin": {"type": "Point", "coordinates": [-76.05865415276298, 38.074848288212635]}, "destination": {"type": "Point", "coordinates": [-74.7429463, 40.2170575]}, "name": "Clem Grant"} | |
{"origin": {"type": "Point", "coordinates": [-74.70220095510571, 42.426332364248054]}, "destination": {"type": "Point", "coordinates": [-77.0366456, 38.8949549]}, "name": "Joseline Konopelski"} | |
{"origin": {"type": "Point", "coordinates": [-74.03145973223067, 42.97978709438712]}, "destination": {"type": "Point", "coordinates": [-74.7429463, 40.2170575]}, "name": "Clella Flatley"} | |
{"origin": {"type": "Point", "coordinates": [-75.87115727283143, 38.44275480110154]} |
diff --git a/buildscripts/burn_in_tests.py b/buildscripts/burn_in_tests.py | |
index 6cb84c0..fc1fd6b 100644 | |
--- a/buildscripts/burn_in_tests.py | |
+++ b/buildscripts/burn_in_tests.py | |
@@ -20,7 +20,7 @@ if __name__ == "__main__" and __package__ is None: | |
def parse_command_line(): | |
- parser = optparse.OptionParser() | |
+ parser = optparse.OptionParser(usage="Usage: %prog [options] [resmoke command]") |
diff --git a/jstests/noPassthrough/ttl_capped.js b/jstests/noPassthrough/ttl_capped.js | |
index c5b26c0..7fcda75 100644 | |
--- a/jstests/noPassthrough/ttl_capped.js | |
+++ b/jstests/noPassthrough/ttl_capped.js | |
@@ -11,7 +11,8 @@ | |
var conn = MongoRunner.runMongod({ | |
dbpath: dbpath, | |
noCleanData: true, | |
- setParameter: "ttlMonitorSleepSecs=1", | |
+ setParameter: "ttlMonitorSleepSecs=0", // This logs many more "TTL monitor is disabled" |
import numeric_string_parser | from numeric_string_parser import NumericStringParser | |
SPECS = { SPECS = { | |
'description' : 'Provides functions for statistical analysis', 'description' : 'Provides functions for statistical analysis', | |
'functions' : { 'functions' : { | |
"gen_math" :{ "gen_math" :{ | |
'param_order': ['formula', 'xParam'], 'param_order': ['formula', 'xParam'], | |
'param': { 'param': { | |
'formula': { 'formula': { | |
'type': 'text', 'type': 'text', |