This file contains hidden or 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
{ | |
"workbench.colorTheme": "Oceanic Next (dimmed bg)", | |
"files.autoSave": "onFocusChange", | |
"editor.minimap.enabled": true, | |
"workbench.statusBar.visible": true, | |
"workbench.activityBar.visible": true, | |
"editor.formatOnSave": false, | |
"workbench.colorCustomizations": { | |
"statusBar.background": "#333333", |
This file contains hidden or 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
const map = new Map(); | |
map.set('first', 'hello'); | |
map.set('second', 'world'); | |
for (let [key, value] of map) { | |
console.log(key + " is " + value); | |
} |
This file contains hidden or 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
JSONObject jsonObject = new JSONObject(String.format("{\"lower\":%d, \"upper\":%d}", lower, upper)); | |
String ratingFilterInput = Util.encodeValue(jsonObject.toString()); |
This file contains hidden or 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
ss |
This file contains hidden or 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
private static final long SEED = 2873123; | |
private static final Random RANDOM = new Random(SEED); | |
RANDOM.nextInt(3) | |
//result will be one of 0,1,2 |
NewerOlder