Skip to content

Instantly share code, notes, and snippets.

View dlebedynskyi's full-sized avatar

Dima Lebedynskyi dlebedynskyi

View GitHub Profile
@RottenMind
RottenMind / mod6 tasklist
Created March 6, 2015 09:39
Buntas script mod6 tasklist
/*
* Mod6 sample 6.3.2015
* Tasklist can be modified to configure the training you want to perform.
* The configurable options window sets how many profession slots you want to use for each profession.
* The level array below for each professions specifies the tasks you want to learn at each crafting level.
* Each craft slot will pick the first task that meets requirements.
* See http://pastebin.com/VaGntEha for Task Name Map.
* Some names above do not match, use below code to check:
* var tasks = client.dataModel.model.craftinglist['craft_' + profname].entries.filter(function(entry) { return entry.def && entry.def.displayname == taskname; }); tasks[0].def.name;
*/
@alexeisavca
alexeisavca / ReactIgnore
Last active March 12, 2023 12:24
A simple component to make ReactJs ignore subtrees
var React = require('react/addons');
var ReactIgnore = {
displayName: 'ReactIgnore',
shouldComponentUpdate (){
return false;
},
render (){
return React.Children.only(this.props.children);
}
@tmpvar
tmpvar / .gitignore
Created July 12, 2011 07:19
A console.log implementation that plays "nice" with large amounts of data. It Keeps node alive until the output has flushed to the screen.
gmon.out
v8.log