Skip to content

Instantly share code, notes, and snippets.

View ueno1969's full-sized avatar

Kazuhiko UENO ueno1969

View GitHub Profile
@ueno1969
ueno1969 / Dockerfile
Last active April 6, 2022 02:42
AWS cliとcopilotとセッションマネージャーを入れたDockerfile
FROM amazon/aws-cli
RUN curl -Lo copilot https://github.com/aws/copilot-cli/releases/latest/download/copilot-linux && \
chmod +x copilot &&\
mv copilot /usr/local/bin/copilot
RUN curl "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/linux_64bit/session-manager-plugin.rpm" -o "session-manager-plugin.rpm" && \
yum install -y ./session-manager-plugin.rpm && \
rm ./session-manager-plugin.rpm
// Use JDK 17 preview
public class Main {
public static void main(String[] args) {
new Main().sample();
new Main().sample2();
}
private static Result<Integer, RuntimeException> parse(String a) {
try {
@ueno1969
ueno1969 / README.md
Last active June 14, 2024 10:57
TestAILZ80ASM

AZ80ASMのコンパイル時間テスト用

#!/bin/sh
curl --no-progress-meter -o /dev/null --trace - "$@" | (
set -- awk
type gawk >/dev/null 2>&1 && set -- gawk -n
LC_ALL=C "$@" '
BEGIN {
printed_header = 0
printed_data = 0
output_stdout = 0