Skip to content

Instantly share code, notes, and snippets.

@vidaj
vidaj / template_slots.html
Created October 5, 2022 11:00
HTML template with slots
<!DOCTYPE html>
<html>
<head>
<title>Testing templates with slots</title>
</head>
<body>
<template id="myTemplate">
<section>
<header>
@vidaj
vidaj / beetasks.js
Created April 26, 2020 10:40
KubeJS script that will allow you to add custom tasks to FTB Quests to detect that the player has acquired a specific Forestry bee species.
// USAGE:
// In FTB Quests, add a custom task type. Add a tag that starts with "beespecies_" and ends with the name of the species.
// There are some limitations to the tag string contents, so everything must be lowercase, colons and dots can't be used.
//
// Examples:
// beespecies_speciesforest
// beespecies_speciescommon
// beespecies_specieslordly
@vidaj
vidaj / beetasks.js
Created April 26, 2020 10:40
KubeJS script that will allow you to add custom tasks to FTB Quests to detect that the player has acquired a specific Forestry bee species.
// USAGE:
// In FTB Quests, add a custom task type. Add a tag that starts with "beespecies_" and ends with the name of the species.
// There are some limitations to the tag string contents, so everything must be lowercase, colons and dots can't be used.
//
// Examples:
// beespecies_speciesforest
// beespecies_speciescommon
// beespecies_specieslordly
@vidaj
vidaj / gist:e4291ddcce6c3eea3ff66dc7672b22b6
Last active February 5, 2017 07:48
Forestry crash with BetterQuesting
---- Minecraft Crash Report ----
WARNING: coremods are present:
ShetiPhian-ASM (shetiphiancore-1.10.0-3.3.7.jar)
ForgelinPlugin (Forgelin-1.2.0.jar)
NWRTweak (redstonepaste-mc1.9.4-1.7.4.jar)
DynamicSurroundingsCore (DynamicSurroundings-1.10.2-3.2.5.0.jar)
BookshelfLoadingPlugin (Bookshelf-1.10.2-1.4.3.338.jar)
ChiselCorePlugin (Chisel-MC1.10.2-0.0.7.7.jar)
RebornCoreASM (RebornCore-1.10.2-2.13.3.119-universal.jar)
@vidaj
vidaj / gist:1900618
Created February 24, 2012 12:17 — forked from neilj/gist:1532562
Sugared DOM: Better Than Templates
var el = ( function () {
var doc = document;
var directProperties = {
'class': 'className',
className: 'className',
defaultValue: 'defaultValue',
'for': 'htmlFor',
html: 'innerHTML',