Total pre-tip bill: $15.90
Rough tip: $3.00
Pre-checksum total: $18.90
1+8 = 9
Final total: $18.99
Now if someone changes the tip to $4 or $5, the checksum fails.
Started using the last digit of my restaurant bill as a checksum, cause I've had the tip amount changed on me too many times now
Decide your rough desired tip, calculate your tentative total, then add up the digits before the decimal point and use that as the number of cents
That's basically what I use "channels" in my "social reader" for. I do feel like it's about time to implement a more formal workflow for it now that it's been working well as is. aaronparecki.com/2018/04/20/…
It looks like my screenshot is wrong. If you're accessing the app in your browser at "http://localhost:8000/" then make sure that exact URL is entered as the callback URL too.
I thought GitHub allows local addresses. Make sure the exact url is registered in github. e.g. "localhost" vs "127.0.0.1" are considered different URLs.
Tonight at the Portland OWASP meetup, I'm giving a talk explaining OAuth from the ground up:
calagator.org/events/1250473…
If you're in town for #OSCON already, feel free to come by! I'll have a few copies of my book to give away as well!
@balloob Is there an API in Home Assistant to list all the zones? I'm interested in adding geofence support into my iOS app, overland.p3k.app but I don't really want to make an interface for configuring geofences, and thought I might be able to pull them from HA.
Today, I learned about PASETO -- paseto.io. It's an alternative to JWTs and the equivalent of "JavaScript: The Good Parts" for JWTs. Hat tip to @rdegges at @kc_dc.
In two weeks, I'm hosting a series of OAuth/OpenID Connect workshops in Chicago, Dallas, and San Francisco with @okta! They're free to attend and there's food/drinks afterwards! Sign up here ➡ regionalevents.okta.com/deve…