Skip to content

Instantly share code, notes, and snippets.

View aditi5's full-sized avatar

Aditi Mishra aditi5

View GitHub Profile
@aditi5
aditi5 / Production Deployment Checklist
Last active September 5, 2019 07:56
Production Checklist
+ Creation of IAM Role for Echo Lambda
+ Creation of Echo-client-config-lambda and Echo-SNS-Adapter-Lambda
+ Provide access of kinesis to the role that above two lamdba possess
+ Provide access of S3 bucket 'capture-sms-details-hq' to the lambdas
+ Setup Alarms
+ Ready Documentation
@aditi5
aditi5 / UMS.md
Last active March 31, 2020 22:05
UMS Integration Initial Checklist

User Roles Permission Rule

@aditi5
aditi5 / Mac commands.md
Last active February 9, 2021 15:23
Ubuntu Notes
  • Q. How to find whats running on a port number ?
    • lsof -i tcp:3000
@aditi5
aditi5 / utest.md
Last active September 5, 2019 07:56
Unit Tests unittests lib

Always write unit test cases in a file which starts with test_something.py

To run a test write on terminal

python -m unittest test_something.py

in class test_something.py define a class and inherit from unittest.TestCase class ClassName(object): """docstring for ClassName""" def init(self, arg): super(ClassName, self).init()

@aditi5
aditi5 / 12 October 2019.md
Last active November 12, 2019 09:49
todo
  • Figure out SMS migration structure
  • Crud for echo template .
  • Review Sudhanshu's PR
  • Permission Classes Editing
  • Authentication Classes Editing
  • Go through Center Mapper code.
@aditi5
aditi5 / OAuth.md
Last active September 7, 2019 10:26
Key Notes

What heppens when Johns logins in Cacher with github account:

  • John thinks that cacher fetches his creds from his github account
@aditi5
aditi5 / Doc.md
Last active October 7, 2019 11:40
Authorization Auth0_JWT
  1. Overview
  2. Flow
  3. Bottleneck 1.a Authentication Classes 1.b Permission Classes 1.c Template User MIgration Group and Roles Permissions ALB private channel. Set SID in and check
@aditi5
aditi5 / Echo.md
Last active April 4, 2020 16:15
HQ issues

Filter : "1279110101474" "'action_type': 'scan'" "'ss': 'In Transit'" "'nsl': 'X-PROM'"

Template RBL:

{ "adapters": [ { "adapter_alive": true, "adapter_config": {

_

@aditi5
aditi5 / Athena.md
Last active November 12, 2019 06:59

Partition: If our bucket structure is like:

├── S3bucket │ ├── 2018 │ │ ├── 01 │ │ │ ├── 30 │ │ │ │ ├── 22 │ │ │ │ │ ├── file_name