Skip to content

Instantly share code, notes, and snippets.

On vacation

Joseph viper25

On vacation
Block or report user

Report or block viper25

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Mounting VirtualBox shared folders on

Mounting VirtualBox shared folders on ubuntu-18.10-desktop-amd64

This guide will walk you through steps on how to setup a VirtualBox shared folder inside your Ubuntu Server guest. Tested on ubuntu-18.10-desktop-amd64


  1. Open VirtualBox
  2. Right-click your VM, then click Settings
  3. Go to Shared Folders section
  4. Add a new shared folder
  5. On Add Share prompt, select the Folder Path in your host that you want to be accessible inside your VM.
View gist:9f529067681e1dc77a76372a9c71f6ff

Ubuntu 16.04

$ sudo apt-get update
$ sudo apt-get install ruby ruby-dev make gcc
$ sudo gem install jekyll bundler

see source

How to Start Jekyll

viper25 /
Created Apr 22, 2017
Using OPENVPN on Ubuntu
sudo apt-get install openvpn
sudo openvpn --config /path/to/config.ovpn
viper25 / Command Line
Last active Apr 22, 2017
Java command line parser
View Command Line
CommandLineParser parser = new BasicParser();
Options options = new Options();
options.addOption("b", "batch-size", true, "Set the batch size of Bulk mongo Import");
options.addOption("p", "JSONs path", true, "Set the path to JSONs");
options.addOption("c", "collection", true, "Set mongoDB collection to import JSONs to");
CommandLine line = parser.parse(options, args);
if (!line.hasOption("b") || !line.hasOption("p") || !line.hasOption("c")) {
HelpFormatter f = new HelpFormatter();
f.printHelp("Supported Commandline Arguments", options);
You can’t perform that action at this time.