Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
I may be slow to respond.

Isaac Pak pak11273

💭
I may be slow to respond.
View GitHub Profile
View gist:a280ac5ddce4f1579a2c8d5345b707ce
* {
box-sizing: border-box;
max-width: 100%;
}
html {
/* browser font-size is usually 16px */
/* em relies on parent font-size */
/* root font-size */
font-size: 62.5%;
View gist:71d8b5f93d4d27a927f9cdc5197853bf
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
View gist:c42c0fa035b3418c6163ba9c6de3d8c6
# Add these lines to the bottom of your .bash_profile
# Enable tab completion
source ~/git-completion.bash
# colors!
green="\[\033[0;32m\]"
blue="\[\033[0;34m\]"
purple="\[\033[0;35m\]"
reset="\[\033[0m\]"
View gist:9d61bd2d0cc44a745e0f8be37a3d0043
# bash/zsh git prompt support
#
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>
# Distributed under the GNU General Public License, version 2.0.
#
# This script allows you to see repository status in your prompt.
#
# To enable:
#
# 1) Copy this file to somewhere (e.g. ~/.git-prompt.sh).
View gist:873eb6e305bd807f2d5cd0650dc597e8
# bash/zsh completion support for core Git.
#
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/).
# Distributed under the GNU General Public License, version 2.0.
#
# The contained completion routines provide support for completing:
#
# *) local and remote branch names
# *) local and remote tag names
View gist:27592c841b9bfcf2fb8d3b2a20a9f532
# indicates the base image to use which is golang
FROM golang:1.15-alpine3.12
# sets the port environment variable
ENV PORT=8080
RUN mkdir /app
# adds the src directory from the host to the image
ADD ./web /app
View gist:7c467790fee14d78a5816bebeca9db59
name: Build Containers for Prod & Push to Dockerhub
# Anytime a pull request or push to master branch occurs then do the following jobs
# commented out docker actions and using opspresso for now
on:
pull_request:
branches:
- master
push:
branches:
View gist:e1577159e12cc8024d1f9516f23f19eb
# Grabbing changes from the original repo that you cloned locally
git fetch && git reset --hard origin/<branch name>
View gist:77b3b85f4ce570da08ab43d2843c483d
FROM node:lts-alpine
# A directory inside the docker container
WORKDIR /usr/src/app
# Copies everything over to Docker environment
COPY ./client .
# Installs all node packages
RUN npm install
View gist:edfcc2d5b5f41e08a9cab2632a9087cb
# indicates the base image to use which is golang
FROM golang:1.15-alpine3.12
# sets the GIN_MODE environment variable
ENV GIN_MODE=release
# sets the port environment variable
ENV PORT=3004
RUN mkdir /app