dennisseidel.github.io's People
dennisseidel.github.io's Issues
feat: find the domain for git knowledge in the notbook
Basics? Developer Environement? -> Foundational Skills?
Git Knowledge
- Git Styleguide
- Create new branches
- Use branches and if needed squash all commits related to a single issue into one commit
- Merge multiple commits:
- Modify the last two commits:
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: Add visual studio code to my fork of mac-setup
feat: migrate to my fork of the mac-setup in development-environment.md
[ ] deploy the fork to github (look to the Makefile)
[ ] update the links in docs/development-environment/development-environment.md
feat: add github cli
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.