Skip to content

Instantly share code, notes, and snippets.

View HarshSonawane's full-sized avatar
🎯
Focusing

Harshwardhan Sonawane HarshSonawane

🎯
Focusing
View GitHub Profile
@HarshSonawane
HarshSonawane / gist:20e3cb8291f15b5d8b7b5fa3f47ebe20
Created January 12, 2023 12:57
Working AES Encryption and Decryption in RUBY
data = {
"A99RequestData": {
"RequestId": "PB4343265424",
"source": "PolicyBazaar",
"policyNumber": "",
"GetRecordType": "IND",
"InputIdType": "C",
"InputIdNo": "DCVPM4582S",
"DateOfBirth": "28-03-1992",
"MobileNumber": "",
docker run -e POSTGRES_PASSWORD=password -p 5432:5432 -v ~/docker_vol:/var/lib/postgresql/data -d be17564e6a3a
docker run --name elasticsearch -e "discovery.type=single-node" -p 9200:9200 -p 9300:9300 -v ~/docker_es:/usr/share/elasticsearch/data -d docker.elastic.co/elasticsearch/elasticsearch:8.4.0
docker run --name redis -p 6379:6379 -d redis
docker run --name postgresql -e POSTGRES_USER=api_v2 -e POSTGRES_PASSWORD=password -p 5432:5432 -v /Volumes:/var/lib/postgresql/data -d postgres