Skip to content

Instantly share code, notes, and snippets.

For boostraping ec2 instance

#!/bin/bash
yum -y update
yum install -y ruby
yum install -y aws-cli
cd /home/ec2-user
aws s3 cp s3://aws-codedeploy-us-east-1/latest/install . --region us-east-1
chmod +x ./install

Design checklist

  • controls (button, checkbox, etc) - is the color correct?
  • controls (button, checkbox, etc) - is the size correct?
  • controls (button, checkbox, etc) - is the font correct?
  • controls (button, checkbox, etc) - is the shape correct?
  • Color variation, shape variation before and after operation (hover effect?)
  • Are the Items controls(button, checkbox, etc) enough, redundant or missing?
  • Are the Controls(button, checkbox, etc) arranged correctly?
  • Are the margin between controls(button, checkbox, etc) corrected?
@oLeVanNinh
oLeVanNinh / autocommands.vim
Created October 9, 2019 01:27 — forked from jdhao/autocommands.vim
My Neovim configurations for both terminal and gui (using nvim-qt). Repo: https://github.com/jdhao/nvim-config
"{ Auto commands
" Do not use smart case in command line mode,
" extracted from https://goo.gl/vCTYdK
augroup dynamic_smartcase
autocmd!
autocmd CmdLineEnter : set nosmartcase
autocmd CmdLineLeave : set smartcase
augroup END
" Set textwidth for text file types
@oLeVanNinh
oLeVanNinh / index.html
Created September 17, 2017 08:11
SimonGame
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>Simon Game</title>
<link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css'>
<link rel="stylesheet" href="css/style.css">