Skip to content

Instantly share code, notes, and snippets.

View buo's full-sized avatar

Jack Lee buo

  • Korea | Singapore
View GitHub Profile
@mihow
mihow / load_dotenv.sh
Last active April 25, 2025 17:10
Load environment variables from dotenv / .env file in Bash
# The initial version
if [ ! -f .env ]
then
export $(cat .env | xargs)
fi
# My favorite from the comments. Thanks @richarddewit & others!
set -a && source .env && set +a
@lethee
lethee / Dockerfile
Last active August 6, 2023 18:52
progit2-ko-build-docker
FROM ubuntu:14.04
MAINTAINER Seonghwan Lee <[email protected]>
RUN cd /etc/apt && \
sed -i 's/archive.ubuntu.com/kr.archive.ubuntu.com/g' sources.list
RUN apt-get update
RUN apt-get install -y git curl python
RUN apt-get install -y ruby2.0 ruby2.0-dev
@dergachev
dergachev / GIF-Screencast-OSX.md
Last active April 28, 2025 00:02
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application: