Skip to content

Instantly share code, notes, and snippets.

View yo-it-engineer's full-sized avatar

Yo_IT yo-it-engineer

View GitHub Profile
@yo-it-engineer
yo-it-engineer / GIF-Screencast-OSX.md
Created September 16, 2022 08:56 — forked from dergachev/GIF-Screencast-OSX.md
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:

@yo-it-engineer
yo-it-engineer / nginxproxy.md
Created August 20, 2020 01:33 — forked from soheilhy/nginxproxy.md
How to proxy web apps using nginx?

Virtual Hosts on nginx (CSC309)

When hosting our web applications, we often have one public IP address (i.e., an IP address visible to the outside world) using which we want to host multiple web apps. For example, one may wants to host three different web apps respectively for example1.com, example2.com, and example1.com/images on the same machine using a single IP address.

How can we do that? Well, the good news is Internet browsers

@yo-it-engineer
yo-it-engineer / bash_collection.sh
Last active December 14, 2020 01:27
useful bash scripts
# set charset to view japanese for LESS
export LESSCHARSET=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export LC_COLLATE=C
export LC_CTYPE=en_US.UTF-8
# display git branch name
# for more detailed steps please google 'git-completion'
source ~/.bash/git-prompt.sh