Skip to content

Instantly share code, notes, and snippets.

View taipoxin's full-sized avatar
🕷️
Working from home

Dmitry Ermakovich taipoxin

🕷️
Working from home
View GitHub Profile
@taipoxin
taipoxin / Vagrantfile
Last active September 3, 2022 07:57 — forked from niw/Vagrantfile
A simple Vagrantfile to setup Ubuntu desktop environment with Google Chrome
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/bionic64"
config.vm.provider :virtualbox do |v|
v.gui = true
v.memory = 2048
end
# Currently "ubuntu/bionic64" on VirtualBox requires `type: "virtualbox"`
# to make synced folder works.
@taipoxin
taipoxin / Entity.cpp
Created November 11, 2019 10:33
Wrapper main files
#include "Entity.h"
namespace CLI
{
Entity::Entity(String^ name, float xPos, float yPos)
: ManagedObject(new Core::Entity(string_to_char_array(name), xPos, yPos))
{
Console::WriteLine("Creating a new Entity-wrapper object!");
}
void Entity::Move(float deltaX, float deltaY)
{
@taipoxin
taipoxin / Core.h
Created November 11, 2019 10:28
test_app code files.
# file: Core.h
#pragma once
#include "Entity.h"