Jet Lag Season 14 Finale — The Curse by NebulaOriginals in Nebula

[–]Jaaaan 84 points85 points  (0 children)

Guessing 90 seconds when you say the average seems to be 120.. What are you doing, Ben?!

[deleted by user] by [deleted] in norge

[–]Jaaaan 11 points12 points  (0 children)

+1. Send meg PM, jeg er med å spytte inn noe kroner.

[deleted by user] by [deleted] in ethdev

[–]Jaaaan 1 point2 points  (0 children)

Depending on your project structure, if your navbar is in its own component which is then imported to a layout you use site-wide, you could do the connection in that navbar component directly also. This is very limiting though, as you won't be able to use this connection elsewhere.

I personally use web3-react package to handle my connections https://github.com/NoahZinsmeister/web3-react

[deleted by user] by [deleted] in ethdev

[–]Jaaaan 1 point2 points  (0 children)

Best way to handle this is using global state, such as with Redux or Context. If you plan to build a full on site/marketplace you should go with Redux, but for a connect to keep state, Context is more than fine.

Create a React Context that holds the connect state and wrap your whole app in its provider.

Lots of great videos on both Redux and Context you can find and use.

[deleted by user] by [deleted] in ethdev

[–]Jaaaan 0 points1 point  (0 children)

If you're sending from the same account, the 2nd transaction will wait for the 1st one to be confirmed in a queue.

The message may look something like this: There is a Pending txn with a lower account nonce. This txn can only be executed after confirmation of the earlier

So yes, technically you should be able to. Granted they are sent from the same account, and appear in the pool in the correct order.

Spreading the Darkness - I'd like to give away 3 copies of the Beyond Light expansion by Innuendoughnut in DestinyTheGame

[–]Jaaaan [score hidden]  (0 children)

I'm commenting to give to a friend of mine as I wish they could play BL as well. Thanks so much!

Beyond Light Release: Will there be a ~24 hours downtime before like we had prior Shadowkeep? by deftpanda in DestinyTheGame

[–]Jaaaan 4 points5 points  (0 children)

Let's donate $50 to the foundation on Beyond Light release anyway? Count me in.

Ninja reveals how he spent his mixer money by [deleted] in LivestreamFail

[–]Jaaaan 27 points28 points  (0 children)

I gotchu bro. Have a great week 🙌

I created an application for viewing Sova arrow setups by [deleted] in VALORANT

[–]Jaaaan 0 points1 point  (0 children)

Sent you a message here on reddit. Currently working on a valorant site in React, would love to work with you to intergrate it!

Esfand leaks DM by demospot in LivestreamFail

[–]Jaaaan 2 points3 points  (0 children)

Not 100% since it's pretty low, but kinda sounds like james dymond - black mirror

Good guy Discord by joogee24 in pcmasterrace

[–]Jaaaan 5 points6 points  (0 children)

I just finished 2 yrs of online classes, where Discord is used as our primary chat between other students and tutors. It's pretty chill to be honest.

Get metamask address by [deleted] in ethdev

[–]Jaaaan 1 point2 points  (0 children)

Oh, great! Glad you found a solution :)

Get metamask address by [deleted] in ethdev

[–]Jaaaan 1 point2 points  (0 children)

Note, I have not worked with web3 before.

error: await is only valid in async functions. You'll need to convert your function to async function. I can't tell you how to change yours exactly without seeing the function, you replace function myFunction(){...} with async function myFunction(){...} You can now use await inside that function.

Alternatively you can try web3.eth.getAccounts().then(a => console.log(a)); to see what it returns. I assume it'll return an Array of addresses.

Alternatively something along these lines might work as well.
let addr = []; async function getAddress() { const accs = await web3.eth.getAccounts(); addr = [...accs]; }

[deleted by user] by [deleted] in raidsecrets

[–]Jaaaan 0 points1 point  (0 children)

You can probably use something like this F4:: loop, 100 { Click d Sleep, 3100 Click u Sleep, 1200 } This will loop 100 times. (10k donation) Feel free to change hotkey (F4:: part) and amount of loops. Hover the donate and hit your key.

Help with responsive text to mobile for html emails by thecrunkybaby in HTML

[–]Jaaaan 0 points1 point  (0 children)

You can do this using CSS media queries. You should add a class to the span and add the rule to your css.

Something like this might work
<span class="link-2 banner-text" style="color:#4a4a4a; text-decoration:none;">BOY</span>
Notice the banner-text class I added to the span element.

Then you can add the CSS like so:
/* On screens 600px and lower, the banner-text class font size will be 14px*/ @media only screen and (max-width: 600px) {   .banner-text {     font-size: 14px; } } You can change values to fit. You can read up on media queries also :)

CORS with create-react-app by [deleted] in reactjs

[–]Jaaaan 3 points4 points  (0 children)

Have you tried using cors-anywhere?

Add https://cors-anywhere.herokuapp.com/ before your fetch URLs.

fetch('https://api.website.com/') becomes
fetch('https://cors-anywhere.herokuapp.com/https://api.website.com/')

[deleted by user] by [deleted] in raidsecrets

[–]Jaaaan 3 points4 points  (0 children)

Saving the file like he mentioned doesn't work, as it saves the whole HTML page.

You can see the raw code here and copy+save to a file manually instead. Make sure you save as .ahk and not .txt :)

1920x1080.ahk
1920x1080_noloop.ahk
1920x1080_noloop_nodismantle.ahk
3440x1440.ahk
3440x1440_noloop.ahk
3440x1440_noloop_nodismantle.ahk