Skip to content

Instantly share code, notes, and snippets.

@asabla
asabla / genesis_public_key
Created February 22, 2018 10:35
genesis_public_key
04c75c50c48cfad492d28ce4466cc9a21e4ccbed5baffb4d73c9a6c34a325800872a32a433cc260b56f2dd420edadc15c3e60ba04cee47349c0eb36ea5892e5b03
@asabla
asabla / hosts
Created January 22, 2017 15:25
Blocking ads etc
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
@asabla
asabla / steps.sh
Last active December 2, 2016 07:07
Proxmox multiple public ip's @ online.net
# When you have access to proxmox web gui make sure you have all isos and fail over configured
# 1. Create a new new VM and set MAC the same as in the panel whilst handling fail over ips
# 2. Boot up the machine and go through the installation (skip networking part)
# 3. After installation login into the machine with VNC (through proxmox)
# 4. edit /etc/network/interface and add this:
auto lo ens18
iface li inet loopback
iface ens18 inet static
@asabla
asabla / Docker-run-commands
Created August 6, 2016 17:10
Docker Gitlab setup
docker run --name gitlab-postgresql -d \
--env 'DB_NAME=gitlabhq_production' \
--env 'DB_USER=gitlab' \
--env 'DB_PASS=DBPASSWORD' \
--volume /local/db/location/postgresql:/var/lib/postgresql \
sameersbn/postgresql
docker run --name gitlab-redis -d \
--volume /local/cache/location/redis:/var/lib/redis \
sameersbn/redis