Skip to content

Instantly share code, notes, and snippets.

View armornick's full-sized avatar

Nick Arnoeyts armornick

  • Belgium
View GitHub Profile
@armornick
armornick / tumblr-theme-boilerplate.html
Created July 12, 2023 06:54
Tumblr theme boilerplate
<!--
BOILERPLATE FOR TUMBLR THEME DEVELOPMENT
Based on the code from <https://buildthemes.tumblr.com/>
Available under the 0BSD license (https://opensource.org/license/0bsd/)
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
@armornick
armornick / tumblr-theme.html
Last active July 7, 2023 11:59
My first tumblr theme
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="Description" content="{MetaDescription}" />
<title>{block:SearchPage}{lang:Search results for SearchQuery} - {/block:SearchPage}{block:PostTitle}{PostTitle} - {/block:PostTitle}{Title}</title>
<link rel="shortcut icon" href="{Favicon}" />
<link rel="apple-touch-icon" href="{PortraitURL-128}"/>
@armornick
armornick / uno-bootstrap-preset.ts
Created July 3, 2023 17:21
Uno.css Bootstrap Preset (unfinished)
import { Preset, Rule } from 'unocss'
const displayRules: Rule[] =
['none','inline','inline-block','block','grid','inline-grid','flex','inline-flex','table','table-row','table-cell']
.map(display => [`d-${display}`, { display }]);
const flexDirectionRules: Rule[] =
['row','row-reverse','column','column-reverse']
.map(direction => [`flex-${direction}`, { 'flex-direction': direction }]);
const textAlignRules: Rule[] =
['left','right','center'].map(alignment => [`text-${alignment}`, { 'text-align': alignment }]);
@armornick
armornick / w3css-modernized-2.css
Last active June 9, 2023 12:41
w3.css modernized (version 2)
:root {
/* font families */
--font-body: Verdana,sans-serif;
--font-heading: "Segoe UI",Arial,sans-serif;
/* Colors */
--color-amber: #ffc107;
--color-aqua: #00ffff;
--color-blue: #2196F3;
--color-light-blue: #87CEEB;
--color-brown: #795548;
@armornick
armornick / tailwind-variables.css
Last active September 21, 2022 09:49
CSS Variables of Tailwind design tokens
: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
armornick / gulpfile-generator.js
Created October 26, 2018 11:59
Gulpfile.js generator
// ----------------------------------------------------------
// module imports
// const { existsSync, mkdirSync, readFileSync, writeFileSync } = require('fs');
// const { execSync } = require('child_process');
// ----------------------------------------------------------
// parse commandline arguments
const argv = require('yargs')
@armornick
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
/*:
@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
armornick / NIA_StateCancelElement.js
Created August 17, 2018 16:04
Make States Canceled by Elements (RPG Maker MV)
/*:
@plugindesc States Cancelled by Elements
@author armornick
@help
This plugin adds states which are canceled when the inflicted person is hit with
an attack with a certain element.
=== Usage ===
@armornick
armornick / NIA_EquipSkillCommands.js
Created August 17, 2018 04:37
RPG Maker MV plugin to show the skills added by a piece of equipment
/*:
@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
@help
@armornick
armornick / NIA_SimpleCrafting.js
Last active December 6, 2020 04:08
Simple crafting system for RPG Maker MV
/*:
@plugindesc Simple crafting system.
@author armornick
----------------------------------------------------
@help
Adds a simple crafting system with a simple crafting menu.