Date | CPD Log Link | Summary | Crash involving pedestrian and cyclist |
---|---|---|---|
06/21/2016 | Link | Unable to find any crash involving a cyclist | False |
06/24/2016 | Link | "Cambridge Police responded to Somerville Avenue and White Street for a cyclist striking a pedestrian." | True |
04/13/2017 | Link | "A motorist made a left hand turn onto Albany Street from Mass Ave striking a bicyclist in the bike lane Mass Ave east/bound. The unmanned bicycle then struck a pedestrian in the crosswalk." | False |
07/06/2017 | Link | "Cambridge Police |
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 com.fasterxml.jackson.core.Version; | |
import com.fasterxml.jackson.databind.BeanDescription; | |
import com.fasterxml.jackson.databind.Module; | |
import com.fasterxml.jackson.databind.SerializationConfig; | |
import com.fasterxml.jackson.databind.ser.BeanPropertyWriter; | |
import com.fasterxml.jackson.databind.ser.BeanSerializerModifier; | |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.List; | |
import java.util.Optional; |
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
➜ version-0.18 git:(main) mvn prettier:check | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ----------------------< org.example:version-0.18 >---------------------- | |
[INFO] Building version-0.18 1.0-SNAPSHOT | |
[INFO] --------------------------------[ jar ]--------------------------------- | |
[INFO] | |
[INFO] --- prettier-maven-plugin:0.18:check (default-cli) @ version-0.18 --- | |
[ERROR] Incorrectly formatted file: src/main/java/org/example/Main.java | |
[ERROR] Code formatting issues found, please run prettier-java |
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
async function forwardRequest(request) { | |
let targetHublet; | |
if (hasApiKey(request)) { | |
targetHublet = extractHubletFromApiKey(request); | |
} else if (hasOAuthToken(request)) { | |
targetHublet = extractHubletFromOAuthToken(request); | |
} else { | |
return new Response('Request is missing auth', { status: 401 }); | |
} |
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
Title | Case Condition | |
---|---|---|
3 Ninjas Knuckle Up | New, sealed | |
A Night at the Roxbury | Good | |
Ace Ventura Collection (Pet Detective, When Nature Calls, and Animated Series) | Poor | |
Arlington Road | Good | |
Baby Geniuses | Good | |
Bettlejuice (Deluxe Edition) | Good | |
Bill & Ted's Excellent Adventure | Excellent | |
Billy Madison | Fair | |
Blade Runner (Collector's Edition) | Excellent |
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
Benchmark | Mode | Threads | Samples | Score | Score Error (99.9%) | Unit | |
---|---|---|---|---|---|---|---|
deserializeNew | thrpt | 5 | 2 | 1.516383 | NaN | ops/us | |
deserializeNew:·gc.alloc.rate | thrpt | 5 | 2 | 8208.205594 | NaN | MB/sec | |
deserializeNew:·gc.alloc.rate.norm | thrpt | 5 | 2 | 6248.269653 | NaN | B/op | |
deserializeNew:·gc.churn.G1_Eden_Space | thrpt | 5 | 2 | 8258.650463 | NaN | MB/sec | |
deserializeNew:·gc.churn.G1_Eden_Space.norm | thrpt | 5 | 2 | 6286.727618 | NaN | B/op | |
deserializeNew:·gc.churn.G1_Survivor_Space | thrpt | 5 | 2 | 0.020297 | NaN | MB/sec | |
deserializeNew:·gc.churn.G1_Survivor_Space.norm | thrpt | 5 | 2 | 0.015463 | NaN | B/op | |
deserializeNew:·gc.count | thrpt | 5 | 2 | 170.000000 | NaN | counts | |
deserializeNew:·gc.time | thrpt | 5 | 2 | 89.000000 | NaN | ms |
- Run these commands in terminal:
brew install postgres
postgres -D /usr/local/var/postgres
You now have postgres running locally and listening on port 5432.
- Download and install PSequel.
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
➜ ~ javac --release 8 com/hubspot/SomeClass.java | |
➜ ~ javap com/hubspot/SomeClass | |
Compiled from "SomeClass.java" | |
public class com.hubspot.SomeClass implements java.io.Serializable { | |
public static com.hubspot.SomeClass$Builder builder(); | |
public long getId(); | |
public java.lang.String getName(); | |
com.hubspot.SomeClass(long, java.lang.String, com.hubspot.SomeClass$1); | |
} |
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
➜ ~ javac --release 11 com/hubspot/SomeClass.java | |
➜ ~ javap com/hubspot/SomeClass | |
Compiled from "SomeClass.java" | |
public class com.hubspot.SomeClass implements java.io.Serializable { | |
public static com.hubspot.SomeClass$Builder builder(); | |
public long getId(); | |
public java.lang.String getName(); | |
} |
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
➜ ~ serialver -classpath HBaseLibrary-java8.jar com.hubspot.SomeClass | |
com.hubspot.SomeClass: private static final long serialVersionUID = 4184345964864034491L; | |
➜ ~ serialver -classpath HBaseLibrary-java11.jar com.hubspot.SomeClass | |
com.hubspot.SomeClass: private static final long serialVersionUID = 4704675227730405865L; |
NewerOlder