Skip to content

Instantly share code, notes, and snippets.

View yarapavan's full-sized avatar

Pavan Yara yarapavan

  • Bangalore
View GitHub Profile
BEGIN MESSAGE.
L70woFBuTaP11QN TCWefR6zIXLyrKu b0F45yGOgZwnf1H xAYaasPsv5ql5nR
fnPiGLVpFk7aMgT OgrX2PLSbk7TCKq 6Xr2MZHgg6V7AWU xicGOkb0xyAXXdp
0ICW9AgdWOT5JOs vtQFmPZNuMpkQmU SrTYzeUaKhOJ0Nn Ib3pWjEOHtkA0Iw
gNWLa0fXHUfHdxj JXUpiXKiUk4wLNo 2FTsu29HFxl.
END MESSAGE.
@yarapavan
yarapavan / websites-learning.txt
Created April 17, 2020 08:35
useful websites
*_SOME USEFUL WEBSITES ONLINE EDUCATIONAL SUPPORT_*
www.khanacademy.org
www.academicearths.org
www.coursera.com
www.edx.org
AWS new instance type which are full HVM, utilizes NVMe interface for accessing the EBS volume, instead of paravirtual driver on HVM AMI.
With the following instances, EBS volumes are exposed as NVMe block devices: C5, C5d, i3.metal, M5, and M5d. The device names are /dev/nvme0n1, /dev/nvme1n1, and so on. The device names that you specify in a block device mapping are renamed using NVMe device names (/dev/nvme[0-26]n1).
Please type sudo lsblk to get the device listing e.g. when I have created another volume and attached as /dev/sdb, it is being shown as nvme1n1.
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
nvme0n1 259:1 0 30G 0 disk
nvme0n1p1 259:2 0 1M 0 part
@yarapavan
yarapavan / miui9-debloat.sh
Created June 27, 2018 09:11
miui debloat using adb shell
adb devices
adb shell
# enter shell prompt
pm uninstall -k --user 0 com.google.android.googlequicksearchbox
pm uninstall -k --user 0 com.xiaomi.mipicks
pm uninstall -k --user 0 com.android.browser

Keybase proof

I hereby claim:

  • I am yarapavan on github.
  • I am pavanyara (https://keybase.io/pavanyara) on keybase.
  • I have a public key ASCTtjOIP74_WEXbYs9Qj7KWHkhA5rn54ftx5QOaijLGigo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am yarapavan on github.
  • I am pavanyara (https://keybase.io/pavanyara) on keybase.
  • I have a public key ASCJtRaanIoF534oaamIw7LrYtdrQzG0V2stYtBmOAmZvgo

To claim this, I am signing this object:

@yarapavan
yarapavan / business-models.md
Created May 27, 2016 06:34 — forked from ndarville/business-models.md
Business models based on the compiled list at http://news.ycombinator.com/item?id=4924647. I find the link very hard to browse, so I made a simple version in Markdown instead.

Business Models

Advertising

Models Examples
Display ads Yahoo!
Search ads Google
@yarapavan
yarapavan / 0_reuse_code.js
Created March 26, 2016 07:03
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@yarapavan
yarapavan / awesome-webdev-tools
Created February 13, 2016 17:11
Awesome Web Development Tools and Resources
https://www.keycdn.com/blog/web-development-tools/
@yarapavan
yarapavan / eip-to-asg.sh
Created February 3, 2016 11:48
vpc eip to asg mapping
$ more asg.sh
#!/bin/sh
apt-get update
apt-get -y install python-setuptools python-pip ec2-api-tools
pip install awscli
pip install aws-ec2-assign-elastic-ip
aws-ec2-assign-elastic-ip --region us-west-1 >> /var/log/aws-ec2-assign-elastic-ip.log