Skip to content

Instantly share code, notes, and snippets.

View avsingh999's full-sized avatar
😉
0/0

Avkaran Singh avsingh999

😉
0/0
View GitHub Profile
@prodeveloper
prodeveloper / deploying_simple_api.md
Last active May 21, 2023 06:21
Deploying your RESTful API to heroku

In this session, we are going to mimic a posts api that we worked on in a previous class. Typecode provides the free sample api.

APIs are what enable the backend, frontend and your mobile application to work together. We have also seen how to build basic REST api using Django Rest Framework

To get the post API to work we will need to work on four modules:

@ryantuck
ryantuck / gpg_test.py
Last active April 30, 2024 23:44
working example of using gnupg in python
# install:
# pip3 install python-gnupg
# note - gpg needs to be installed first:
# brew install gpg
# apt install gpg
# you may need to also:
# export GPG_TTY=$(tty)
@avsingh999
avsingh999 / shift_reduce_parser.cpp
Last active March 10, 2019 09:54
Shift Reduce Parser in cpp
#include<iostream>
#include<string.h>
using namespace std;
struct grammer {
char p[20];
char prod[20];
} g[10];
int main()