Skip to content

Instantly share code, notes, and snippets.

@tpfwrz
tpfwrz / css3-loading-animation.markdown
Created July 20, 2020 09:23
CSS3 Loading Animation
@tpfwrz
tpfwrz / Dockerfile
Created March 2, 2018 18:50
Nodejs docker file
FROM node
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)
COPY package*.json ./
@tpfwrz
tpfwrz / goenv.sh
Created July 29, 2017 17:33
virtualenv for golang
#!/usr/bin/env bash
mkdir $1
echo '# This file must be used with "source activate" or ". activate"
function deactivate() {
if [ -n "$GOENVNAME" ]; then
unset GOENVNAME
fi
if [ -n "$_OLD_GOROOT" ]; then
export GOROOT="$_OLD_GOROOT"
unset _OLD_GOROOT