Skip to content

Instantly share code, notes, and snippets.

View Anjireddy4246's full-sized avatar

Anji... Anjireddy4246

View GitHub Profile
@Anjireddy4246
Anjireddy4246 / lambda-restAPI.js
Last active September 30, 2019 15:19
Retrieves the data from external API in AWS Lambda
var https = require('https');
const loadData = () => {
return new Promise((resolve, reject) => {
const options = {
host: '<<your host>>',
path: '<<URLPath>>',
method: 'GET',
headers: {
'use strict';
const https = require('https');
var AWS = require('aws-sdk');
var s3 = new AWS.S3();
var bucketName = 'sessale123';
var simpleParser = require('mailparser').simpleParser;
const doPostMailData = () => {
console.log('Start posting the data');
const data = {
@Anjireddy4246
Anjireddy4246 / NewPasswordUtil.java
Created November 3, 2019 16:05 — forked from pwxcoo/NewPasswordUtil.java
Generate a SALT in Java for Salted-Hash.
package com.pwxcoo.github.utils;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.PBEKeySpec;
import java.security.NoSuchAlgorithmException;
import java.security.SecureRandom;
import java.security.spec.InvalidKeySpecException;
import java.util.Arrays;
import java.util.Base64;
import java.util.Random;
@Anjireddy4246
Anjireddy4246 / Jenkinsfile
Created December 21, 2019 04:11 — forked from merikan/Jenkinsfile
Some Jenkinsfile examples
Some Jenkinsfile examples
@Anjireddy4246
Anjireddy4246 / CleanArchitecture.md
Created February 4, 2020 03:01 — forked from ygrenzinger/CleanArchitecture.md
Summary of Clean Architecture by Robert C. Martin

Summary of book "Clean Architecture" by Robert C. Martin

Uncle Bob, the well known author of Clean Code, is coming back to us with a new book called Clean Architecture which wants to take a larger view on how to create software.

Even if Clean Code is one of the major book around OOP and code design (mainly by presenting the SOLID principles), I was not totally impressed by the book.

Clean Architecture leaves me with the same feeling, even if it's pushing the development world to do better, has some good stories and present robust principles to build software.

The book is build around 34 chapters organised in chapters.