🏳️🌈
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
//Code | |
return 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require("http"); | |
var unum = 0; | |
var port = 8888; | |
http.createServer(function(request, response) { | |
response.writeHead(200, {"Content-Type": "text/plain"}); | |
response.write("Hello World"); | |
unum = unum + 1; | |
console.log("Users visited: " + unum); | |
response.end(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
HoverZoom.js by Gabriel Simmer | |
Provides zoom-in on hover over element, | |
requires jQuery :) | |
Obviously you can change "img" to whatever | |
you'd like, e.g ".image" or "#image" | |
*/ | |
var imgHeight=720; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"jar": "vanilla", | |
"version": "latest", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"ram": "1024M", | |
"port": 3000, | |
"minecraft_port": 25565 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Shell setup script for NodeMC | |
# | |
# Spinner from | |
# https://github.com/marascio/bash-tips-and-tricks/tree/master/showing-progress-with-a-bash-spinner | |
spinner() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -sL https://nodemc.space/setup | bash - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_comment": "This file contains parameters on how a server should be run.", | |
"__comment": "Should be fairly self explanatory but consult the docs if unsure.", | |
"name": "test", <- Unused | |
"jar": "vanilla", <- Flavour of jar file | |
"version": "latest", <- Version of jar file | |
"ram": "1024M", <- Amount of RAM for Minecraft server | |
"port": 3000, <- Port to run NodeMC on (recommended you change this) | |
"minecraft_port": 25565 <- Port for Minecraft server | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
----> set python as C:\Python27\python.exe | |
----> framework => nodejs | |
----> embedResources undefined | |
----> resource -> C:\Users\Gabriel\nodemc-core\tmp\nexe\nodejs\5.0.0\node-v5.0.0\lib\nexeres.js | |
----> bundle C:\Users\Gabriel\nodemc-core\Main.js | |
----> executing browserify via API | |
----> vcbuild [make stage] | |
Looking for Visual Studio 2015 | |
Looking for Visual Studio 2013 | |
Failed to find Visual Studio installation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setInterval(function() { | |
// Probably more effecient way of doing this | |
fetch('http://nodemc.space:3350/v1/server/log',{ | |
body: { | |
'apikey':apikey | |
} | |
}) | |
.then((response) => response.text()) | |
.then((responseText) => { | |
$("#console").val(responseText); |
OlderNewer