Moved to https://github.com/krues8dr/SafeObj
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
const fs = require('fs'); | |
const readline = require('readline'); | |
const https = require('https'); | |
const reqOptions = { | |
timeout: 1000, | |
}; | |
function get(url) { | |
// console.log(url); |
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
## | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2014 Ryan Morrissey | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is |
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
'use strict'; | |
/* Promises.all but uses an Object instead of an array. | |
* | |
* Usage: | |
* | |
* PromiseMap({ | |
* 'a': new Promise((resolve, reject) => resolve(1)), | |
* 'b': new Promise((resolve, reject) => resolve(2)) | |
* }).then(result => console.log('done', result)); |
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
# Serve a local static website | |
# Requires jq for node package info! https://stedolan.github.io/jq/ | |
typeset -A KJOBSLIST | |
KSERVE_ICON_DEFAULT="\uf013" | |
KSERVE_ICON_SERVE="\uf233" | |
KSERVE_ICON_BUILD="\uf021" | |
# Serve the current directory as a website at port 8000 | |
function kserve() { |
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
// Easier clay | |
recipes.addShapeless('bigfork_clay',<minecraft:clay>*4,[<minecraft:dirt>,<minecraft:dirt>,<minecraft:dirt>,<minecraft:dirt>]); | |
// Easier leather, replace monster jerky from Tinkers Construct | |
mods.tconstruct.Drying.removeRecipe(<tconstruct:edible:10>, <minecraft:rotten_flesh>); | |
mods.tconstruct.Drying.addRecipe(<minecraft:leather>,<minecraft:rotten_flesh>, 100); | |
// Add back missing Botania flowers with Easy Pickings flowers | |
mods.botania.Apothecary.addRecipe(<easypickings:flower_daybloom>,[<ore:petalYellow>,<ore:petalYellow>,<ore:petalOrange>,<ore:petalLightBlue>]); | |
mods.botania.Apothecary.addRecipe(<easypickings:flower_nightshade>,[<ore:petalBlack>,<ore:petalBlack>,<ore:petalPurple>,<ore:petalGray>]); |
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
'use strict' | |
const gulp = require('gulp'); | |
const imageResize = require('gulp-image-resize'); | |
const path = require('path'); | |
const del = require('del'); | |
const concat = require('gulp-concat'); | |
const uglify = require('gulp-uglify-es').default; | |
const replace = require('gulp-replace'); | |
const clean = require('gulp-clean'); |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Alpha Component</key> | |
<real>1</real> | |
<key>Blue Component</key> | |
<real>0.25332435965538025</real> |
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
//============================================================================= | |
// Airship Events | |
// Version: 1.0.0 | |
//============================================================================= | |
var Imported = Imported || {}; | |
Imported.Kru_AirshipEvents = "1.0.0"; | |
//============================================================================= | |
/*: | |
* @plugindesc 1.0.0 Allows airships to interact with events. | |
* |
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
//============================================================================= | |
// Clear Map Photos | |
// Version: 1.0.0 | |
//============================================================================= | |
var Imported = Imported || {}; | |
Imported.Kru_ClearMapPhotos = "1.0.0"; | |
//============================================================================= | |
/*: | |
* @plugindesc 1.0.0 Clear Map Photos - Remove photos from the map on load. | |
* |
NewerOlder