Skip to content

Instantly share code, notes, and snippets.


Nick Arnoeyts armornick

View GitHub Profile
armornick / tailwind-variables.css
Last active September 21, 2022 09:49
CSS Variables of Tailwind design tokens
View tailwind-variables.css
:root {
/* Colors > Slate */
--tw-slate-50: #f8fafc;
--tw-slate-100: #f1f5f9;
--tw-slate-200: #e2e8f0;
--tw-slate-300: #cbd5e1;
--tw-slate-400: #94a3b8;
--tw-slate-500: #64748b;
--tw-slate-600: #475569;
armornick / gulpfile-generator.js
Created October 26, 2018 11:59
Gulpfile.js generator
View gulpfile-generator.js
// ----------------------------------------------------------
// module imports
// const { existsSync, mkdirSync, readFileSync, writeFileSync } = require('fs');
// const { execSync } = require('child_process');
// ----------------------------------------------------------
// parse commandline arguments
const argv = require('yargs')
armornick / NIA_ShopStock.js
Last active November 12, 2018 04:33
Add-on for Hime's Shop Manager plugin for RPG Maker MV which adds stock limitations to shops
View NIA_ShopStock.js
@plugindesc Shop Stock
@author armornick
@param default-stock
@text Default Stock Size
@type number
@desc The default size of stock for items without note-tag.
@default 99
armornick / NIA_StateCancelElement.js
Created August 17, 2018 16:04
Make States Canceled by Elements (RPG Maker MV)
View NIA_StateCancelElement.js
@plugindesc States Cancelled by Elements
@author armornick
This plugin adds states which are canceled when the inflicted person is hit with
an attack with a certain element.
=== Usage ===
armornick / NIA_EquipSkillCommands.js
Created August 17, 2018 04:37
RPG Maker MV plugin to show the skills added by a piece of equipment
View NIA_EquipSkillCommands.js
@plugindesc Show equipment skills on equip menu
@author armornick
@param Equipment Skills Text
@desc The label to show above the equipment skills list.
@default Equipment Skills
armornick / NIA_SimpleCrafting.js
Last active December 6, 2020 04:08
Simple crafting system for RPG Maker MV
View NIA_SimpleCrafting.js
@plugindesc Simple crafting system.
@author armornick
Adds a simple crafting system with a simple crafting menu.
armornick / generator.js
Last active March 30, 2018 03:59
Node-based Project Generator (templates not included)
View generator.js
var Generator = (function () {
var Mustache = require("./lib/mustache.min.js"),
fs = require("fs")
function Generator() {
this.templateDir = null
this.config = null
armornick / embed.cpp
Created March 6, 2018 08:35
Embed text file as C string
View embed.cpp
#include <cstdio>
#include <cctype>
#include <string>
#include <vector>
#include <sstream>
#include <algorithm>
#include <stdexcept>
#define FILE_LIST_FN "file_list.txt"
armornick / xml.cpp
Last active November 23, 2016 07:50 — forked from anonymous/xml.cpp
Duktape bindings for TinyXML 2
View xml.cpp
#include <duktape.h>
#include <tinyxml2.h>
using namespace tinyxml2;
// -----------------------------------------------------------------------------
// XmlNode Object structure & utility functions
// -----------------------------------------------------------------------------
#define DUKWIN_XMLNODE_PROTOTYPE "$DukwinXmlNodePrototype"
armornick / list-cpls.cpp
Created April 12, 2016 18:43
List control panel applets and allow the user to open them
View list-cpls.cpp
List and load Control Panel applets
Based on this article:
And this section of MSDN: