Skip to content

Instantly share code, notes, and snippets.

@indriApollo
indriApollo / gitApiV3test.html
Last active February 22, 2016 18:32
Test of the github v3 api using XMLHttpRequest
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Github Api V3 test</title>
<style type="text/css">
textarea{
height: 100%;
}
ul{
@indriApollo
indriApollo / init.lua
Created June 30, 2015 17:11
Adds multiskin support for wardrobe (replace existing init.lua with this code)
local MOD_NAME = minetest.get_current_modname();
local MOD_PATH = minetest.get_modpath(MOD_NAME);
local WORLD_PATH = minetest.get_worldpath();
if MOD_NAME ~= "wardrobe" then
error("mod directory must be named 'wardrobe'");
end
local armor_mod = false;
if minetest.get_modpath("3d_armor") then armor_mod = true; end;