Skip to content
  • Home
  • Blog posts
  • Memos
  • Dictionary
  • Useful commands
  • About
Twitter LinkedIn GitHub Stack Overflow

frontdeveloper.pl

A developer taking advantage of the best pratices.

Commands

6 May 2020 by Igor Springer on Commands

Copy public SSH keys to clipboard

pbcopy < ~/.ssh/id_rsa.pub

Read more...
 
5 May 2020 by Igor Springer on Commands

Kubernetes: Force recreate a pod

kubectl get pod [POD] -n coral -o yaml | kubectl replace –force -f –

Read more...
 
5 May 2020 by Igor Springer on Commands

Kubernetes: Get deployments with current image version

kubectl get deployments -n [NAMESPACE] -o wide

Read more...
 
5 May 2020 by Igor Springer on Commands

Kubernetes: List pods from all namespaces

kubectl get pods –all-namespaces

Read more...
 
5 May 2020 by Igor Springer on Commands

Kubernetes: List all pods in a namespace

kubectl get pods -n [NAMESPACE]

Read more...
 
5 May 2020 by Igor Springer on Commands

Kubernetes: Display pod’s logs

kubectl logs -n [NAMESPACE] [POD]

Read more...
 
10 April 2020 by Igor Springer on Commands

Setting GitHub token for Bundler (Ruby)

export BUNDLE_GITHUB__COM=x-access-token:[TOKEN]

Read more...
 
10 April 2020 by Igor Springer on Commands

Benchmarking in a loop (Ruby)

loop { puts Benchmark.measure{ Rails.cache.data.keys(‘*’) } }

Read more...
 
10 April 2020 by Igor Springer on Commands

Pushing a tag to GitHub repo

git tag -a v1.0.2 -m “Description” git push origin v1.0.2

Read more...
 
10 April 2020 by Igor Springer on Commands

Removing AWS ElastiCache Redis instance

aws elasticache delete-cache-cluster –cache-cluster-id [INSTANCE_NAME]

Read more...
 
Older Posts →
Page 1 of 2
Subscribe!
Copyright © Igor Springer