Tech C**P
How 3rd Party Logins work like Facebook, Google, etc? In order to understand this concept you need to read a little bit about OAuth 2.0 flow. The flow that frontiers use in order to get access token is called Implicit Flow in this scenario in one go…
Read a little bit more about
- https://developer.okta.com/authentication-guide/implementing-authentication/implicit
#oauth #oauth2 #implicit_flow
Implicit Flow
here:- https://developer.okta.com/authentication-guide/implementing-authentication/implicit
#oauth #oauth2 #implicit_flow
Okta
Implicit Flow | Okta Developer
Secure, scalable, and highly available authentication and user management for any app.
Tech C**P
How 3rd Party Logins work like Facebook, Google, etc? In order to understand this concept you need to read a little bit about OAuth 2.0 flow. The flow that frontiers use in order to get access token is called Implicit Flow in this scenario in one go…
Facebook
implicit flow example:- https://dzone.com/articles/oauth2-implicit-grant-flow-example-using-facebook
#oauth #facebook #implicit_flow
dzone.com
OAuth2 Implicit Grant Flow - Example Using Facebook OAuth2 API - DZone Security
Learn how to use the OAuth2 implicit grant flow in an untrusted client, such as a pure HTML or JavaScript application. This tutorial shows how with sample code.
https://www.confluent.io/blog/beginners-perspective-kafka-streams-building-real-time-walkthrough-detection?mkt_tok=eyJpIjoiTXpoak1USTRZVEF5TjJKayIsInQiOiIxb2dDdEpJallUVzhPeWF6T3I3NXBtNHFqYVh1V0xGa3hONHlKQ2ptc0JtVzFLXC8rbHQxVys5MWprQjNWZGpLUGR2N2hkS0poakNRdURhb0pndjd2QXVYOEtYbjczSFdRVGVSUHhGelVHXC9QT0t5QXNsYUdwSlgyN0ZcL3NjQmpkeSJ9
#kafka #streams #kafka_streams
#kafka #streams #kafka_streams
Confluent
A Beginner’s Perspective on Kafka Streams: Building Real-Time Walkthrough Detection | Confluent
Here at Zenreach, we use Kafka Streams to generate walkthrough counts. This post describes our use case, architecture and lessons we learned along the way.
Forwarded from Pavel Durov
We’ve just started Instant View 2.0 Competition – our crowdsourcing contest with a prize fund of $300,000, ending on the 4th of April.
The goal is to create sets of rules (“templates”) that are used to generate beautiful “Instant View” previews for links shared on Telegram. Anyone with an understanding of HTML/CSS can participate. Participants get $100 for each correct template + $10,000 and $5,000 to top 2 contributors.
Check out the rules here – https://instantview.telegram.org/contest
We’ll launch more similar competitions for developers soon. Eventually there’ll be a competition for everything we do (Android, C++, voice calls etc). Winners get mighty prizes and a chance to join our dev team.
Stay tuned – we’ll announce the next competition within 10 days.
The goal is to create sets of rules (“templates”) that are used to generate beautiful “Instant View” previews for links shared on Telegram. Anyone with an understanding of HTML/CSS can participate. Participants get $100 for each correct template + $10,000 and $5,000 to top 2 contributors.
Check out the rules here – https://instantview.telegram.org/contest
We’ll launch more similar competitions for developers soon. Eventually there’ll be a competition for everything we do (Android, C++, voice calls etc). Winners get mighty prizes and a chance to join our dev team.
Stay tuned – we’ll announce the next competition within 10 days.
Instant View Platform
Template Competition 2.0
We are holding a new $300,000+ 2-month competition (4 Feb 2019 - 4 April 2019) to create Instant View Templates for news websites and blogs, $100 per template. Everyone is welcome to participate!
In case you want to run
In case you need to run browser in headless mode you need to install
#selenium #xvfb
Selenium
tests you need to run xvfb
to have X virtual framebuffer (in-memory display server) you need to install it and then have script like below to run your Selenium test:#!/bin/bash
Xvfb :10 -ac &
xvfb_pid=$!
export DISPLAY=:10
python -u test_login.py & >> /var/log/test_login.log
kill ${xvfb_pid}
In case you need to run browser in headless mode you need to install
xvfb
#selenium #xvfb
Tech C**P
In case you want to run Selenium tests you need to run xvfb to have X virtual framebuffer (in-memory display server) you need to install it and then have script like below to run your Selenium test: #!/bin/bash Xvfb :10 -ac & xvfb_pid=$! export DISPLAY=:10…
GitHub
Releases · mozilla/geckodriver
WebDriver for Firefox. Contribute to mozilla/geckodriver development by creating an account on GitHub.
CodeMirror
is a versatile text editor implemented in JavaScript
for the browser. It is specialized for editing code, and comes with a number of language modes and addons that implement more advanced editing functionality.- https://codemirror.net/
We ourselves have used it for json prettifier in our internal tools.
#js #javascript
دادههای خام را به تصمیمهای اثربخش تبدیل کنید
با فرمهای آنلاین تعاملی و ابزارهای تحلیلی قدرتمند، کسبوکار خود را متحول کنید
https://www.porsline.ir/
#porsline #پرسشنامه #فرم #استارتـآپ
با فرمهای آنلاین تعاملی و ابزارهای تحلیلی قدرتمند، کسبوکار خود را متحول کنید
https://www.porsline.ir/
#porsline #پرسشنامه #فرم #استارتـآپ
پرس لاین
پرس لاین: پرسشنامه آنلاین | نظرسنجی اینترنتی | فرم آنلاین - (رایگان شروع کنید)
پرسشنامه آنلاین، آزمون آنلاین و فرم نظرسنجی با فرم ساز پرس لاین، رایگان و سریع، بسازید یا از نمونه پرسشنامه های آماده استفاده کنید و در وقت و هزینه تحقیقات بازار، نظرسنجی مشتری و کارکنان صرفهجویی کنید.
Media is too big
VIEW IN TELEGRAM
#ansible part2 - Ansible requirements
In Django unittests you can use fixtures in order to create dummy data. To create fixtures you can use django dumpdata command to dump a specific data:
This is how you can dump data and use it as your data backend for unittests.
#django #python3 #dumpdata #unittest
python3 manage.py dumpdata --indent 4 YOUR_APP.YOUR_TABLE > output_data.json
This is how you can dump data and use it as your data backend for unittests.
#django #python3 #dumpdata #unittest
Tech C**P
In Django unittests you can use fixtures in order to create dummy data. To create fixtures you can use django dumpdata command to dump a specific data: python3 manage.py dumpdata --indent 4 YOUR_APP.YOUR_TABLE > output_data.json This is how you can dump…
Coderwall
Django dumpdata and loaddata (Example)
A protip by itseranga about django, database, model, and dumpdata.
How to delete a git branch?
https://makandracards.com/makandra/621-git-delete-a-branch-local-or-remote
#git #branch #delete
https://makandracards.com/makandra/621-git-delete-a-branch-local-or-remote
#git #branch #delete
Is there a way to create ObjectID from an INT in
#mongodb #objectid #pymongo #python #bson #int
MongoDB
?import bson
def object_id_from_int(n):
s = str(n)
s = '0' * (24 - len(s)) + s
return bson.ObjectId(s)
def int_from_object_id(obj):
return int(str(obj))
n = 12345
obj = object_id_from_int(n)
n = int_from_object_id(obj)
print(repr(obj)) # ObjectId('000000000000000000012345')
print(n) # 12345
#mongodb #objectid #pymongo #python #bson #int