Skip to content

Instantly share code, notes, and snippets.

Avatar
🔍
Open-sourcing a Kubernetes Go project

Tremaine Eto tremaineeto

🔍
Open-sourcing a Kubernetes Go project
View GitHub Profile
View pip error cannot import name md5
Traceback (most recent call last):
File "/usr/local/bin/pip", line 11, in <module>
load_entry_point('pip==19.1.1', 'console_scripts', 'pip')()
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point
return ep.load()
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434, in load
return self.resolve()
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440, in resolve
View no boto.sts module
ImportError: No module named boto.sts
View kubectl-get-deploy
kubectl get deploy -n my-namespace
View kubectl-get-deployments
kubectl get deployments -n my-namespace
@tremaineeto
tremaineeto / unalias_bash_alias
Created Jul 30, 2020
Remove a Bash alias for a current terminal session
View unalias_bash_alias
$ unalias enter_ip
@tremaineeto
tremaineeto / bash_profile_source
Created Jul 30, 2020
Make your bash profile apply to your current terminal session
View bash_profile_source
$ source ~/.bash_profile
@tremaineeto
tremaineeto / bash_profile
Created Jul 30, 2020
Example of Bash profile alias
View bash_profile
# SSH into my frequently visited IP
alias enter_ip="ssh -p 8080 10.82.16.435"
@tremaineeto
tremaineeto / examples_text_editors_bash_aliases
Created Jul 30, 2020
Examples of commands to open up your Bash alias files
View examples_text_editors_bash_aliases
$ nano ~/.bash_profile
$ vim ~/.bashrc
$ emacs ~/.bash_profile
You can’t perform that action at this time.