Add the file you want to a github repo with the same name as your user. The file should be called README.md
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
Handlebars.registerHelper('betterTitle', function (filepath) { | |
return new Handlebars.SafeString( | |
JSON.stringify(filepath.data.root.files[0].name).replace(/\.[^/.]+$/, "").replace('"', '').replace('"',"") | |
); | |
}); |
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
/* Extension using the JavaScript Speech API for text to speech */ | |
/* Sayamindu Dasgupta <sayamindu@media.mit.edu>, April 2014 */ | |
new (function() { | |
var ext = this; | |
/*function _get_voices() { | |
var ret = []; | |
var voices = speechSynthesis.getVoices(); | |
Read entities inventory:
Must be done in command block. To trigger redstone or another commandblock, you must set the main commmandblocks’ setttings to Always Active On, and set the command block type to repeat, then place a comparator to get redstone output
/execute if entity !!SELECTOR!![nbt={Inventory:[{id:"!!ITEM_ID!!",tag:{display:{Name:'{"text":"!!Item_Display_Name!!"}'}}}]}]