- SageMaker Studio announces pre-built docker ‘SageMaker Distribution’ for machine learning
- AWS announces open sourced Amazon Redshift integration for Apache Spark
- Announcing preview of JSON protocol support for Amazon SQS
- [AWS Lambda adds support for Python 3.11](https://aws.amazon.com/about-aws/whats-new/2023/0
p.95
- 誤:--assume-role-policy-document:AmazonSSMManagedInstance CoreのIAM ARNを指定する
- 正:--policy-arn:AmazonSSMManagedInstanceCoreのIAM ARNを指定する
p.172
- DさんとEさんはポリシー3、が正しい
p.176
- EC2 と STSの矢印は逆では?
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
1 0 LOAD_CONST 0 (0) | |
2 LOAD_CONST 1 (None) | |
4 IMPORT_NAME 0 (time) | |
6 STORE_NAME 0 (time) | |
2 8 LOAD_CONST 0 (0) | |
10 LOAD_CONST 2 (('Pool',)) | |
12 IMPORT_NAME 1 (multiprocessing) | |
14 IMPORT_FROM 2 (Pool) | |
16 STORE_NAME 2 (Pool) |
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
import argparse | |
import urllib.request | |
from html.parser import HTMLParser | |
header = """use cli_test_dir::*; | |
const BIN: &'static str = "./hello";""" | |
test_case_template = """ |
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
import argparse | |
from random import random | |
from fractions import Fraction | |
def monty(change=True): | |
right = 1 | |
x = random() | |
if x <= Fraction(1 / 3): | |
answer = 1 |
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
require 'win32ole' | |
# original vbscript is: | |
# https://support.lenovo.com/mx/ja/solutions/ht500032 | |
# | |
def convertToKey(key) | |
keyOffset = 52 | |
i = 28 | |
chars = "BCDFGHJKMPQRTVWXY2346789" | |
keyOutput = "" |
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
#include <iostream> | |
using namespace std; | |
static int D, N; | |
int solve(); | |
int ndiv(int x); | |
int ndiv(int x) { |
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
#include <iostream> | |
using namespace std; | |
static int A, B; | |
void solve(); | |
void solve() { | |
if (A <= 8 && B <= 8) { |
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
#include <iostream> | |
using namespace std; | |
const int MAX_C = 30; | |
static int N, C; | |
static int D[MAX_C][MAX_C]; | |
static int t[3][MAX_C]; | |
int solve(); |
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
CXX = clang++-3.9 | |
INCDIR = -I /usr/include/c++/v1 -I /home/linuxbrew/.linuxbrew/opt/boost@1.60/include | |
CFLAGS = -O2 | |
LIBS = -L /usr/lib -L /home/linuxbrew/.linuxbrew/opt/boost@1.60/lib | |
OBJS = a.out | |
STD = c++14 | |
STDLIB = libc++ | |
WARNS = -Werror -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic | |
a.out: hello.cpp |
NewerOlder