gpg --export your_address@example.net > my_key.pub
The file can then be shared to other people.
FROM ubuntu:20.04 | |
RUN apt-get update -y | |
RUN apt-get install -y --no-install-recommends ssh sudo | |
RUN useradd --create-home -s /bin/bash vagrant | |
RUN echo -n 'vagrant:vagrant' | chpasswd | |
RUN echo 'vagrant ALL = NOPASSWD: ALL' > /etc/sudoers.d/vagrant | |
RUN chmod 440 /etc/sudoers.d/vagrant |
Vagrant.configure("2") do |config| | |
config.vm.define "ubuntu" do |ubuntu| | |
ubuntu.vm.provider "docker" do |d| | |
d.build_dir = "." | |
end | |
# ubuntu.vm.provision "shell", inline: <<-SCRIPT | |
# sudo sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config | |
# sudo useradd kkumtree -m -s /bin/bash | |
# sudo usermod -a -G sudo kkumtree |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/focal64" | |
config.vm.define "ubuntu" do |ubuntu| | |
ubuntu.vm.hostname = "kkumtree-server" | |
ubuntu.vm.provider "virtualbox" do |vb| | |
vb.name = "ubuntu-server" |
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "g++ - 활성 파일 빌드 및 디버그", | |
"type": "cppdbg", | |
"request": "launch", |
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "g++ - 활성 파일 빌드 및 디버그", | |
"type": "cppdbg", | |
"request": "launch", |
# Configuration for Alacritty, the GPU enhanced terminal emulator. | |
# Import additional configuration files | |
# | |
# These configuration files will be loaded in order, replacing values in files | |
# loaded earlier with those loaded later in the chain. The file itself will | |
# always be loaded last. | |
#import: | |
# - /path/to/alacritty.yml |
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH |
call plug#begin('~/.vim/plugged') | |
"Plug 'Github ID/repo'" | |
Plug 'scrooloose/nerdtree' | |
Plug 'pbondoer/vim-42header' | |
call plug#end() | |
map <F3> <ESC>:NERDTreeToggle<CR> | |
imap <F3> <ESC>:NERDTreeToggle<CR> |