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
{ | |
"basics": { | |
"name": "Thomas Edison", | |
"label": "Inventor and Businessman", | |
"picture": "https://example.com/photo.jpg", | |
"email": "[email protected]", | |
"phone": "(123) 456-7890", | |
"website": "https://thomasedison.com", | |
"summary": "Prolific inventor and businessman known for developing many devices that greatly influenced life around the world, including the phonograph, the motion picture camera, and the electric light bulb.", | |
"location": { |
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
{ | |
"ping": { | |
"goVersion": "go1.20.7", | |
"dataFormat": 1, | |
"agentVersion": "13.4.0.8392", | |
"key": "64da75d9f9dade265df5e4743f073b882da446bfd14b75a117253034", | |
"agentHostname": "atlas-mqwb69-shard-00-00.krnbe.mmscloudteam.com", | |
"agentShortHostname": "atlas-mqwb69-shard-00-00.krnbe.mmscloudteam.com", | |
"agentSessionKey": "4e6ea6622610ea7d1b38d693f5703413", | |
"srcVersion": "0000000000000000000000000000000000000000", |
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
package com.xgen.svc.mms.svc.ping.observers; | |
import java.util.concurrent.Semaphore; | |
public class MyQueue { | |
private Node front; | |
private Node rear; | |
private int numElements; | |
private final int maxSize; |
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
const computeTotal = () => { | |
const rows = document.querySelectorAll('c1-ease-row') | |
let total = 0 | |
for(let i = 0; i < rows.length; i++) { | |
const amountString = rows[i].lastElementChild.innerText | |
if (amountString.charAt(0) === '-') { | |
// Negative amount -> need to subtract | |
// -$18.10 | |
const amount = amountString.substring(2).replace(',', '') |