Skip to content

Instantly share code, notes, and snippets.

View krishnamurthydasari's full-sized avatar

Krishna Murthy Dasari krishnamurthydasari

View GitHub Profile
@krishnamurthydasari
krishnamurthydasari / Creating Python deployment package for Amazon Lambda
Last active January 29, 2019 14:36
Create Deployment Package Using Python Environment Created with Virtualenv
Below are the steps to Create Deployment Package Using a Python Environment Created with Virtualenv. Below are the 2 examples for pymysql and boto2 modules.
pymysql:
1. Create a directory
2. Create virtual environment
#virtualenv test
3. #cd test
@krishnamurthydasari
krishnamurthydasari / Git Notes
Last active March 28, 2024 12:20
Git Notes
Creating new repository:
========================
Create a new repository on GitHub by selecting initialize this repository with README.
Clone repository using below commands,
git clone https://github.com/krishnamurthydasari/TestProject.git
touch NewFile.txt
git add NewFile.txt
git status
@krishnamurthydasari
krishnamurthydasari / BackupToS3.ps1
Last active January 4, 2018 13:12
Power shell script to copy folders from windows to s3 bucket and then delete from local directory
# ---------------------------------------------------------------------------
# | File : BackuptoS3.ps1
# | Version : 1.0
# | Purpose : Backs up folders on Windows to s3 bucket using power shell
# | Usage : .\BackuptoS3_Snapshots.ps1
# ----------------------------------------------------------------------------
#s3 bucket name
$bucket = "s3BucketName"