Coder Social home page Coder Social logo

dennisseidel.github.io's People

Contributors

dennisseidel avatar

Watchers

 avatar

dennisseidel.github.io's Issues

feat: find the domain for git knowledge in the notbook

Basics? Developer Environement? -> Foundational Skills?

Git Knowledge

git rebase -i HEAD~2

Or if they are the last two:

https://stackoverflow.com/a/24690646/1929968

git reset --soft "HEAD^"
git commit --amend
git push -f

Use git stash to switch change between branches - https://www.youtube.com/watch?v=KLEDKgMmbBI

# stash current state
git stash save "Worked on get identities/{identityId}"
# apply current stage (e.g. in other branch) but keep stash
git stash add
# apply current state and delete stash
git stash pop

feat: add local kubernetes & istio setup (when the jx stack is ready!)

Local Kubernetes/Istio Setup with Mincube

  • Check the Istio Prerequisits
  • Create a cicd machine preparation file & local setup (machine-setup.sh)
  • Prepare the Machine Setup (create a local secret folder include all the infos required)

To run locally export export KUBE_ENV=local and execute the ./machine-setup.sh

Access distributed tracing

https://istio.io/docs/tasks/telemetry/distributed-tracing/

kubectl port-forward -n istio-system $(kubectl get pod -n istio-system -l app=jaeger -o jsonpath='{.items[0].metadata.name}') 16686:16686 &
Open http://localhost:16686

Important Commands

Delete the minkube cluster with minikube delete
helm del --purge istio delete isto from cluster
kubectl get deployments [pods ...] get the list of deployments
kubectl delete deployment echo-v1 delete something
kubectl get srv -n istio-system get the services in the istio namespace
kubectl describe pod echo-v1 (always use tab for complete) status of the cluster and events
kubectl logs pod echo-v1 get the strout logs of the pod
minishift logs the minishift logs
kubectl exec -it proposals-fccd8f5ff-jzrrx sh to access the od
kubectl exec proposals-v1-fccd8f5ff-75wbt -- nc -w 3 -v httpbin.org 80 run directly a command in the container

Get a local dns

Open the local hosts file with sudo vim /etc/hosts and add your minikube ip address to the domains you want e.g.

192.168.64.12  open.d10l.de
192.168.64.12  api.d10l.de

You have to update this entries with every start and when you want to connect to this domain on the internet you have to comment those entries out or remove them.

feat: create automated script for development-environment setup

#Install Prerequesits Package Manger Homebrew and CLI Tools:
xcode-select --install
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

#Install Runtime for Javascript and Python:
brew install node python3

#Install Python and Javascript packages / Dependencies:
pip3 install virtualenv

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.