Skip to content

Instantly share code, notes, and snippets.

View reddysainathn's full-sized avatar
🍊
Developing....

Sainath reddysainathn

🍊
Developing....
View GitHub Profile
---
EC2 - Elastic Compute Cloud.
---
Putty Download -- https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
### Commands
sudo su
yum update -y
This is how I handle this case:
On the machine where I have access to Internet:
mkdir keystone-deps
pip download python-keystoneclient -d "/home/aviuser/keystone-deps"
tar cvfz keystone-deps.tgz keystone-deps
Then move the tar file to the destination machine that does not have Internet access and perform the following:
tar xvfz keystone-deps.tgz
@reddysainathn
reddysainathn / kubectl.md
Created April 8, 2020 20:40 — forked from so0k/kubectl.md
Playing with kubectl output

Kubectl output options

Let's look at some basic kubectl output options.

Our intention is to list nodes (with their AWS InstanceId) and Pods (sorted by node).

We can start with:

kubectl get no
anecdotes -- a short amusing or interesting story about a real incident or person.
https://ocw.mit.edu/courses/sloan-school-of-management/15-s12-blockchain-and-money-fall-2018/#
https://www.youtube.com/playlist?list=PLUl4u3cNGP63UUkfL0onkxF6MYgVa04Fn
https://www.youtube.com/watch?v=rhzKDrUiJVk
https://regexr.com/
Example :-
The fat cat ran down the street.
It was searching for a mouse to eat.
/ --> Regex Starts with `/` in most of programming languages
@reddysainathn
reddysainathn / PowerShell-profile.ps1
Created December 4, 2019 16:00 — forked from PierreMage/PowerShell-profile.ps1
Make your Windows command line better with doskey
# http://technet.microsoft.com/en-us/library/ee692685.aspx
# F7 = history
# Alt+F7 = history -c
# F8 = Ctrl+R
Set-Location C:
# Easier navigation
Set-Alias o start
function oo {start .}

1. Clone your fork:

git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream