+------------------------+ +----------------------+
| | | |
| | | |
| h1 | | h2 |
| | | |
| | | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Based on : https://github.com/jessfraz/dockerfiles/blob/master/chrome/stable/Dockerfile | |
Dockerfile | |
========== | |
``` | |
# Base docker image | |
FROM debian:bullseye-slim | |
LABEL maintainer "Jessie Frazelle <[email protected]>" | |
# Install Chrome |
Credit: https://gist.github.com/awidegreen/3854277
- C-a == Ctrl-a
- M-a == Alt-a
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call plug#begin('~/.vim/plugged') | |
Plug 'junegunn/vim-easy-align' | |
Plug 'junegunn/seoul256.vim' | |
Plug 'ConradIrwin/vim-bracketed-paste' | |
Plug '/home/hareesh/.fzf' | |
Plug 'junegunn/fzf.vim' | |
Plug 'https://github.com/Alok/notational-fzf-vim' | |
Plug 'vim-airline/vim-airline' | |
" Initialize plugin system |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dockerfile | |
---------- | |
FROM python:3-alpine | |
#FROM fedora:latest | |
ADD ipvs.py / | |
RUN pip install gnlpy six | |
CMD [ "python", "./ipvs.py" ] |
https://www.nadeau.tv/ssh-with-a-bastion-host/
ssh -o ProxyCommand='ssh -W %h:%p user@bastion' user@target
To let scp/rsync/debuuger connect, edit your ~/.ssh/config file to define the proxy command and other params. For example:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# KVM and Qemu | |
yum install -y qemu-kvm \ | |
qemu-img \ | |
virt-manager \ | |
libvirt \ | |
libvirt-python \ | |
python-virtinst \ | |
libvirt-client \ | |
virt-install \ |
NewerOlder