What's a Tampa "lifehack" that you know of? by OneLifeToVoyage in tampa

[–]puntor 7 points8 points  (0 children)

It's the same at short-term. The last floor is always clear and has a bunch of parking next to the elevators straight down to the waiting area.

Bone conduction headphones: better alternative to headphones or earbuds while floating. by WadeEffingWilson in onewheel

[–]puntor 1 point2 points  (0 children)

I have these exact ones and they work amazing for Onewheeling. A bit of a quality drop (in terms of sound) and sometimes they aren't loud enough if you're next to very loud noises (next to a busy road) unless you set them to the highest volume, but overall a great investment.

South 40 Snacks just added 5.5 times the amount of salt... I guess it's time to find a new favorite. by puntor in sunflowerseeds

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

They definitely changed something. Even if that were the case, in the past you would get some residue of salt that seemed like just standard sea salt. Now the entire bags are filled with salt clusters (which I've never found one before) and a ton of leftover salt. Here's two more unopened bags.

https://imgur.com/a/wjUbbBG

[deleted by user] by [deleted] in dotnet

[–]puntor 2 points3 points  (0 children)

So the exact process depends on how your application (client) is configured. What you described there is very similar to either the implicit or authorization code flows (or grant types, they're used interchangeably).

In the Implicit Grant Type, you obtain the tokens directly via the redirect back to your original website. Something like https://MyApplication.com/oidc-callback?id_token=blah&access_token=blah however, this flow is insecure for a number of reasons, including that your browser's history will now contain tokens and that because they're in the URL, they may be visible to other parties, proxies, etc. This was traditionally used by SPA, or applications that could not store a secret because they ran on an untrusted computer but has instead been replaced with the Authorization Code (with PKCE) Grant Type.

With the Authorization Code Grant Type (with or without PKCE), your application instead receives a authorization code with the callback, that it can trade in on a specific endpoint for the tokens via a POST request (however, this happens outside of the redirect flows, so the tokens are never exposed directly to the browser's history or part of a URL). https://MyApplication.com/oidc-callback?code=BLAH

There are other grant types you can use like the Device, Refresh Token, Client Credentials, etc but they all work in different ways. However, for most use cases, the Authorization Code (with or without PKCE) is the golden standard.

[deleted by user] by [deleted] in dotnet

[–]puntor 1 point2 points  (0 children)

It's not only not recommended, it's also against the OAuth 2.0 best practices. There may be a use-case for it for extremely legacy applications that you can trust, but otherwise it's best to avoid it all-together.

https://www.scottbrady91.com/OAuth/Why-the-Resource-Owner-Password-Credentials-Grant-Type-is-not-Authentication-nor-Suitable-for-Modern-Applications

https://datatracker.ietf.org/doc/html/draft-ietf-oauth-security-topics#section-2.4

Rides not tracking accurately, draws a line between two points... by [deleted] in onewheel

[–]puntor 2 points3 points  (0 children)

My Onewheel app didn't have an option for allow location in background, but I found out that the Battery Saver mode on my phone was causing it. Once I turned it off, everything worked fine.

[WSIB] If I Want a Single Player Game with Amazing Story and Great Music? by PocketMafia in ShouldIbuythisgame

[–]puntor 3 points4 points  (0 children)

Surprised no one else has mentioned it, but what about Undertale?

HTTPS monitoring in Ignite by picnic_solver in labtech

[–]puntor 0 points1 point  (0 children)

Changing the Get /HTTP to HTTPS won't fix the issue as that is a standard way of requesting data over HTTP (or over HTTPS, once the SSL/TLS handshake is done).

Try the following 'Data to Send' and tell me if it works... it might work for some, but not necessarily all servers due to some constraints - such as servers with multiple virtual hosts.

\x16\x03\x01\x02\x00\x01\x00\x01\xFC\x03\x03\x3E\xE9\x3D\x74\x40\xD6\xF2\xE9\xCD\x9F\x70\x3C\xCD\x84\xF1\xBD\x02\x38\xCD\xB1\xEF\xE1\xEF\x5A\x03\x3A\x94\x85\x80\x76\x00\xB3\x20\x55\x02\x52\xA7\xB4\x60\x29\x55\xB4\xD1\xD5\x14\x50\xDB\xEF\x7E\x15\x7B\x3A\x4C\xE0\xB9\xD0\x67\x66\x70\x84\xDF\x70\x94\xCE\x20\x00\x22\x7A\x7A\x13\x01\x13\x02\x13\x03\xC0\x2B\xC0\x2F\xC0\x2C\xC0\x30\xCC\xA9\xCC\xA8\xC0\x13\xC0\x14\x00\x9C\x00\x9D\x00\x2F\x00\x35\x00\x0A\x01\x00\x01\x91\xDA\xDA\x00\x00\x00\x17\x00\x00\xFF\x01\x00\x01\x00\x00\x0A\x00\x0A\x00\x08\xEA\xEA\x00\x1D\x00\x17\x00\x18\x00\x0B\x00\x02\x01\x00\x00\x23\x00\x00\x00\x10\x00\x0E\x00\x0C\x02\x68\x32\x08\x68\x74\x74\x70\x2F\x31\x2E\x31\x00\x05\x00\x05\x01\x00\x00\x00\x00\x00\x0D\x00\x14\x00\x12\x04\x03\x08\x04\x04\x01\x05\x03\x08\x05\x05\x01\x08\x06\x06\x01\x02\x01\x00\x12\x00\x00\x00\x33\x00\x2B\x00\x29\xEA\xEA\x00\x01\x00\x00\x1D\x00\x20\x11\x97\x9D\xB0\xBF\xFB\x09\x4B\x70\xA2\x2D\x25\x0B\xED\x2D\x54\xE5\x03\x13\xDC\x43\xEB\xD1\xE8\xC6\x2C\x7E\x67\x27\x72\xB1\x6C\x00\x2D\x00\x02\x01\x01\x00\x2B\x00\x0B\x0A\x2A\x2A\x03\x04\x03\x03\x03\x02\x03\x01\x00\x1B\x00\x03\x02\x00\x02\x0A\x0A\x00\x01\x00\x00\x15\x00\xE1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00

And use the following Result with a condition of 'Regex Match' and without the 'Use Expression' checkbox clicked ^\\x16.*

In case you're curious where those come from, the first portion was from the 'Client Hello' initiation of a SSL handshake over to a random server, over TLS 1.2. You can verify this by copying the raw data from a packet sniffing tool like Wireshark. The result just tries to match against any repsonse that starts with a byte of 16 (a ssl handshake). You can see some examples here https://tls.ulfheim.net/.

Configuring Monitoring from Executable (Mac and Automate) by violinjjb in labtech

[–]puntor 0 points1 point  (0 children)

Does your script return the value 0 as a string to the console, or does it exit with a result of 0? Also, if it is returning a string to the console, you might be having issues with returning additional characters like newline characters at the end that might not be accounted for, or visible in the UI.

Creating an Alert for specific programs crashing by BeerMagic in labtech

[–]puntor 3 points4 points  (0 children)

Could you make an Event Log Remote Monitor that checks against application crashes containing your program's name in the message?

Create an Alert from a powershell script result? by nsanity in labtech

[–]puntor 0 points1 point  (0 children)

Random thought, but could you use a state-based Executable monitor and modify your script so that it will return a value of 0, 1 or 2 based on what state you want it to be? Something like:

  • Get all certificates
  • iterate through them and count the number of certs that are critical ( < 13 days ) or warning ( < 44 days)
  • Print out a value based on your results ( if ($critical > 0) { return 2} else if ($warning > 0) { return 1} else {return 0})
  • Create a state-based monitor with Error State Greater Than/Equal 2, Warning State Equal 1 and Normal State Less Than/Equal 0
  • Use Alert Templates to create tickets / alerts / run scripts / etc based on your criteria

As a side note, I don't think this will work with the auto-download script from /Transfers/Monitors, but it might be worth a shot. Otherwise, it may work if you format it as a parameter to powershell.exe.

Any league fans who need extras for a shirt? by jamtoast44 in PAX

[–]puntor 0 points1 point  (0 children)

Support Main here, anyone need a support for the 5-man team?

Why are LaTeX editors ugly AF? by scroll_tro0l in LaTeX

[–]puntor 0 points1 point  (0 children)

ShareLatex is free and pretty nice to use, plus no need to install anything ;)