Skip to content

Instantly share code, notes, and snippets.

View LabN36's full-sized avatar
👋

Rishabh Agrawal LabN36

👋
View GitHub Profile
{
"recipient":{
"id":"938355996293359"
}, "message": {
"attachment": {
"type": "template",
"payload": {
"template_type": "list",
npm intall command was not working to i try to open cmd as an Admin then it runs successfully
tags
branches
release
forn
timeline
trunk
clonning
collaboration
staging area(allow git to start tracking those files)
commit(taking a snapshot)
@LabN36
LabN36 / oauth.md
Created April 19, 2017 11:16
OAuth Doubts

as we know Oauth2 authorize(not authenticate) an end user's account(resource owner) to be used by third-party services

generally there are 2 types access_token generating scheme

  1. authorization_code grant
  2. implicit grant flow

this flow allow other applications to use my user's resource.

steps

  1. generally this application redirect to my server like login.myapp.com for login
@LabN36
LabN36 / 0x00000.bin
Created April 28, 2017 13:20 — forked from ajfisher/0x00000.bin
ESP8266 Transparent bridge to J5
@LabN36
LabN36 / ESP8266-12 nokia 5510
Created April 29, 2017 15:25 — forked from diekaines/ESP8266-12 nokia 5510
ESP8266-12 LCD nokia 5510
/*
* SCHEMATIC http://i.imgur.com/plwZbFa.png
*
* Connecting ESP8266 (ESP-12) and Nokia 5110 LCD
* www.KendrickTabi.com
* http://www.kendricktabi.com/2015/08/esp8266-and-nokia-5110-lcd.html
*/
#include <ESP8266WiFi.h>
#include <ArduinoJson.h>
@LabN36
LabN36 / letsencrypt
Created September 28, 2017 19:01
LETS ENCRYPT BASICS
Q: what you need to do for https ?
A: you need to get a certificate from CA(let's Encrypt is a CA)
Q: How to get a Certificate ?
A: in order to get a certificate for your website's
domain from let's encrypt you have to demonstrate control
over the domain.
with let's encrypt you need a software that uses
ACME protocol which runs on your web host