Skip to content

Instantly share code, notes, and snippets.

View layzrd's full-sized avatar

layzrd layzrd

View GitHub Profile
@layzrd
layzrd / main.workflow
Created October 30, 2021 05:24 — forked from pahud/main.workflow
Github Actions with Amazon EKS CI/CD
workflow "Demo workflow" {
on = "push"
resolves = ["SNS Notification"]
}
action "Build Image" {
uses = "actions/docker/cli@c08a5fc9e0286844156fefff2c141072048141f6"
runs = ["/bin/sh", "-c", "docker build -t $IMAGE_URI ."]
env = {
IMAGE_URI = "xxxxxxxx.dkr.ecr.ap-northeast-1.amazonaws.com/github-action-demo:latest"
@layzrd
layzrd / semantic-commit-messages.md
Created September 4, 2020 08:59 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

<!--
p-4 -- padding for all direction
bg-blue-500 -- background-color blue with a mild tone
-->
<nav class="flex p-4 items-center bg-prime text-white">
<span class="text-3xl">Company Brand</span>
</nav>
module.exports = {
purge: [],
theme: {
extend: {
colors: {
"prime": "#c45f4f"
}
},
},
variants: {},
@layzrd
layzrd / navbar-1
Last active June 26, 2020 20:09
navbar with brand name
<!--
p-4 -- padding for all direction
bg-blue-500 -- background-color blue with a mild tone
-->
<nav class="flex p-4 items-center bg-blue-500 text-white">
<span class="text-3xl">Company Brand</span>
</nav>
@layzrd
layzrd / navbar-2
Last active June 26, 2020 19:45
navbar with brand name and menu icon
<nav class="flex flex-col md:flex-row items-center justify-center md:justify-between p-6 bg-blue-500 text-white">
<span class="font-semibold text-3xl capitalize tracking-wide">Company Brand</span>
<svg class="h-8 w-8 fill-current" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd"
d="M2 12.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5z" />
</svg>
</nav>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tailwind</title>
<link rel="stylesheet" href="css/tailwind.css">
</head>
<body>