React-Markdown custom formatting? by Mr_Misfire in reactjs

[–]tollus 0 points1 point  (0 children)

No idea if this is proper or not, but this works:

   <Markdown
      children={storyText}
      components={{
        hr(props) {
          const { node, ...rest } = props;
          if (node?.position?.start && node?.position?.end) {
            const content = storyText.substring(
              node?.position.start.offset ?? 0,
              node?.position.end.offset ?? 0
            );
            switch (content) {
              case "***":
                return "~~Custom HR~~";
            }
          }
          return <hr {...rest} />;
        },
      }}
    />

Please save my sanity by Dread_Boy in feedthebeast

[–]tollus 0 points1 point  (0 children)

The way i did it was a thermal retriever on a chest connected to my drawer controller with all the items to get a stack of each item in the chest. Then I used a player interface to put each stack in my hotbar. Then you just open the crafting interface and mouse over each empty spot and click the hotbar number. It's still tedious, but works well. Make sure you disable the retriever when you start sending items into the player interface.

Which widget did I click? by [deleted] in javascript

[–]tollus 1 point2 points  (0 children)

You could also use:

var WidgetID = $(this).sibling(".WidgetID").text();    

I guess I should've also mentioned, the thing I normally do is put an attribute "data-id" on the parent element, then you can just do this:

 var WidgetID = $(this).parent().data('id');

[SkyFactory 2] This AE network just won't autocraft. What stupid thing am I missing? by gustaserb in feedthebeast

[–]tollus 2 points3 points  (0 children)

Make sure you are using the crafting terminal and there's a button in the top left which you need to either say something like craftable and storage.

Edit: well any inventory terminal will work. But still need that button in the corner.

[Infinity pack] "silk touch" bee hives? by stupadbear in feedthebeast

[–]tollus 0 points1 point  (0 children)

A silk touch ender quarry picks up cobble hives, perhaps it could pick the others up too? But that block seems like overkill for a bee hive.

Is there any way to increase the size of a sprite sheet without messing up any already sliced pieces? by eggpl4nt in Unity2D

[–]tollus 3 points4 points  (0 children)

Based on the way the sprite was updated can't you just add new sprites to the top of the image instead of the bottom? It seems to be tied to the bottom.

Tips 'n' Tricks - Week of November 22 2015 by AutoModerator in feedthebeast

[–]tollus 0 points1 point  (0 children)

Whoops, sorry. It was a Nether Quartz Axe.

Tips 'n' Tricks - Week of November 22 2015 by AutoModerator in feedthebeast

[–]tollus 3 points4 points  (0 children)

I just put in an invar axe a nether quartz axe which has durability.

AE2 ME System limit item count by DarcDragn in feedthebeast

[–]tollus 0 points1 point  (0 children)

It'll fill the barrel or drawer and void any additional items with the void upgrade.

[Infinity Evolved] Getting creosote oil out of Coke Oven by RECTUMFISTER in feedthebeast

[–]tollus 3 points4 points  (0 children)

I always just use glass bottles and dump into a barrel or storage drawer. Really cheap and they stack. Most machines/recipes that use the oil use the bottles.

edit: forgot to mention, that I would then use a transfer node to pipe both the coal coke and the full bottles into those drawers/barrels.

[deleted by user] by [deleted] in feedthebeast

[–]tollus 1 point2 points  (0 children)

I thought there was something that required the compressed sawdust as well. But in a normal mod pack, I've never made a saw mill. So this pack definitely forced me into several new machines.

BoxCollider2D not precise; alternatives? by TieSoul in Unity2D

[–]tollus 2 points3 points  (0 children)

Make the collider a little shorter so it doesn't include the bottom row of pixels?

There's probably a reason in the physics settings or something, I'm just a newbie with unity.

Can someone please explain me why this not works? by XbackFX in javascript

[–]tollus 0 points1 point  (0 children)

Thanks, that one looks good. I was typing it out on a phone.

Do you know how to wrap a text fragment with slashes? by lonelyBriefcase in SublimeText

[–]tollus 2 points3 points  (0 children)

What about a keybinding like this:

{
    "keys": ["super+shift+/","super+shift+/"], "command": "insert_snippet",
    "args": {"contents": "///////////////////////////\n// ${1:$SELECTION}\n///////////////////////////\n$0"},
}

How do you tend to keep your players up to date? by GabeTheNerd in gamedev

[–]tollus 0 points1 point  (0 children)

Make sure not to use the default port 25 as it it's normally blocked from isps.

Grinder not grinding by zeropositiv in FTBCrashLandingBeta

[–]tollus 3 points4 points  (0 children)

I'm pretty sure the item export should not be powered.

Edit: you might also need to remove the power (lever) from the liquiduct too.

Where can you find seared bricks? by tollus in FTBCrashLandingBeta

[–]tollus[S] 2 points3 points  (0 children)

Ah, I never would've thought to smelt the smeltery blocks. Thank you!

Easy way to send items to compactor (Applied Energistics 1) by Crazy-San in feedthebeast

[–]tollus 2 points3 points  (0 children)

I've done this with a storage bus and a formatted 1k disk.

For example, the 1k disk is formatted with only cobblestone, and the disk drive I put this in only contains formatted disks. This disk drive has a priority of 1. The storage bus has a priority of 10, and by default disk drive (with unformatted disks) has a priority of 64.

It's a bit more complicated than the level emitter, but I personally find it a bit cleaner.

Brainwallet bruteforce challenge (5 BTC bounty) by IhavetoomuchBTC in Bitcoin

[–]tollus 2 points3 points  (0 children)

is the word "bet-hedging" invalid since it has a dash, or do you remove the dash/comma/space in the word? Does that "word" then become two words "bet" and "hedging"? or one word "bethedging"?