So I do this instead
wget https://vagrantcloud.com/bento/boxes/ubuntu-18.04/versions/202002.14.0/providers/virtualbox.box
file virtualbox.box
# virtualbox.box: gzip compressed data
mv virtualbox.box virtualbox.gz
gunzip virtualbox.gz
| // ==UserScript== | |
| // @name MP fix (Hopefully the last one) | |
| // @namespace tampermonkey.net | |
| // @version 2.1 | |
| // @description Does what it says. | |
| // @author I did this. :3 | |
| // @match *://*.mangapark.com/* | |
| // @match *://*.mangapark.org/* | |
| // @match *://*.mangapark.net/* | |
| // @match *://*.mangapark.to/* |
| const express = require('express'); | |
| const { Pool } = require('pg'); | |
| const app = express(); | |
| const port = 3000; | |
| const pool = new Pool({ | |
| host: 'localhost', | |
| user: 'project_rewards', | |
| password: 'project_rewards', |
| #!/bin/bash | |
| # Check if Redis CLI is installed | |
| if ! command -v redis-cli &> /dev/null | |
| then | |
| echo "redis-cli could not be found, please install it first" | |
| exit | |
| fi | |
| # Infinite loop to ping Redis |
| // Future versions of Hyper may add additional config options, | |
| // which will not automatically be merged into this file. | |
| // See https://hyper.is#cfg for all currently supported options. | |
| module.exports = { | |
| config: { | |
| // choose either `'stable'` for receiving highly polished, | |
| // or `'canary'` for less polished but more frequent updates | |
| updateChannel: 'stable', |
| # MAPPING created using DRF function | |
| # https://github.com/encode/django-rest-framework/blob/master/rest_framework/schemas/generators.py#L72 | |
| # from rest_framework.schemas.generators import EndpointEnumerator | |
| # EndpointEnumerator().get_api_endpoints() | |
| # Input | |
| MAPPING = { | |
| "urn:app:api": [ | |
| "/api/v2/user/{id}", | |
| "/api/v2/followers/{user_id}", |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """Simple Bot to reply to Telegram messages. | |
| This program is dedicated to the public domain under the CC0 license. | |
| This Bot uses the Updater class to handle the bot. | |
| First, a few handler functions are defined. Then, those functions are passed to | |
| the Dispatcher and registered at their respective places. | |
| Then, the bot is started and runs until we press Ctrl-C on the command line. | |
| Usage: |
| using System; | |
| using System.IO; | |
| using System.Security.Cryptography; | |
| using System.Security.Cryptography.X509Certificates; | |
| namespace ConsoleApp | |
| { | |
| class Program | |
| { | |
| static string Domain = "serverless.id"; |
This is how to install something in a VM and export it as a Vagrant box and use it locally.
First copy the Vagrantfile from below and change the box to the box you want as a base.
Run vagrant up to create the Virtual Machine and vagrant ssh to login.
On Windows you might have to put ssh.exe to your %PATH%. If you have installed git, you can use C:\Program Files\Git\usr\bin
You can also login via Putty on host: "localhost", Port "2222", login: "vagrant", password: "vagrant".