https://realpython.com/blog/python/asynchronous-tasks-with-django-and-celery/
$ pip install celery
$ sudo apt-get install rabbitmq-server
| #s3_setup | |
| STATIC_URL = '/static/' | |
| if LOCAL: | |
| STATICFILES_DIRS = [ | |
| os.path.join(BASE_DIR, 'static_local'), | |
| ] | |
| else: | |
| AWS_ACCESS_KEY_ID = config('AWS_ACCESS_KEY_ID') | |
| AWS_SECRET_ACCESS_KEY = config('AWS_SECRET_ACCESS_KEY') | |
| AWS_STORAGE_BUCKET_NAME = 'bd-mart' | 
| { | |
| "Version":"2012-10-17", | |
| "Statement":[ | |
| { | |
| "Sid":"PublicRead", | |
| "Effect":"Allow", | |
| "Principal": "*", | |
| "Action":["s3:GetObject","s3:GetObjectVersion"], | |
| "Resource":["arn:aws:s3:::YOUR_BUCKET_NAME_GOES_HERE/*"] | |
| } | 
https://realpython.com/blog/python/asynchronous-tasks-with-django-and-celery/
$ pip install celery
$ sudo apt-get install rabbitmq-server
I hereby claim:
To claim this, I am signing this object:
| /* Nasim */ | |
| #include<iostream> | |
| #define re(n) for(int i=0;i<n;i++) | |
| using namespace std; | |
| int Bs(int arr[],int l,int r,int x) | |
| { | |
| int mid; | 
| /* | |
| @author Nasimuzzaman Nasim | |
| */ | |
| import javax.swing.JOptionPane; | |
| import java.text.DecimalFormat; | |
| public class Main | |
| { | |
| public static void main(String args[]) | 
| First open up Terminal and run the following commands serially- | |
| 1. wget 'https://github.com/ugcoder/avro/releases/download/v2.0/avro_2.0-1_all.deb' | |
| 2. sudo dpkg -i avro_2.0-1_all.deb | |
| now if you see any dependency error, then also run the third command | |
| 3. sudo apt-get install -fy | |
| Avro should be installed on your system by now. Now go to Settings - Language Support and check whether ibus is selected as the default input method. Now from Terminal restart ibus by typing ibus restart. | |
| Now again go to Settings - Keyboard - Text Entry and add Avro as the input source. | 
| First open up Terminal and run the following commands serially- | |
| 1. wget 'https://github.com/ugcoder/avro/releases/download/v2.0/avro_2.0-1_all.deb' | |
| 2. sudo dpkg -i avro_2.0-1_all.deb | |
| now if you see any dependency error, then also run the third command | |
| 3. sudo apt-get install -fy | |
| Avro should be installed on your system by now. Now go to Settings - Language Support and check whether ibus is selected as the default input method. Now from Terminal restart ibus by typing ibus restart. | |
| Now again go to Settings - Keyboard - Text Entry and add Avro as the input source. | 
| /* Nasim */ | |
| #include<iostream> | |
| using namespace std; | |
| class Queue | |
| { | |
| public: | |
| int data; | |
| Queue *next; | 
| /* Nasim */ | |
| #include<iostream> | |
| using namespace std; | |
| int arr[10]; | |
| int Front = -1,Tail = -1 ,numOfElements = 0; | |
| bool isEmpty() | |
| { |