Skip to content

Instantly share code, notes, and snippets.

View howtoautomateinth's full-sized avatar

HowToAutomate.in.th howtoautomateinth

View GitHub Profile
not optimal optimal
htabucket/2020-03-04-08-00-00/travel001/1.jpg htabucket/y3f2-2020-03-04-08-00-00/travel001/1.jpg
htabucket/2020-03-04-08-00-00/travel002/2.jpg htabucket/kbdd-2020-03-04-08-00-00/travel001/1.jpg
htabucket/2020-03-04-08-00-00/travel003/3.jpg htabucket/aac2-2020-03-04-08-00-00/travel001/1.jpg
Family Meaning
F FPGA (it have FPGA accelerator)
I IOPS
G Graphic (graphics-intensive applications such as 3D visualizations)
H High Disk Throughput
T Cheap general purpose
D Density
R RAM
M Main choice for general purpose
C Compute
Family Speciality Use Case
F1 Field Programmable Gate Array Real-time video processing or Big Data
I3 High Speed Storage NoSQL or Data Warehousing
G3 Graphics Intensive Video Encoding or 3D Application Streaming
H1 High Disk Throughput MapReduce-based workloads or Distributed file systems such as HDFS
T2 Lowest Cost for General Purpose Web Servers or Small DBS
D2 Dense Storage Fileservers or Hadoop
R4 Memory Optimized Memory Intensive Apps or DB
M5 General Purpose Application Servers
C5 Compute Optimized CPU intensive Apps or DB
image: docker:18
services:
- docker:dind
stages:
- default
- test
- deploy
@howtoautomateinth
howtoautomateinth / example travis ci
Created January 4, 2020 13:07
python and docker
language: python
services:
- docker
# command to install dependencies
install:
- pip install -r requirements.txt
- docker build -t simpleapp .
- docker run -p 5000:5000 -d --name simpleapp simpleapp
script:
- docker ps | grep -q simpleapp
@howtoautomateinth
howtoautomateinth / .dockerignore
Created January 4, 2020 13:05
Docker python ignore files
.git
.gitignore
README.md
LICENSE
.vscode
venv
Dockerfile
docker-compose
.dockerignore
.travis.yml
@howtoautomateinth
howtoautomateinth / example.docker.inspect.json
Created December 18, 2019 09:55
Example full low-level information from docker
[
{
"Id": "0afb92a7281698dbcda87d61d3f3908cfcc62ede121424a891badaf45ec0156c",
"Created": "2019-12-17T10:47:39.9186784Z",
"Path": "./wrapper.sh",
"Args": [],
"State": {
"Status": "running",
"Running": true,
"Paused": false,