Skip to content

Instantly share code, notes, and snippets.

@kg7pnh
kg7pnh / docker
Last active February 8, 2020 18:02
UBUNTU-DEV: contents of /etc/default/docker file
# Docker Upstart and SysVinit configuration file
#
# THIS FILE DOES NOT APPLY TO SYSTEMD
#
# Please see the documentation for "systemd drop-ins":
# https://docs.docker.com/engine/admin/systemd/
#
# Customize location of Docker binary (especially for development testing).
@kg7pnh
kg7pnh / daemon.json
Last active February 8, 2020 18:01
UBUNTU-DEV: Contents of /etc/docker/daemon.json
{
"graph": "/docker",
"hosts": ["unix:///var/run/docker.sock", "tcp://127.0.0.1:2375", "tcp://192.168.0.55:2375"]
}
@kg7pnh
kg7pnh / override.conf
Created February 8, 2020 18:06
UBUNTU-DEV: contents of /etc/systemd/system/docker.service.d/override.conf
# Disable flags to dockerd, all settings are done in /etc/docker/daemon.json
[Service]
ExecStart=
ExecStart=/usr/bin/dockerd --containerd=/run/containerd/containerd.sock
@kg7pnh
kg7pnh / .zshrc
Created February 8, 2020 19:00
UBUNTU-DEV: contents of ~/.zshrc
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/mbayha/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
@kg7pnh
kg7pnh / setup.sh
Last active February 11, 2020 01:01
UBUNTU-DEV: complete setup script
# install curl
sudo apt install curl
# add Docker repository
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
@kg7pnh
kg7pnh / README.markdown
Created February 22, 2020 07:30 — forked from marijn/README.markdown
List of nationalities in YAML, CSV and TXT format

List of nationalities

It's time someone compiled a list of nationalities to use within a web application. This gist attempts to make a first move at that.

List of countries

I've also compiled a list of countries

@kg7pnh
kg7pnh / sampleREADME.md
Created March 20, 2020 04:55 — forked from FrancesCoronel/sampleREADME.md
A sample README for all your GitHub projects.

FVCproductions

INSERT GRAPHIC HERE (include hyperlink in image)

Repository Title Goes Here

Subtitle or Short Description Goes Here

@kg7pnh
kg7pnh / .gitignore
Created October 27, 2021 05:52 — forked from kmorcinek/.gitignore
Example .gitignore file I use for C# projects
# The following command works for downloading when using Git for Windows:
# curl -LOf http://gist.githubusercontent.com/kmorcinek/2710267/raw/.gitignore
#
# Download this file using PowerShell v3 under Windows with the following comand:
# Invoke-WebRequest https://gist.githubusercontent.com/kmorcinek/2710267/raw/ -OutFile .gitignore
#
# or wget:
# wget --no-check-certificate http://gist.githubusercontent.com/kmorcinek/2710267/raw/.gitignore
# User-specific files
@kg7pnh
kg7pnh / README.markdown
Created October 18, 2022 17:24 — forked from marijn/README.markdown
List of countries in YAML, CSV and TXT format