Temp2¶
元ヤフーエンジニア社長が考える、市場価値の高いエンジニアとは
find . -type f -name "test.xml" -exec rm -f {} +
retrieve_docs
let output = "";
try {
output = await bedrockClient.send(command);
} catch (error) {
console.error("★error:" + error);
if (error instanceof ThrottlingException) {
console.error("retry after 1sec");
await new Promise(resolve => setTimeout(resolve, 1000));
output = await bedrockClient.send(command);
} else {
console.error("Error: " + error);
throw error;
}
}
format_exists_checkresult
CREATE TABLE documents (
ID INT NOT NULL PRIMARY KEY,
Title VARCHAR(20),
Body VARCHAR(250),
LastUpdate DATETIME
);
INSERT INTO documents (ID, Title, Body, LastUpdate) VALUES
(1, 'Test Title 1', 'This is the body of document 1.', '2025-01-18 10:00:00'),
(2, 'Test Title 2', 'This is the body of document 2.', '2025-01-18 10:05:00'),
(3, 'Test Title 3', 'This is the body of document 3.', '2025-01-18 10:10:00'),
(5, 'Test Title 5', 'This is the body of document 5.', '2025-01-18 10:20:00');
#!/bin/bash useradd boomi echo "boomi:XXXXX" | chpasswd usermod -aG wheel boomi echo "boomi ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/boomi sed -i 's/^#PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config sed -i 's/^PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config systemctl restart sshd