| name | explain-diff-html |
|---|---|
| description | Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output. |
Please make me a rich, interactive explanation of the specified code change.
It should have these sections:
| -server | |
| -XX:-UseAdaptiveSizePolicy | |
| -XX:ParallelGCThreads=2 | |
| -XX:+UseParNewGC | |
| -XX:NewRatio=3 | |
| -XX:+PrintGCDetails -XX:+PrintHeapAtGC | |
| -XX:+HeapDumpOnOutOfMemoryError |
| /*! | |
| * Copyright 2012, Chris Wanstrath | |
| * Released under the MIT License | |
| * https://github.com/defunkt/jquery-pjax | |
| */ | |
| (function($){ | |
| // When called on a container with a selector, fetches the href with | |
| // ajax into the container or with the data-pjax attribute on the link |
| #!/bin/bash | |
| if [ -f ~/Library/KeyBindings/DefaultkeyBinding.dict ]; then | |
| echo "~/Library/KeyBindings/DefaultkeyBinding.dict already exists" | |
| exit -1 | |
| fi | |
| mkdir -p ~/Library/KeyBindings | |
| cat << EOF > ~/Library/KeyBindings/DefaultkeyBinding.dict | |
| { | |
| "₩" = ("insertText:", "\`"); |
| # ref: https://play.golang.org/p/OeEmT_CXyO | |
| package main | |
| import ( | |
| "fmt" | |
| "runtime" | |
| "strconv" | |
| "strings" | |
| "sync" | |
| ) |
| Below are the Big O performance of common functions of different Java Collections. | |
| List | Add | Remove | Get | Contains | Next | Data Structure | |
| ---------------------|------|--------|------|----------|------|--------------- | |
| ArrayList | O(1) | O(n) | O(1) | O(n) | O(1) | Array | |
| LinkedList | O(1) | O(1) | O(n) | O(n) | O(1) | Linked List | |
| CopyOnWriteArrayList | O(n) | O(n) | O(1) | O(n) | O(1) | Array | |