Skip to content

Instantly share code, notes, and snippets.

View ssugimoto's full-sized avatar

shigeo sugimoto ssugimoto

View GitHub Profile
## mysql5.7to mysql8.0に関する情報
- MySQL 5.7 to 8 check list
https://gist.github.com/soudai/fde4dcc8cfa8f9b3c902315d11720af8
- MySQL 5.7 から 8.0 にしたらテストが激遅になった
https://qiita.com/kunit/items/7f5883121a621a775e53
- fujiwaraさん・そーだいさんとリアル事例から読み解く Webパフォーマンスチューニングの勘所
@ssugimoto
ssugimoto / Dockerfile
Last active August 28, 2021 15:16
VSCode remote container Python3.8 ,with nvm and node install
FROM mcr.microsoft.com/vscode/devcontainers/python:3.8
RUN apt-get update \
&& apt-get -y install curl \
&& apt-get autoremove -y \
&& apt-get clean -y
#RUN apt-get upgrade \
# && apt-get -y install curl
@ssugimoto
ssugimoto / Dockerfile
Created August 8, 2021 12:26
AWS Lambda and VSCode Remote container ,for Python3.8
FROM mcr.microsoft.com/vscode/devcontainers/python:3.8
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get -y install --no-install-recommends java-common zip \
&& wget https://corretto.aws/downloads/latest/amazon-corretto-8-x64-linux-jdk.deb \
&& dpkg --install amazon-corretto-8-x64-linux-jdk.deb \
&& wget https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip \
&& unzip awscli-exe-linux-x86_64.zip \
&& ./aws/install \
# Clean up
@ssugimoto
ssugimoto / App.js
Last active May 22, 2021 13:00
Amplifyチュートリアルのモジュール4のGraphQL API とデータベースを追加するをモジュール5まで終えた
import React, { useState, useEffect } from 'react';
import './App.css';
import { API,Storage } from 'aws-amplify';
import { withAuthenticator, AmplifySignOut } from '@aws-amplify/ui-react';
import { listNotes } from './graphql/queries';
import { createNote as createNoteMutation, deleteNote as deleteNoteMutation } from './graphql/mutations';
const initialFormState = { name: '', description: '' }
function App() {