Skip to content

Instantly share code, notes, and snippets.

View PradeepSingh1988's full-sized avatar

Pradeep Singh PradeepSingh1988

  • Google
  • India
View GitHub Profile
@PradeepSingh1988
PradeepSingh1988 / How-To_Eclipse_MAT.txt
Created May 18, 2020 14:52 — forked from mahamuniraviraj/How-To_Eclipse_MAT.txt
Analyse Java Application for memory usages using Eclipse Memory Analyzer
# Login to server on which java application is running
# Get Java PID
ps -ef | grep java
# Take Heapdump using commandline tool jmap which ships with jdk
# jmap -dump:format=b,file=<filepath> <pid>
@PradeepSingh1988
PradeepSingh1988 / boto3-list-instances.py
Created August 7, 2018 13:07 — forked from ableasdale/boto3-list-instances.py
Using Boto 3 to list out AWS EC2 instance information
import boto3
from termcolor import colored
ec2 = boto3.resource('ec2')
for i in ec2.instances.all():
print("Id: {0}\tState: {1}\tLaunched: {2}\tRoot Device Name: {3}".format(
colored(i.id, 'cyan'),
colored(i.state['Name'], 'green'),
@PradeepSingh1988
PradeepSingh1988 / README.md
Created January 8, 2018 09:49 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.

For more about AWS and AWS Certifications and updates to this Gist you should follow me @leonardofed


Useful One-Line Scripts for Perl Dec 03 2013 | version 1.10
-------------------------------- ----------- ------------
Compiled by Peteris Krumins ([email protected], @pkrumins on Twitter)
http://www.catonmat.net -- good coders code, great reuse
Latest version of this file is always at:
http://www.catonmat.net/download/perl1line.txt