Skip to content

Instantly share code, notes, and snippets.

View DNAlchemist's full-sized avatar

Mikhalev Ruslan DNAlchemist

View GitHub Profile
@DNAlchemist
DNAlchemist / Rancher.md
Created October 24, 2018 09:40 — forked from lmmendes/Rancher.md
Running Rancher locally (with two hosts) using MacOS Docker and VirtualBox

Rancher

Rancher is an open source project that provides a complete platform for operating Docker in production. It provides infrastructure services such as multi-host networking, global and local load balancing, and volume snapshots.

This documentation describes how to run Rancher localy for development and evaluation propuses.

I'm using Docker for OSX (native) but even for this to work you will need to install VirtualBox.

Launching Management Rancher Server

@DNAlchemist
DNAlchemist / CurseAsMaven
Created April 18, 2017 11:49 — forked from TehNut/CurseAsMaven
Curse as Maven
repositories {
maven {
name = "CurseForge"
url = "https://minecraft.curseforge.com/api/" + project.curseforge_key
}
}
^^^ THIS DOES NOT GO IN BUILDSCRIPT, IT GOES ABOVE apply plugin: 'forge' ^^^
Then add this to dependencies
Terminal.cursorBlink = false;
$ui.Terminal = function Terminal(socket) {
var term = new window.Terminal(80, 30, function(data) {
socket.emit('terminal.data', data, term.id);
});
term.open();
var grip = $('<div class=grip>'), el = $('<div class=wrapper>').append(term.element, grip);