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
| import pandas as pd | |
| import plotly.graph_objects as go | |
| from tkinter import filedialog, Tk | |
| import re | |
| from collections import defaultdict | |
| def select_file(): | |
| """ | |
| Open a file dialog to select a log file. | |
| """ |
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
| AWSTemplateFormatVersion: '2010-09-09' | |
| Description: 'ISUCON9 Qualifier template' | |
| Parameters: | |
| KeyPairName: | |
| Description: "Amazon EC2 Key Pair" | |
| Type: AWS::EC2::KeyPair::KeyName | |
| GitHubUsername: | |
| Description: "GitHub Username for SSH public key" | |
| Type: String |
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
| AWSTemplateFormatVersion: 2010-09-09 | |
| Description: >- | |
| AWS CloudFormation for Carefully start ISUCON from the beginning | |
| Parameters: | |
| GitHubID: | |
| Type: String | |
| Description: Your GitHub ID (use for getting public key) | |
| Resources: | |
| GetAvailabilityZoneFunctionExecutionRole: | |
| Type: AWS::IAM::Role |
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
| AWSTemplateFormatVersion: '2010-09-09' | |
| Description: private-isu template | |
| Parameters: | |
| KeyPairName: | |
| Description: "Amazon EC2 Key Pair" | |
| Type: AWS::EC2::KeyPair::KeyName | |
| GitHubUsername: | |
| Description: "GitHub Username for SSH public key" | |
| Type: String |
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
| attach() { | |
| name=$1 | |
| if [ "${name:0:1}" = "r" ]; then | |
| docker exec -it --user 1000 $name /bin/bash | |
| else | |
| lxc exec $name /bin/bash | |
| fi | |
| } | |
| add_nic() { |
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 po = 0 | |
| const vm = new Vue() |