Skip to content

Instantly share code, notes, and snippets.

View elreydetoda's full-sized avatar

elreydetoda

View GitHub Profile
@elreydetoda
elreydetoda / Vagrantfile
Last active December 26, 2020 17:02
Algo vpn Vagrantfile. Simply vagrant up then ./algo, checkout the z-cmds section for easy consumption (z- is prepended so you see the vagrant files first).
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "bento/ubuntu-18.04"
config.vm.provision "shell", inline: <<-SHELL
# installing and configure docker stuff
curl -fsSL 'https://get.docker.com' | bash
sudo usermod -aG docker vagrant

Keybase proof

I hereby claim:

  • I am elreydetoda on github.
  • I am elrey741 (https://keybase.io/elrey741) on keybase.
  • I have a public key ASCmjduOLv_WDfSAwzgi2PeMP3IXXcWwSDNIh8N6frwQgQo

To claim this, I am signing this object:

@elreydetoda
elreydetoda / Vagrantfile
Created May 25, 2019 13:54
test out and use codi md server (https://demo.codimd.org/), for live rendering markdown, with a vagrant box, navigate to http://192.168.33.10:3000/ to use and create an account to easily aggregate notes. The first Vagrantfile is for when you want to only run codimd, and when you ssh in it will auto start codimd. The second one is an alias for st…
Vagrant.configure("2") do |config|
config.vm.box = "bento/ubuntu-18.04"
config.vm.network "private_network", ip: "192.168.33.10"
# not necessary but makes things faster (comment out if you use another hypervisor)
config.vm.provider "virtualbox" do |vb|
vb.memory = "4096"
end
config.vm.provision "shell", inline: <<-SHELL
apt-get update
curl -fsSL https://get.docker.com | bash
@elreydetoda
elreydetoda / CodiMD Server Vagrantfile with alias
Last active May 25, 2019 13:55
test out and use codi md server (https://demo.codimd.org/), for live rendering markdown, with a vagrant box, navigate to http://192.168.33.10:3000/ to use and create an account to easily aggregate notes. The first Vagrantfile is for when you want to only run codimd, and when you ssh in it will auto start codimd. Compared to the second one is an …
Vagrant.configure("2") do |config|
config.vm.box = "bento/ubuntu-18.04"
config.vm.network "private_network", ip: "192.168.33.10"
# not necessary but makes things faster (comment out if you use another hypervisor)
config.vm.provider "virtualbox" do |vb|
vb.memory = "4096"
end
config.vm.provision "shell", inline: <<-SHELL
apt-get update
curl -fsSL https://get.docker.com | bash