Skip to content

Instantly share code, notes, and snippets.

Avatar
👋
Running After Year End Goals

Rishabh Agrawal LabN36

👋
Running After Year End Goals
View GitHub Profile
View List Template
{
"recipient":{
"id":"938355996293359"
}, "message": {
"attachment": {
"type": "template",
"payload": {
"template_type": "list",
View gist:858f9fad9339229bf766b153a3a9333b
npm intall command was not working to i try to open cmd as an Admin then it runs successfully
View gist:1c2c236e06fde7213856071f5b94c774
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 Apr 19, 2017
OAuth Doubts
View oauth.md

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 Apr 28, 2017 — forked from ajfisher/0x00000.bin
ESP8266 Transparent bridge to J5
@LabN36
LabN36 / ESP8266-12 nokia 5510
Created Apr 29, 2017 — forked from diekaines/ESP8266-12 nokia 5510
ESP8266-12 LCD nokia 5510
View ESP8266-12 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 Sep 28, 2017
LETS ENCRYPT BASICS
View letsencrypt
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