Skip to content

Instantly share code, notes, and snippets.

View servilla's full-sized avatar

Mark Servilla servilla

  • Albuquerque, New Mexico
View GitHub Profile
@servilla
servilla / gist:1de2dcefc4bd45778c5241acdeab7355
Created November 7, 2023 16:47 — forked from rogerdahl/gist:bfb274499165175f2e6b32c1927658b6
Return the request body unmodified from a Java Servlet
String req = request.getReader().lines().collect(Collectors.joining(System.lineSeparator()));
logger.error(req);
response.getWriter().write(req);
response.setContentType("text/plain");
response.setStatus(HttpServletResponse.SC_OK);

Mounting VirtualBox shared folders on Ubuntu Server 18.04 LTS (Bionic Beaver)

This guide will walk you through the steps on how to setup a VirtualBox shared folder inside your Ubuntu Server guest.

Prerequisites

This guide assumes that you are using the following setup:

You could still make this guide work with other setups (possibly with some modifications to the commands and whatnot).

### Keybase proof
I hereby claim:
* I am servilla on github.
* I am markservilla (https://keybase.io/markservilla) on keybase.
* I have a public key whose fingerprint is F9BC ED37 941C B9A5 26DB 57A8 17A6 1114 D9C4 50D1
To claim this, I am signing this object: